Ensar Basri Kahveci | Devoxx

Devoxx Poland 2019
from Monday 24 June to Wednesday 26 June 2019.

I work at Hazelcast as a distributed systems engineer but I prefer to call myself “distributed systems criminal”. My main interests are data storage, replication, and consistency. I enjoy digging distributed systems theory to build reliable solutions to real-world engineering problems.

java.util.concurrent for Distributed Coordination


The evolution of distributed coordination tools shows that high-level APIs ease implementation of coordination tasks, such as leader election, locking, synchronized actions. For instance, the Chubby paper highlights familiarity of lock-based interfaces. Similarly, Apache Curator hides complexity of ZooKeeper recipes behind Java APIs, while etcd and Consul implement concurrency primitives on their own.

A different path in this journey would be extending the long-lasting java.util.concurrent APIs, such as Lock, Semaphore, etc. Simplicity of these APIs makes them very useful in distributed coordination use cases.

Join me in this talk to explore Hazelcast's brand new implementation of java.util.concurrent APIs on top of the Raft consensus algorithm. I will walk through code samples to demonstrate how Java locks, semaphores, etc. can be used in distributed environments that involve partial failures. I will also share our experience of how we coped with several challenges we faced while developing and testing our Raft implementation.

Make sure to download the Android or iOS mobile schedule.