Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] question about discovery

On 12/17/2013 09:58 PM, Scott Lewis wrote:
> 
> This is mostly a question for Markus K, I expect, but everyone is
> welcome to chime in.
> 
> The question is this:   with the typical discovery provider (e.g. slp,
> zookeeper, etc)...are there any guarantees about the order of delivery
> of service notifications?   For example, lets say that I have two
> services that I advertise with discovery:
> 
> Svc A ->   discovery.registerService(A)
> 
> Svc B ->   discovery.registerService(B)
> 
> Then...let's say that a receiver becomes available for discovery *after*
> both A and be have been registered by the publisher.  The question is
> this:  on this new receiver...is it going to receive A first, then B? Or
> B then A?  Or is it indeterminant/not guaranteed?...or perhaps it's
> provider/protocol/implementation-specific?

Hi Scott,

at the ECF discovery API layer there are no guarantees about order of
deliver.

Is this question in the context of bug #423708? Doesn't adding
timestamps to the service properties mimic sequence numbers good enough?

M.

[1] https://bugs.eclipse.org/423708



Back to the top