> Am 23.06.2016 um 21:59 schrieb Jakob Flierl <[email protected]>: > > IMO you have a distributed state machine and need to apply the > https://en.wikipedia.org/wiki/Paxos_(computer_science) distributed > consensus algorithm by Leslie Lamport in order for this to work > properly, but I'm not an expert in the field and maybe wrong.
the solution is actually much simpler (the issue got a bit over the top and academic) what is needed for uniqueness is: - clients obtain unique serial ranges from whomever they are requesting services from (in this case - task) - if a range is used up, a new one needs to be retrieved - server side keeps track of ranges (boils down to the complex task of managing a single integer ;) As such, it "just needs to be done" including fixup of any fallout. > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
