November 18, 2019 | San Diego, California
View More Details & Register Here
Back To Schedule
Monday, November 18 • 1:50pm - 2:10pm
Rearchitecting CouchDB Secondary Indexes on Top of FoundationDB - Garren Smith, Red Comet Labs

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
How do you rewrite a database that’s been around since 2005, so your users never notice a change in behavior or have to sacrifice features, but get all the improvements in performance and consistency that FoundationDB brings?

That’s the challenge we’ve taken on in rewriting Apache CouchDB to run on top of FDB. One of the biggest architectural redesigns is CouchDB’s secondary indexes: Map/Reduce, Mango, and Text Search.

This talk covers the architectural solutions we’ve found for challenges such as: finding the most suitable data model for each index; managing global index state and avoiding conflicts when building indexes; ensuring that the results returned are sorted correctly; and using Apache Lucene on top of FDB for Text Search.

I’ll also share the results of the benchmarking we’ve done, along with further plans we have to improve the architecture of each index.

avatar for Garren Smith

Garren Smith

CouchDB Developer, Red Comet Labs
Garren is a member of the Apache CouchDB Project Management Committee and a JavaScript and Erlang developer, who enjoys working on distributed systems. He is currently working on the IBM Cloudant Database, which powers IBM Cloud and has CouchDB at its core. He is part of the team... Read More →

Monday November 18, 2019 1:50pm - 2:10pm PST
Grand Ballroom 8
  Building Layers
  • Session Slides Included Yes