published on 3 January 2014

Eric Redmond is an engineer at Basho, which produces the NoSQL database Riak. We talked with Eric about design patterns for distributed systems.

Eric wanted to de-mystify the creation of highly available systems, so he wrote an example in Ruby for his OSCON presentation. He wanted to show that it's doable by an average programmer, and that you don't have to use an industrial-strength programming language like Erlang.

Eric talks about the many different tradeoffs involved in implementing some of these different distributed design patterns, including speed, capacity, uptime and data integrity

Eric describes Riak as a distributed system that persists data rather than a database that has been given distributed functionality. He explains the primary distribution mechanisms of replication and sharding, and how Riak deals with a cascading failures through primary and secondary replication.

It's that ability to deal with failure that Eric says makes Riak operations friendly: It's able to handle the loss of multiple nodes—he's seen up to half go down in a Riak deployment—while maintaining the ability to write and read all of the data.

Finally, he talks about some of the upcoming features of Riak, including commutative replicated data types (CRDT), which makes it easier to merge and resolve conflicts between replicated states.

Learn More

Share via:
The content of this field is kept private and will not be shown publicly.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.