In this diagram of a database sharded using consistent hashing, the database is represented by a large rectangle. It contains small squares representing individual documents from A to G with an ellipses indicating continuation. Below this are 4 smaller rectangles, representing a q value of 4. Each smaller rectangle contains two documents, and the row is not alphabetical.
#Sharding is (another) thing that makes @couchdb.bsky.social such a scalable distributed database 📐
Few DBs make it automatic & transparent as CouchDB.
We cover:
- what shards are
- how #CouchDB uses them
- performance gains and trade-offs
in our new post:
neighbourhood.ie/blog/2025/10...