Re:ZooKeeper vs. Doozer vs. Etcd
by maplebed on Wednesday September 18, 2013 @03:43PM
(#6407570)
No, I took a different approach. Any normal cron job that wants to be run only once (per cluster) grabs a zookeeper lock. Those that fail to acquire the lock exit and try again during the next interval. This is implemented with a wrapper around the cron job that takes care of locking: https://github.com/ParsePlatform/Ops/blob/master/tools/get_z.... More details here: http://blog.parse.com/2013/03/11/implementing-failover-for-r...
[ Parent
| on HN ]
There are no comments on this comment yet.