incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <>
Subject Lock on Cassandra ---- using bakery algo
Date Tue, 18 Sep 2012 06:49:17 GMT

this has been described on the wiki , I recently needed such as thing, so
implemented it above, and would like to contribute to the community.

note that this uses a "Simplified" version of Bakery algorithm that
provides no fairness, as the MAX() is replaced by a random choice

pardon my beginner python usage :)


View raw message