3 ms·
You can also use ZooKeeper to increment the id for distributed systems. If we're talking about a lot of inserts per second, you can increment by a thousand. Fo
by olavgg 10y ago
You can also use ZooKeeper to increment the id for distributed systems. If we're talking about a lot of inserts per second, you can increment by a thousand.
For example system-A gets id range for 1-1000, system-B gets id range for 1001-2000 and so on.