Sunny Bains @TiDB
@sunbains
swe@PingCAP - The company behind TiDB. Oracle/MySQL/InnoDB team lead in a past life
I think this is a false equivalence. A transaction doesn’t necessarily map 1:1 to a thread, a transaction can have a 1:N mapping to threads for query execution, commit and rollback. You can think of the locks and latches as shared state that the different threads executing the…
Threads (running concurrently) communicate either via shared memory or message passing. By analogy, database transactions communicate through shared state (depending on the isolation level). Are there databases or use cases where transactions communicate via message passing…
I'm not a big fan of too many tuning knobs in software, this is a case where an obscure RocksDB parameter was used to improve performance 100x for some use cases. pingcap.com/blog/tikv-writ…
It doesn’t matter if your database is lightning-fast—if your gRPC client is the bottleneck, everything slows down. In this post, we share a real case from YDB: how gRPC turned out to be surprisingly slow even in low-latency networks. Fortunately, there’s a fix.…
Relational is a feature of a DMS. I think data alone is sufficient instead of “database”.
JSON in a relational database is not only acceptable, but often encouraged
Cursor (I'm guessing the others too) generates a lot of duplicate code, copy and paste on steroids. For a large project this can cause lots of problems later, even if it kinda works.
If you are not solving write scalability, reducing operational complexity in databases these days then you are mostly competing with SQLite.
To South Bay folks: South Bay Systems is currently limited by finding venues willing to host. If you know of somewhere that can host 60+ people and is happy getting a few minutes for a quick "here's who we are, what we do, and who to talk to for hiring", please let me know!
The new TiDB manga comic book 🙂. “I received it ✌️ - Learn NewSQL by building, breaking, and fixing with Wakaba-chan (Sign ✍️ on the left, stand on the right)”
いただきました✌️- わかばちゃんとつくって、壊して、直して学ぶ NewSQL入門 (左にサイン✍️、右にスタンド) #devsumi
Looks interesting. “Rex is a safe and usable kernel extension framework that allows loading and executing Rust kernel extension programs in the place of eBPF” github.com/rex-rs/rex
It's time to scale smarter! Join us at #TiDBSCaiLE2025—the event for distributed SQL, GenAI-ready data, & cloud-native scale. 🗓️ Oct 7–8 | Mountain View, CA ✨ Expert talks 🚀 Product launches 🛠️ Hands-on labs 🎟️ Register Now: hubs.ly/Q03wt_Y70
Interesting variation, wonder how if it will work well on write heavy and NUMA architectures? Seems to be optimized for low contention and read heavy loads.
Vol:18 No:6 → FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update vldb.org/pvldb/vol18/p1…