Perplexity Migrates Core Search Service from DynamoDB to In-House CobbleDB
Perplexity has migrated its core search service layer from Amazon DynamoDB to CobbleDB, an in-house distributed key-value store written in Rust, to address latency and cost bottlenecks when serving document batches to large language models at high query volumes. By decoupling persistent document storage from hot data retrieval, the engineering team reduced batch read latency by five times and cut overall storage costs by at least 20%. CobbleDB comprises about 40,000 lines of Rust code, built in two months by two systems engineers working with a cluster of autonomous AI coding agents, and Perplexity plans to open-source the codebase in an upcoming release.