by ThinkBeat · 2y ago · 0 comments
You can then either write a new database that fits the use case, or take a hard look at the use case and change it to fit existing database systems.
Now as a programmer I LOVE the idea of writing a database or an operating system, it would be super leet.
When writing a new database system, you will make a lot of mistakes and a lot of bugs that you will no doubt encounter at inconvenient times after a lot of debugging and profiling.
This is built on top of MySQL which has been battle tested (still not where I would put any critical data) Technically that you're not writing the engine but with so much functionality in two layers above MySQL you are in essence building an engine for the engine.
The 6m in savings does not properly account for things like ramping up new hires on some custom database, maintenance (what happens in 5 years when whatever language you wrote it in needs to be upgraded to a new version, or some dependency), and a host of other things.
Yes the cloud is expensive, but the entire point of it is that you are offloading all of that underlying maintenance/feature work to a team that only does that all day every day and is very good at it.
This seems to be an in-house DynamoDB (sharded MySQL with Raft) which has been developed a long time ago, see: https://www.uber.com/en-US/blog/schemaless-sql-database/
But maybe I'm totally wrong here because they also use or used Google Spanner: https://www.uber.com/en-US/blog/building-ubers-fulfillment-p...
The implicit assumption of "not invented here syndrome" is that it has been invented elsewhere already, which isn't always true.
this provdies room for doing real customization without having to build all the things from ground zero, and is likely to be more robust than trying to attach functionality fully on the outside like was done here.
in the database world it would be really nice to implement caching and sharding extensions inside the transactional envelope
I think the issue is their engineering culture. They have always had far too many engineers. They are clearly over complicating a such a simple product.