Topic: Monotonically the increasing counter
For the distributed application service which would return monotonically increasing integer values is necessary. It is desirable without the considerable and regular gaps between values. Local service on the basis of divided storage both mutex and sparsed int set has initially been developed. Some requirements - the distributed clients and high availability were added. Variants of usage Redis, ZooKeeper and databases with pre-selection of units are considered. What it is possible to consider still that bicycle not to invent? The main requirement - productivity. Well and reliability, certainly.