How is it difficult to create a robust distributed system in our time? Do we really need to develop own communication protocols and take care about fault tolerance? With such frameworks as Atomix an answer is NO. Atomix are already taking care of all the necessary parts of distributed systems, you just need to use it correctly. In this talk you will get acquainted with Atomix Framework and will see how easy it is to build non-blocking distributed system.
2. Me
!2
Senior Software Engineer
Program Committee Member
andriyrav@gmail.com
Andriy Rymar
@AndriyRymar Morning@Lohika
Lviv Java Club Co-founder
https://github.com/lvivJavaClub
27. Groups
!27
#jeeconf_atomix
Raft
RAFT
The Raft protocol is a consensus protocol
developed in 2013. Consensus protocols are
partition tolerant and provide strong
consistency guarantees (linearizability,
sequential consistency) that can be useful for
coordination. However, strong consistency
comes with a cost in terms of configuration
and performance.
Critically, Raft partition groups require explicitly
defined membership. Each Raft group must
identify the cluster members on which the
group’s partitions will be replicated at startup.
Without explicitly defined membership, Raft
partitions may experience split brain when a
network partition occurs while bootstrapping
the cluster.
The Raft partition group’s members must
be PERSISTENT. This constraint exists
because the semantics of persistent members
accurately reflect the semantics of Raft cluster
members: even after a Raft node crashes, the
quorum size remains the same and the node
still counts towards vote tallies.
PB
Even with sharding, Raft partition groups can
be limited in their scalability. Writes to Raft
partitions must be synchronously replicated to
a majority of the cluster and must be flushed to
disk prior to completion of a write operation.
Primary-backup partition groups are a more
efficient alternative to Raft partitions. Primary-
backup replication works by electing a leader
through which writes are replicated. The leader
replicates to n backups based on the primitive
configuration. Primary-backup partitions are
Primary-Backup
49. Meet
!49
#jeeconf_atomix
Jordan Halterman
2) How Atomix resolve conflicts?
1) Which parts of CAP theorem Atomix supports
4) Who use Atomix in production
5) Atomix best-practices
3) What are the closest competitors to Atomix?
Atomix Founder