Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Zk meetup talk
1. Jzab : A Standalone Zab Library
Yisheng Liao Mentor : Michi Mutsuzaki
with great help from
Flavio Junqueira, Hongchao Deng, Alexander Shraer
2. Background
● Zab is an atomic broadcast protocol designed for replicating state
of ZooKeeper servers.
● Zab has similar goals with Paxos and Raft, but it has its own
properties (multiple outstanding transactions while guaranteeing
primary order, allows for fuzzy snapshot, etc.).
● ZooKeeper implementation of Zab is entangled with ZooKeeper so
it’s hard for other applications to use it.
● We implemented Jzab as a standalone Java library to enable users
to build their applications on top of Zab easily.
3. Features
● Authentication and encryption (SSL)
● Dynamic reconfiguration (add/remove server one at a
time)
● Snapshot
● Fast leader election
○ Best effort to elect a leader with the “best” history
● Exponential backoff for timeout(initLimit) (related to
ZOOKEEPER-1977)
○ Problem : How to decide the appropriate timeout value?
○ Proposals :
■ Proportional to the log + snapshot size
■ exponential backoff
4. States of Jzab from user’s perspective
From user’s perspective, Zab can be only in one of the three
states (Recovering, Leading, Following)
11. Conclusion
● Taking snapshot with just one fsync still blocks the
service even ZooKeeper allows fuzzy snapshot.
● Garbage collectors affect the throughput.
o If you do care the performance, do not use default GC, try
different GCs and find the one works best for you.
● Checkout Jzab on Github github.com/zk1931/jzab
Thanks!