Rearchitecting CouchDB Secondary Indexes on Top of FoundationDB
Talkat FoundationDB Summit 2019 · on Monday, 2019-11-18· at 13:50· Grand Ballroom 8, Marriott Marquis San Diego Marina·
summary
Rewrites CouchDB secondary indexes to run on FoundationDB by making Mango indexes update in the same document transaction (so queries after a write see the index up to that write), storing index metadata and build sequence in FDB and using changefeed-based background builds, encoding CouchDB collation via tuples plus ICU sort strings, implementing MapReduce views with an FDB-backed global job queue and an ID index to track per-document keys, replacing on-disk Lucene storage with a Lucene directory layer on FoundationDB served by Java in-memory nodes; build latency increases but query latency drops significantly.
AI-written summary · about
chapters (7)
related talks
22mSolving Everyday Data Problems with FoundationDB
37mTechnical Overview of FoundationDB
25mFoundationDB Document Layer
50mBuilding the Next-Generation Backend on FoundationDB
46mFoundationDB: The Best-Kept Secret of New Distributed Architectures!
01h 02mNext Generation Data Storage with CouchDB
26mFuture of FoundationDB Storage Engines
22mHow FoundationDB powers SnowflakeDB's metadata!
