Log inSign up
Sunny Bains @TiDB
4,662 posts
user avatar
Sunny Bains @TiDB
@sunbains
swe@PingCAP - The company behind TiDB. Oracle/MySQL/InnoDB team lead in a past life
California, USA
wp.bains.org
Joined April 2012
260
Following
5,280
Followers
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 28, 2025
    DeepSeek doesn’t seem like a side project by some quants. Writing a correct distributed file system alone is a multi year project. Quite interesting.
    GitHub - deepseek-ai/3FS: A high-performance distributed file system designed to address the...
    From github.com
    269K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Oct 22, 2025
    I don't understand the fascination with Docker, I've removed all Docker from my homelab and switched to VMs. Life is so much easier. Just login and do what I want.
    45K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Mar 12, 2025
    Key takeaway from Prof. Ousterhout’s talk yesterday, gRPC performance is underwhelming, adds too much of unnecessary processing overhead over an already bad situation due to TCP design short comings. From memory, someone correct me if I’m wrong, the proposed protocol to replace
    39K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Oct 8, 2025
    Postgres to TiDB talk by Atlassian. Postgres just doesn’t cut it where scale matters 🙂
    38K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Sep 23, 2025
    I think this is a great resource (book), it covers the more modern Linux kernels. Available as a PDF too. He also has YT videos accompanying the book. Operating Systems: A Linux Kernel-Oriented Approach - Smruti R. Sarangi cse.iitd.ac.in/~srsarangi/osb…
    24K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Oct 29, 2025
    Such a cool project.
    GitHub - facebookexperimental/reverie: An ergonomic and safe syscall interception framework for...
    From github.com
    25K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Dec 13, 2024
    When writing multi-threaded programs remember to test it on HW with multiple sockets. Performance drop due to shared state across sockets is quite depressing to watch. Modern CPUs have made it even more interesting with all kinds of Ln cache sharing combinations. I’ve seen
    24K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 28, 2025
    I was browsing the code and docs, they have three (four) external dependencies. - FoundationDB (FS metadata) - Clickhouse - RocksDB (FS chunk server) - Zookeeper or etcd Not 100% sure but the chunk server idea seems like it’s inspired by PolarFS.
    user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 28, 2025
    DeepSeek doesn’t seem like a side project by some quants. Writing a correct distributed file system alone is a multi year project. Quite interesting. github.com/deepseek-ai/3FS
    16K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 23, 2025
    Nice read. Data, Consensus, Execution: Three Scalability Bottlenecks for State Machine Replication
    decentralizedthoughts.github.io
    Data, Consensus, Execution: Three Scalability Bottlenecks for State Machine Replication
    If anyone asks you: how can I scale my State Machine Replication (Blockchain) system? You should answer back with a question: what is your bottleneck? Is it Data, Consensus or Execution? Data:...
    13K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Jan 3, 2024
    Very nice article on a difficult topic. Found it while learning about Quint. Lessons from Writing a Compiler
    borretti.me
    Lessons from Writing a Compiler
    Collected tips from building the Austral compiler.
    14K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Nov 5, 2024
    This was the book that introduced me to memory hierarchies and the importance of cache locality. I had bought it on a whim because it looked “advanced” 🙂. Analysis of Cache Performance for Operating Systems and Multiprogramming - Anant Agarwal
    13K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 12, 2025
    I'm in awe of people who do this type of research, I wouldn't even know where to start.
    Apple’s M-series CPUs just got hacked.
    From zach.be
    7.6K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Nov 28, 2024
    Shutting down a multi-threaded program gracefully, releasing all resources, ensuring the the final state is clean, is a project in itself.
    7K
  • user avatar
    Sunny Bains @TiDB
    @sunbains
    Feb 10, 2024
    Replying to @iamatradernoob and @jorandirkgreef
    I was paid to work on databases and that’s how I learnt my chops. I have a habit of buying books that i find interesting while browsing in bookstores. 20-25 years ago there were lots of them. I had bought the G&R book a few years before I landed a job to write a storage engine
    13K

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up