[muscle] Re: Question about the collection that holds the messages
- From: "Jeremy Friesner" <jaf@xxxxxxxxxxxx>
- To: muscle@xxxxxxxxxxxxx
- Date: Thu, 26 Aug 2004 09:28:49 PDT (-0700)
> What I'm doing right now is inserting the date in milliseconds in the =3D
> middle of the message, to avoid repetition:
>
> 150.100.104.191/3/ROOT=5FNODE/103689823465/SOME=5FNODE
>
> I don't know if this is the best solution for the problem, or if there's =3D
> a more elegant way.
How about having each client keep an integer counter, and increment the counter
before each Message it uploads=3F Use the counter value instead of the
time-in-milliseconds. That way you are guaranteed a unique node name, even if
two Messages are sent within the same millisecond.
-Jeremy
- References:
- [muscle] Question about the collection that holds the messages
- From: Vasconcelos Jimenez Dario
Other related posts:
- » [muscle] Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- » [muscle] Re: Question about the collection that holds the messages
- [muscle] Question about the collection that holds the messages
- From: Vasconcelos Jimenez Dario