Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] SLP Discovery

Hi Markus,

I am using it to expose remote services from my Raspberry pi. It works great but it takes a little before a service is discovered. Should I use some other discovery provider? My favorite provider (Zookeeper ;) seems overkill for the PI + discovery on a LAN.

Cheers,

Wim



On Mon, Oct 20, 2014 at 3:48 PM, Markus Alexander Kuppe <ecf-dev_eclipse.org@xxxxxxxxxxx> wrote:
On 19.10.2014 16:48, Wim Jongman wrote:
> I am using a remote service with SLP discovery. I notice that it
> sometimes takes up to a minute before the service is discovered and
> proxied. It does not hurt my use case but I wonder why this is.
>

Hi Wim,

it's the nature of the SLP protocol to periodically (re-) discover
services. If you want to speed up this process, you will have to deploy
a Directory Agent (DA) on your network. A DA is a centralistic role in
SLP which knows about all existing services and can be queried by users.

> Is it a timer based polling?

Yes, the timer is in org.eclipse.ecf.internal.provider.jslp.JSLPDiscoveryJob

> Can I force a discovery cycle?

You can obviously explicitly discover new services via
org.eclipse.ecf.discovery.IDiscoveryLocator.getServices().

What exactly are you using jSLP for?

HTH
Markus
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev


Back to the top