Powered by

Advertisment
Home Trending News Zerodha builds Blobasaur, a high-performance storage engine for Kite users; 'So we built our own,’ says Nithin Kamath

Zerodha builds Blobasaur, a high-performance storage engine for Kite users; 'So we built our own,’ says Nithin Kamath

Nithin Kamath says the in-house technology can tackle tens of thousands of operations per second with single-digit millisecond latency, using ordinary hardware.

By Ishita Ganguly
New Update
Zerodha Blobasaur

Zerodha builds Blobasaur

Zerodha has developed and open-sourced a distributed data storage engine called Blobasaur to manage the growing volume of user interface and workspace preferences on its trading platform, Kite.

Zerodha builds Blobasaur, a high-performance storage engine for Kite users

Founder and CEO Nithin Kamath announced it on X.

“Our tech team has built and open-sourced a distributed, high-performance "blob" storage engine,” he said.

He explained that the company's engineering team decided to build its own storage solution after failing to find an existing database that adequately addressed its requirements.

The need arose as Zerodha expanded the customisation features available to Kite users, particularly following the launch of its Terminal mode.

These features allow traders to personalise their workspaces and save interface settings according to their preferences.

"Unlike small structured data, the data are 'blobs', anywhere from a few KBs to a few MBs. We looked around for a database that was simple to run and built specifically for this but couldn't find one. So we built our own," Kamath wrote.

The resulting product, named Blobasaur, is designed to handle tens of thousands of operations per second while maintaining single-digit-millisecond latency.

The company claims that the system can deliver this performance on ordinary computing hardware without consuming significant resources.

Importantly, Blobasaur is already in use in Zerodha's production environment, suggesting the technology has moved beyond the experimental stage and now supports the company's operational requirements.

The storage engine has been built using Rust and SQLite, with an architecture that distributes data across multiple storage units.

It also supports the Redis protocol, making it easier for applications to communicate with the system using familiar commands.

Since user preferences and workspace configurations can generate considerable amounts of data across millions of accounts, storing and retrieving this information quickly without requiring expensive infrastructure was a priority.

Blobasaur also incorporates data compression to reduce the amount of storage required.

This is particularly useful when dealing with large volumes of user settings that need to be accessed frequently.

By open-sourcing Blobasaur, the company has made its engineering work accessible to the wider developer community.

"A year of engineering all so the app remembers you prefer dark mode," Kamath wrote, concluding the post.

Also read: Bengaluru-based GalaxEye taps Bellatrix Aerospace to power 30 satellites in private space deal