105 points · by Brysonbw · 1y ago · 74 comments
JDBC is not a protocol, JDBC is an API, hence the need for a different JDBC driver per RDBMS. I doubt the author is a developer, I see this misunderstanding often with architects who don’t code.
And no dup tag, flags?
> stateless services hosted in Kubernetes®
> using the JDBC™ protocol
> Percona™
> Cadence™
> Docker®
> Oracle InnoDB® engine within the mysqld process. We can configure this to use other MySQL engines like Meta RocksDB™.
Trademarks that obnoxious are off putting. The audience must not be engineers.
puts aluminum foil hat back on
Uber offshored some parts of their engineering so all the new-ish blogs fit the stereotypes. Lazy written, LLM generated, by their offshore indian folks.
Make of that what you want.
(Especially hilarious given it's Uber, which obviously could never have engineers doing anything morally dubious ever /s)
I was hoping to find some reason for Uber to use MySQL over the other popular FLOSS RDBMS (i.e.: Postgres).
For Facebook I more/less know what are their reasons. I was hoping to learn about Uber's reasons, but the article was was not going that deep.
Largely truth, some small mistakes. Generally friends don't let friends use Mysql but at scale all the hacks and workarounds actually work.
What drives this sentiment?
People say 'Facebook uses Mysql', but if a page fails, you just refresh. Most of the time the page is different so if everything is broken in the back end no one cares. Same with ad tracking (I have written code to check impressions via second sources).
If I refresh my bank balance I want to see the same. That's why they use Posgtges (yes the bank I worked on), or some commercial thing like SQLServer or Oracle, where integritry is more highly important.
A quick search hints me that there is still more ultra-large MySQL setups than there are PostgreSQL. By a large margin it seems.
Between easier upgrades/HA, thread connection model, Vitess and engines like MyRocks, it's hard to beat for many use cases.
MySQL is fine, boring tech that powers a great many companies. There's nothing wrong with choosing it for a new venture, but there's also nothing wrong with another choice. Which RDBMS you use won't be the deciding factor in your success these days.
Unless you need the kind of sophisticated extensions Postgres supports MySQL is likely to be a good fit. The query planner is straightforward, performance tuning slightly more predictable and easy compared to Postgres.
Solutions like this also exist for PG, any insight into why vitess is better?
https://www.percona.com/blog/orchestrator-for-managing-mysql...
Please do some additional research into the state of maintenance of that piece of tech before jumping on it. But it certainly did a lot of powerful things for us back in the day. The automatic promotion of followers was key to our deployment.
Well kinda. Galera looks like it's an amazing solution, and it can be for careful operators who read the docs, learn the new procedures and ensure that they're running workloads that fit well. It can eliminate the usual HA / replication / failover stuff. But it has the ability to act like a foot-machinegun.
Outside kubernetes where you don't have an kubernetes operator that can run the database cluster, spin up nodes and pods, manage volumes etc it's difficult to imagine how you might automate that infrastructure in addition to managing the database cluster, without building a lot of it yourself.
Make sure you up ulimit and systemd LimitNOFILE in the MySQL service config. Read docs closely, preferably bring on someone who's spent some time making mistakes in this area to help out, test diligently before putting into production, including load tests.
This is written like unintentional comedy! I'm glad their nodes are so... numerous.
Please enjoy each one equally.