TL;DR: Zerodha just open-sourced Blobasaur, a sharded blob server written in Rust. It speaks the Redis Cluster protocol and stuffs everything into SQLite (yes, really). It serves chart layouts for about 20 million users at around 2 ms p99 on three small nodes. In this post I poke around how it works, meet the ~35-person team behind it, and then fall down the rabbit hole of side projects from the team and their CTO, Kailash Nadh.
🦖 A dinosaur that speaks Redis
On 19 November 2026, the Zerodha Tech blog dropped a post called "Distributed, high-performance blob storage on SQLite" by engineer Sarat Chandra. It introduced Blobasaur:
- a sharded blob server written in Rust
- it speaks the Redis (Cluster) protocol
- it stores everything in SQLite
- a single binary, licensed AGPLv3
- already in production behind Kite, Zerodha's trading platform
Redis is an in-memory cache. SQLite is an embedded file database. Seeing both in one sentence made me go "wait, what?" But the reasoning turns out to be pretty sensible, and it tells you a lot about how Zerodha builds software.
Blobasaur
Blobasaur is a high-performance, sharded blob storage server written in Rust. It implements the Redis protocol for client compatibility and uses SQLite as the backend for each shard, providing a simple yet robust solution for storing and retrieving binary large objects (blobs).
Table of Contents
- Features
- Installation
- Quick Start
- CLI Usage
- Configuration
- Redis Commands
- Shard Migration
- Vacuum Maintenance
- Shutdown
- Performance Features
- Advanced Topics
- Development
Features
- 🚀 High Performance Sharding: Distributes data across multiple SQLite databases using multi-probe consistent hashing for optimal concurrency and scalability
- 🔄 Shard Migration: Built-in support for migrating data between different shard configurations with data integrity verification
- …
The problem: 20 million people's chart layouts
Every Kite user customises something: chart layouts, indicator templates, drawings, and the multi-pane workspaces of the newer Terminal mode. Zerodha stores these preferences as blobs, mostly JSON, anywhere from a few KB to several MB each, for roughly 20 million customers.
The history of that store is a nice little lesson in trade-offs:
| Store | Why it was dropped |
|---|---|
| CouchDB | Couldn't keep up with the throughput |
| SSDB | Ran reliably for years, but was unmaintained, written in C++ outside their stack, and single-node. Large payloads hurt latency, which forced a 1 MB cap per blob |
So the wishlist looked like this:
- a simple key-value API
- multi-MB blobs at bursty, market-driven throughput
- horizontal scaling
- good compression and low running costs
- relaxed durability, because a lost chart layout is annoying but nowhere near as bad as a lost trade
What they ruled out
They did shop around before building anything:
| Candidate | Verdict |
|---|---|
| ScyllaDB, PostgreSQL | Weak for large blobs |
| YugabyteDB, RocksDB | Not built for multi-MB writes |
| Ceph | Too complex to operate |
| SeaweedFS | Closest fit, but disk growth under overwrites, no per-blob TTL, complex setup |
| S3 / MinIO | Slow and expensive for small objects at this request rate |
| File-per-blob | Would mean rebuilding atomic writes, batching and TTL indexing from scratch |
Nothing fit, so they did the Zerodha thing and built their own.
How Blobasaur works
1. SQLite is the engine
SQLite hands you ACID transactions, crash recovery and decades of tooling for free. They picked Rust over Go to dodge CGo overhead and garbage-collector pressure from large buffers, and so they could ship one static binary.
2. Shards inside each node
SQLite allows only one writer per database file. The workaround is simple: each node splits its data across several SQLite files (shards).
- Keys map to shards using multi-probe consistent hashing.
- Each shard has a dedicated writer fed by a bounded queue that batches pending writes into a single transaction (group commit).
- Reads go through a per-shard pool of read-only connections and run alongside writes.
In a 64 KiB benchmark, going from 1 to 16 shards:
| Shards | HSET throughput | Median write latency |
|---|---|---|
| 1 | ~7,740 ops/s | 8.2 ms |
| 16 | ~25,324 ops/s | 2.1 ms |
3. Redis Cluster on the outside
Blobasaur implements the Redis Cluster protocol, so any cluster-aware Redis client just works. Routing happens at two levels:
key ──CRC16──▶ hash slot (1 of 16,384) ──▶ node │ consistent hash ──▶ SQLite shard on that node If you're more of a pictures person, here's my rough sketch of the same thing:

My sketch of the two-level routing, based on the Zerodha post. Not an official diagram.
Nodes discover each other via gossip. For client code, this means you talk to it the way you'd talk to any Redis cluster:
# any cluster-aware client works; -c enables cluster mode in redis-cli redis-cli -c -p <port> HSET layouts user:42 '{"panes": 4, "theme": "dark"}' redis-cli -c -p <port> HGET layouts user:42 4. Compression and durability
- Blobs are compressed before writing: zstd, lz4, gzip or brotli (production uses zstd).
- Shards run in WAL mode with
synchronous = NORMAL, so a power cut can drop the most recent commits but won't corrupt data. - An optional async-write mode acknowledges writes once they're in memory.
5. Resharding
Consistent hashing means going from 4 to 5 shards moves about 20% of keys, compared with about 80% with modulo hashing. Resharding is an offline CLI step with a verify option.
📊 The numbers in production
This is the part that made me sit up:
- Cluster: 3 nodes, each with 4 vCPUs and 8 GB RAM. That's it.
- Compression: an average ~63.6 KiB HSET payload lands on disk at ~5.5 KiB (~11x). At p99, 935 KiB shrinks to 59.3 KiB (~16x)
- Latency over a full trading session: p99 around 2 ms on every node, p50 between 250 and 550 µs
- Load: thousands to tens of thousands of requests per second, spiking with market volatility

The benchmark and compression numbers from the Zerodha post, charted.
A refreshingly boring migration
No big-bang cutover, no heroics:
- New workloads (Terminal mode) went to Blobasaur first.
- Existing services dual-wrote to both stores while a background job backfilled old keys.
- Reads tried Blobasaur first and fell back to SSDB.
- After a month of dual writes with zero discrepancies, SSDB was switched off.
For client code, the cutover was little more than swapping in a Redis Cluster client. Boring is good.
What they were honest about
The post doesn't pretend Blobasaur is perfect, which is a big part of why it's worth reading:
- Slot assignment is static in config. There's no live rebalancing or automatic failover yet.
- SQLite doesn't give disk space back by itself, so they enabled incremental auto-vacuum and added a
vacuumsubcommand. - Async writes need read-your-writes guarantees. Early versions could return stale data right after a queued delete. That's fixed now with an in-memory pending map that includes tombstones.
- Large TTL cleanups caused latency spikes until deletes were routed through each shard's writer in chunks (1,000 rows by default).
The repo has been moving fast since release, with v0.7.x fixes for exactly these kinds of edge cases.
👥 The team behind it
Blobasaur is classic Zerodha Tech: a small group scratches its own itch and then publishes the result.
And the team really is small:
- Kailash Nadh started the tech team in 2013.
- In 2024 he said it had about 35 members, with only around five hires in four years and just two departures in a decade.
- In 2020 he described how a roughly 30-person team, built over seven years, had built India's largest stockbroker.
- CEO Nithin Kamath has credited Nadh with convincing him that adding people doesn't automatically solve more problems.
The team works out of Zerodha's HQ on 4th Cross, JP Nagar, Bengaluru. Their new project hub is named after that street: 4th Cross Labs (fourthcross.tech), which the Blobasaur post calls the home of the Zerodha.tech "hacker collective." I love that a street address became a brand.
🧰 Other projects from Zerodha Tech
The zerodha.tech/projects page lists 81 projects at last count, and each one was built and used internally first. For a team this size, that's a slightly ridiculous number.

The zerodha.tech projects page. It keeps scrolling for a while.
Here are the ones worth knowing.
Apps
- listmonk: a self-hosted newsletter and mailing list manager, and their best-known project (24k+ ⭐). Go backend, Postgres, one binary
- libredesk: a self-hosted customer support desk in one binary (3k+ ⭐)
- whatomate: an open-source WhatsApp integration (1.7k+ ⭐)
- logchef: a single-binary log analytics UI for ClickHouse
- bureaucat: AI-native project management, pitched as an open alternative to Jira and Linear
- oore.build: self-hosted CI and app distribution for Flutter, written in Rust
- flowctl: a self-service workflow execution platform
- linkpage: a self-hosted alternative to LinkTree
Services
- hedwig: a minimalist, high-performance SMTP server in Rust
- dungbeetle: a distributed job server for heavy async SQL reads on MySQL, Postgres and ClickHouse (1.2k+ ⭐). Think big report queries that you don't want hammering your main databases
- kaf-relay: real-time Kafka topic replication between clusters, with failover
- otpgateway: a standalone OTP and address verification server with pluggable providers
- calert: pipes Prometheus Alertmanager alerts into Google Chat
Libraries and utilities
- koanf: a lightweight Go config library (4k+ ⭐) and a popular alternative to viper
- Tasqueue, fastglue, simples3, stuffbin: small, sharp Go building blocks
- csvtotable: turns a CSV, TSV or Excel file into a searchable HTML page (1.1k+ ⭐)
- hodor: an AI code reviewer for GitHub PRs and GitLab MRs, plus extensions for the pi coding agent (SRE incident mode, a PII privacy filter, web crawling)
- autopilot: a Flutter QA test driver that doesn't need the app's source code
- mvm: a CLI that spins up development microVMs from container images
A few that made me smile
- terraform-provider-kite: manage your Kite stock portfolio with Terraform. Infrastructure as code, but for your investments 😄
- A whole family of Nomad helpers (damon, nomctx, nomadboard, nomad-events-sink), which tells you what they run their workloads on
- A bunch of Flutter plugins (flutter_displaymode, flutter_fgbg, flutter_curl) that look like they fell out of building the Kite mobile app
The trend is easy to spot: more Rust (Blobasaur, hedwig, oore.build) and a growing set of carefully scoped AI tools.
💸 Paying it forward with money as well as code
Shipping code is one thing. Writing cheques is another. In October 2024 Zerodha launched FLOSS/fund, which gives $1 million a year to open-source projects worldwide.
- Year one went out in two tranches: $325,000 to nine projects (including Krita), then a final $675,000.
- Another $1M is planned for 2026.
- Its 2025 Open Source Pledge report also lists $500,000 to the GitHub Secure Open Source Fund and about $100,000 to the FOSS United Foundation, which Zerodha co-founded to grow open source in India.
🛠️ The CTO's side projects: Kailash Nadh's workshop
Kailash Nadh calls himself a hobbyist developer, and his project page backs that up. It's a long scroll. His first big FOSS project, the blogging platform boastMachine, dates back to 2002, and he has been shipping small, opinionated tools ever since. Grab a chai, this section got longer than I planned.
Oat (2026): a ~10 KB UI library
Oat (oat.ink) is a zero-dependency UI library of roughly 10 KB of CSS + JS combined, minified and gzipped.
The main idea is that semantic HTML should look right on its own. Buttons, forms, tables and other standard tags are styled directly, with no classes:
<!-- no utility classes, no framework, just HTML --> <form> <label>Email <input type="email" required></label> <button type="submit">Subscribe</button> </form> <table> <thead><tr><th>Symbol</th><th>LTP</th></tr></thead> <tbody><tr><td>INFY</td><td>1,512.40</td></tr></tbody> </table> The few interactive pieces, such as tabs, dropdowns and toasts, are WebComponents with minimal JS. There's no build step or toolchain: you include two files and start building.

The oat.ink homepage. Everything you see here is styled by about 10 KB of CSS and JS.
Nadh wrote it out of frustration with the bloat, dependency chains and sudden breaking changes common in JS UI libraries (relatable). It was released in January 2026 under MIT, has passed 5,000 ⭐, and reached v1 this autumn (v1.0.1 in late October, v1.1.0 on 1 November).
Oat UI
Semantic, minimal, zero dependencies. ~10KB CSS and JS.
Oat is an ultra-lightweight HTML + CSS, semantic UI component library with zero dependencies. No framework, build, or dev complexity. Just include the tiny CSS and JS files and you are good to go building decent looking web applications with most commonly needed components and elements.
Semantic tags and attributes are styled contextually out of the box without classes, forcing best practices, and reducing markup class pollution. A few dynamic components are WebComponents and use minimal JavaScript.
I wrote this to use in my own projects after getting sick of the ridiculous bloat, dependencies, and rug-pulls in Javascript UI/component libraries.
See live demo and docs at oat.ink

HUML (2025): YAML without the footguns
HUML (huml.io) is a strict, human-readable serialisation language for documents, datasets and config. It looks like YAML but is designed to avoid YAML's ambiguity, especially the way a single accidental indentation change can silently change a document's meaning. If YAML has ever ruined your afternoon, you'll get the appeal. It's still experimental, but community parsers have already appeared in other languages, including OCaml.
dns.toys (2022): a DNS server that does party tricks
This one is my favourite. dns.toys is a DNS server that bends the protocol to hand out small utilities. No app, no website, no API key. You just dig:
dig mumbai.time @dns.toys # what time is it in Mumbai? dig newyork.weather @dns.toys # weather forecast dig 42km-mi.unit @dns.toys # unit conversion dig 100USD-INR.fx @dns.toys # currency conversion dig ip @dns.toys # your public IP dig 987654321.words @dns.toys # numbers to words dig excuse @dns.toys # a random developer excuse There's also pi, base conversion, a dictionary and more. It's written in Go, has around 2.7k ⭐, and exists mostly because it's fun.

