Am 11.08.2013 um 03:54 schrieb EBo <e...@sandien.com>: > On Aug 10 2013 5:45 PM, andy pugh wrote: >> On 11 August 2013 00:32, Michael Haberler <mai...@mah.priv.at> wrote: >> >>> Flatly, the idea of using locally generated serial numbers to tag a >>> commands in a shared memory buffer and hoping for no collisions to >>> occur was - to put it mildly - a lapse in design to start with. >> >> I can think of several ways to make that work, if that was a >> requirement. For example MAC addresses are guaranteed unique (Well, >> unless you deliberately spoof them) as is the process ID (locally) >> of >> the creating process, so a hash of MAC, PID and local sequence can >> probably be collision-free. >> >> Not that I am saying that that is sensible, necessary or wise. > > there are a number of ways to ensure that you have UID's. Is it > necessary it to permanently unique, or is this within a given > run/uptime/etc.? That will make a difference.
It is not necessary to improve upon a broken scheme with various uniqueness contraptions, because that scheme has been already replaced by the globally unique ticket number issued by task. a client submits a command, gets an ticket number issued in the reply; with that in hand she can track status changes for 'her' ticket. Done. as a bonus, you get strict ordering and source identification of each command for free. - Michael > > EBo -- > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers