Skip to content
0:00 / 0:00

#couchdb#foundationdb#secondaryindexes

Rearchitecting CouchDB Secondary Indexes on Top of FoundationDB - Garren Smith, Red Comet Labs

The Linux Foundation

215K subscribers • 9 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Presented by Garren Smith, Red Comet Labs

Advanced. Deep dive for people who know the field.

1.7K views6 years ago1 recommendation

Databases and dataDistributed systemsDatabase internalsNoSQL and document databasesSoftware architecture

Garren Smith explains how CouchDB was redesigned to run on top of FoundationDB, focusing on secondary indexes and consistency.

Rearchitecting CouchDB Secondary Indexes on Top of FoundationDB - Garren Smith, Red Comet Labs 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.

Why it's here

1 person recommends this

What people say. Recommended for its deep dive into database re-architecture and mapping document indexes to a key-value store.

amiroucheon Lobsters • Recommends

Rearchitecting CouchDB on Top of FoundationDB