dns.toys: every row is a tool you can call with one dig command.
listmonk (2019): the hobby project that got huge
listmonk started as a hobby project to fix Zerodha's own email problems. Today it's one of India's most-starred open-source projects, with 24k+ ⭐. The recipe is very Nadh: a Go backend, Postgres, a Vue dashboard, and the whole thing packed into a single binary you can self-host.
dictpress, Alar and Olam: dictionaries done properly
- dictpress (dict.press) is a single-binary server for building dictionary websites in any language. All the data sits in one SQLite file (spot the pattern?), and search is pluggable, so you can plug in phonetic algorithms and find words by how they sound.
- Alar is the open Kannada–English dictionary built on V. Krishna's four decades of work.
- Olam is his English–Malayalam dictionary from 2010, which his project page says is used by over 2.2 million Malayalam speakers a month.
- Around these sit the Indic language tools: phonetic algorithms for Kannada (knphone) and Malayalam (mlphone), the ml2en transliterator, and the Indic.page directory of Indic computing resources.
dont.build (2022): should you even build that feature?
dont.build is a tiny questionnaire for product people. You rate a feature idea on six things: how many users will use it, what it costs to build, how important those users are, how complex it is to run, how valuable it is, and how much risk it adds. Then it tells you whether to build it. It's opinionated and openly says so, but it's a great way to slow down before saying yes to everything.
funding.json (2023)
An open spec for projects to publish their funding needs as a simple JSON file. It sounds dull until you notice that FLOSS/fund uses it to take applications, which makes it a side project that helps move a million dollars a year.
tg-archive, Niltalk and dirmaker
- tg-archive turns a Telegram group into a static website, like an old-school mailing list archive. It syncs messages into SQLite, then generates pages with media, polls, reply links and an RSS feed (1.2k ⭐). Heads up: he says he no longer actively maintains it.
- Niltalk gives you disposable, password-protected chat rooms from a single Go binary. It can even run as a Tor hidden service.
- dirmaker is a static site generator for directory websites. It's what powers Indic.page.
The tiny-library habit
Scroll his GitHub and you keep hitting libraries that are almost comically small:
- autocomp.js: autocomplete in about 800 bytes
- dragmove.js: draggable elements in about 500 bytes
- tinytabs and tinyprogressbar: about 750 and 640 bytes
- floatype.js, tinyrouter.js, highlighted-input.js: more of the same energy
- On the Go side: koanf, stuffbin, smtppool, goyesql
- And for fun: git-bars (commit activity as terminal bars), bigreddy (a pseudo-philosophical text generator) and a couple of Zig experiments
Once you've seen these, Oat stops looking like a one-off. It's what happens when the same person has been writing tiny libraries for 15 years.
2026 so far
- ooru.space: an open-data directory of public community spaces in India
- tinyi18n-rs: a small Rust i18n library
- rconceptnet: a Rust CLI/server for ConceptNet on (of course) SQLite
- tuwunel-admin: an admin UI for the tuwunel Matrix server
- approve-pr-creation-from-issue: a GitHub Action that makes contributors get an issue approved before opening a PR. Very 2026
And way before GitHub
His project page also has a graveyard of 2000s web projects, and it's a fun read. Per that page, boastMachine once powered around half a million blogs, the blog ping service Pingoat was among the top 2,000 sites on Alexa, and his resume builder Cvmkr had 4M+ users before it shut down in 2023. The man has been shipping for a while.
Away from code, Nadh co-founded FOSS United, the Rainmatter Foundation (climate and ecology), the Indic Digital Archive Foundation, and the Samagata Foundation, which supports public commons and community spaces.
🧵 The common thread
Put Blobasaur, Oat and listmonk side by side and the same instincts show up:
- Solve your own problem first. Every project starts as something the team or Nadh actually needed.
- Keep it small. Single binaries, zero dependencies, and boring, proven foundations like SQLite and semantic HTML.
- Be honest about trade-offs. Relaxed durability, static slots, "sub-v1, expect breaking changes": the limits are written down.
- Give it back. Open-source the code, then fund the wider ecosystem too.
For a team of a few dozen people running infrastructure for millions of investors, that culture might just be the most interesting thing Zerodha has built.
Have you tried Blobasaur, Oat or listmonk? Got a favourite dns.toys command? Tell me in the comments. I'd especially like to hear from anyone running SQLite-backed stores in production. 👇
Sources
- Distributed, high-performance blob storage on SQLite – Zerodha Tech Blog
- Blobasaur on GitHub
- Zerodha Tech projects
- Oat on GitHub
- Kailash Nadh – projects
- HUML
- dns.toys
- dictpress
- dont.build
- Zerodha open source 2025 report
- Zerodha final $675k FLOSS/fund tranche – Open Source For You
- Zerodha hired only 5 for its tech team in 4 years – Indian Startup News
- Kailash Nadh – Wikipedia
Screenshots are of oat.ink, dns.toys and zerodha.tech. The routing diagram, the chart and the cover are my own.