1. Distributed Counters
with Riak on EC2
Hackover 2012 - hackathon.ro
Andrei Savu - asavu@axemblr.com
Twitter: @andreisavu
2. Me
• Co-Founder of Axemblr.com
• Co-Organiser of Bucharest JUG (bjug.ro)
• OSS contributor (Apache Whirr, jclouds)
• Connect with me on LinkedIn
3.
4. ... with Riak on AWS
(for fun and profit - real-time analytics)
5. Riak
• Distributed Database (Key-Value)
• Focused on: Availability, Fault-Tolerance,
Operation Simplicity, Scalability
• Each node is the same (no master)
• Erlang (OTP)
16. Resources #1
• PoC for Convergent Data Types
https://github.com/basho/riak_dt
• Study on Convergent Data Types
http://hal.inria.fr/docs/00/55/55/88/PDF/
techreport.pdf
• Gist: https://gist.github.com/882055
17. Resources #2
• statebox - state "monad" for automated
conflict resolution
https://github.com/mochi/statebox
• Convergent Replicated Data Types
https://github.com/aphyr/meangirls
• Strong Eventual Consistency and Conflict-free
Replicated Data Types
http://research.microsoft.com/apps/video/
default.aspx?id=153540