← 返回技术雷达
Hacker News tech

Distributed, high-performance blob storage on SQLite

Hacker News 热议:Distributed, high-performance blob storage on SQLite(237 赞 / 66 评论,来源 zerodha.tech)

一句话概要

How we built Blobasaur, a sharded, distributed, lightweight blob storage server to solve our high-throughput blob read/write usecase.

原文开头节选

TLDR; We built Blobasaur, a sharded, distributed, lightweight blob storage server on top of SQLite to solve our high-throughput blob read/write usecase. JSON blobs varying from a few KBs to MBs are now written and read thousands of times per second on commodity hardware while maintaining single-digit millisecond latency.

On Kite , our trading platform with ~20 million customers, users are able to customize their investment and trading screens heavily. They save multi-chart layouts, financial indicator templates, vector drawings, and various kinds of arbitrary UI preferences. In addition, we offer a Terminal mode that allows users to design their own workspaces by dragging, dropping, and customizing widgets. Under the hood, our backend services store these user preferences and metadata as opaque blobs (mostly JSON) ranging from a few kilobytes to several megabytes.

Many years ago, we stored such blobs in CouchDB, which turned out to be ill-suited for the kind of throughput we were starting to see. We then moved to SSDB ( ssdb ), a C++ disk-backed store that speaks the Redis protocol.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(237 赞 / 66 评论,来源 zerodha.tech)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News