Re:Mistakes Beginners Make When Working with Databases
by olavgg on Wednesday June 08, 2016 @12:48PM
(#11863590)
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.
For example system-A gets id range for 1-1000, system-B gets id range for 1001-2000 and so on.