185 points · by stefanwild · 12y ago · 60 comments
That being said, I believe it is using a vector clock, but I'm not sure.
Netflix probably saw an opportunity to built the Dynamo layer on top of what Twitter had already written, and decided to just keep building on in C instead of rewriting a fairly large codebase.
And that's the magic.
To boot, they do it at enormous scale on a multitude of platforms all while their own destructive code (Chaos Monkey) runs around destroying servers.
It's true, some things like "stream me this" are maybe not rocket science, but at Netflix scale, everything becomes a bit more difficult.
Their requirements are 100% availability, and an API's that never breaks, but consistency rarely matters.
The engineering effort is cool, but it is solving a problem that I don't have. The only thing that matters to netflix is they list the catalog somewhat correctly, and always deliver a stream.
I have a different problem, thus I am uninterested in their magic. If I had a similar problem or they signed my paycheck, I'd care.
What may seem fairly low value from the outside or consumer perspective is likely of huge value internally to ensure you can always watch Netflix without even thinking about everything that has to happen to deliver as much video as they do to their customer's browsers.
What exactly is trivial about building a complicated multisource streaming video service with sophisticated recommendations (plus all the other "little" stuff like payments)?
Google is "trivial." It's just a box for doing text search on a graph database. Apple is "trivial." They just make pretty skins for commodity hardware & software. Etc.
When you consider 99% of everything in your field trivial, maybe you should consider refining your definition of trivial.
And if we're being honest, the Netflix app layer is kind of terrible. I could enumerate the problems, discoverability being king, but it is not the compelling part of the service.
Meanwhile, app level features like restricting certain types of content isn't available. I want to be able to delete crap from the Netflix catalog when my kids log in.. I don't care about nudity, language, etc. but more about just how dumb some of the cartoons are.
Also, I noticed comments about an architecture document here: https://github.com/Netflix/dynomite
Anyone know where the doc they are referencing is located?
However, since it is open source, contributions are welcome! :)
However, you can imagine different use cases for each of these stores and you can potentially increase operational efficiency by having a common layer which handles the distribution of data for each store.
DC := AWS region
Rack := AWS AZ
That should tell you that they need multi-region availability, something that DynamoDB will likely never provide.
https://github.com/Netflix/dynomite/blob/master/src/dyn_dnod...