Earlier quoted context omitted.
I have started working on this actually (the vfs being developed in Rust). The design was complex but now this simplifies a lot. The vfs will also have snapshotting capabilities i.e. you can have multiple versions of sqlite db.
How are you handling latency (up to 800ms on S3) or the fact that you have to write the whole file each time?
S3 Strong Consistency
171–180 of 240 posts
Re: S3 Strong Consistency
#172Earlier quoted context omitted.
11 nines of reliability. I don't know anything else promising that (unclear if they actually reach it)
11 nines of _durability_. Uptime SLA for s3 is 99.9% AFAICR
Re: S3 Strong Consistency
#173Re: S3 Strong Consistency
#174“After a successful write of a new object or an overwrite of an existing object, any subsequent read request immediately receives the latest version of the object.” - being able to issue a read after a write has been the case in any system ever. AWS solving a fabricated issue, and the crowd cheering it as progress. Have to love herd mentality.
if you've ever worked on distributed storage you'll know that this isn't fabricated. it just takes effort to fix it. and S3 is pretty much the oldest distributed store in existence, lots of tech debt to overcome.
Re: S3 Strong Consistency
#175“After a successful write of a new object or an overwrite of an existing object, any subsequent read request immediately receives the latest version of the object.” - being able to issue a read after a write has been the case in any system ever. AWS solving a fabricated issue, and the crowd cheering it as progress. Have to love herd mentality.
Previously, update-then-read was not guaranteed to be consistent. Now it is consistent.
Re: S3 Strong Consistency
#176Earlier quoted context omitted.
How are you handling latency (up to 800ms on S3) or the fact that you have to write the whole file each time?
Obviously, a sane implementation would divide db file into blocks and write them into separate objects. Not as small as traditional FS blocks, 1-4 Mb, perhaps.
Re: S3 Strong Consistency
#177The more I learn about S3 the more I feel the same awe I feel when looking at the Pyramids or Ankor Wat. > You can send 3,500 PUT/COPY/POST/DELETE or 5,500 GET/HEAD requests per second per prefix in an S3 bucket.
11 nines of reliability. I don't know anything else promising that (unclear if they actually reach it)
https://www.slideshare.net/AmazonWebServices/under-the-hood-...
Re: S3 Strong Consistency
#178If someone is wondering why this is huge. It's because of the problems you face, when you don't have strong consistency. See this picture to get an understanding of what kind of problems you might run into with eventual consistency: https://i.ibb.co/DtxrRH3/eventual-consistency.png
Re: S3 Strong Consistency
#179Earlier quoted context omitted.
That's analytics data, not file storage. If they have 34PB of analytics, they certainly have far more than that of blob storage.
Definitely much more of user data storage. More about that https://dropbox.tech/infrastructure/inside-the-magic-pocket . Happy to take other questions.
Or is your compute so bursty that it's more beneficial to be in the cloud on EC2 than to host on prem compute in front of Magic Pocket?
Re: S3 Strong Consistency
#180If someone is wondering why this is huge. It's because of the problems you face, when you don't have strong consistency. See this picture to get an understanding of what kind of problems you might run into with eventual consistency: https://i.ibb.co/DtxrRH3/eventual-consistency.png
I shall print this..