dcouch, an Alternative to Mnesia with Unique Features

Benoît Chesneau
Web Craftsman

At the Erlang Factory SF BAY AREA 2014, I gave a quick lightning talk introducing opencouch a document oriented database compatible with Apache CouchDB that you can embed in your Erlang Application. The main goal of opencouch is to propose a viable alternative to mnesia while adding some key features of Apache CouchDB like the master-master replication or new features like the horizontal scalability and multiple storage backends. The feedback was really encouraging and I decided to go further. Opencouch now named "dcouch" is one of the core component of the refuge project.

This talk will present the first release of dcouch, how we built it and its key features. This talk will also show how we are using it in the refuge project as a key component of the platform that we are building.

Talk objectives

Present the design choices made in dcouch, what are the challenges in building a database in Erlang, how the replication between Erlang applications is handled in a decentralised manner and how you can query the data.

Target audience

Anyone interested in databases and decentralised platforms.


Benoît Chesneau is a software craftsman, living near Paris. He has years of experience in building small and big-scale database backend websites. He is the founder of a company building innovative web services and open-source applications. Benoît Chesneau is also the founder of the Refuge and Barrel projects, the author of Gunicorn and multiple other opensource projects in Python and Erlang.

GitHub: benoitc

Twitter: @benoitc

Back to conference page