RCOUCH

 RCOUCH

Benoît Chesneau will present RCOUCH a document oriented database for offline-first applications.

Benoît Chesneau is a French web 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 RCOUCH projects and the author of Gunicorn and multiple other opensource projects in Python and Erlang.

89261d2bbe7220dfde8ec1be0aa0f52f?s=128

erlang.paris

June 29, 2015
Tweet

Transcript

  1. The database for offline-first applications http://rcouch.org Erlang Paris - June

    2015
  2. • A CouchDB flavour • View changes and view-based replication

    • Easy to extend • Correctness • Performant About
  3. https://github.com/rcouch/rcouch/wiki/rcouch-hooks

  4. None
  5. why Erlang?

  6. • Building complex system is easy • Resilience • Concurrency

    A good ADN
  7. P P P P Processes are solated

  8. P P P P Failure The system continue to work

  9. P P P P Supervise & Recover Detect failures and

    relauch
  10. a good citizen

  11. • View engine, couchapps in JS… • Or any language.

    • A language using the Erlang VM is quite easy • 2.0 will have support of LFE, LUA, Elixir A good ADN
  12. A good ADN function(doc) { emit(doc._id, null); }

  13. • View engine, couchapps in JS… • Or any language.

    • A language using the Erlang VM is quite easy • 2.0 will have support of LFE, LUA, Elixir A good ADN
  14. • In rcouch a language is viewed as a process

    • Input/Output protocole • building elixir: rebar(3) plugin • same for other languages • shipped in a release or loaded How: M/R & COUCHAPPS
  15. TO THE NEXT STEP

  16. KEEP THE COUCH

  17. • Cluster Of Unreliable Commodity Hardware • Decentralised • works

    in condition when we can’t achieve the “quorum” A good ADN
  18. ? @benoitc