Results 1 to 4 of 4

Thread: Location service

  1. #1
    timruijs is offline Registered User
    Name: Tim Ruijs
    Organization: Vialis
    Project: Publish/Subscribe Framework
    Join Date
    Jul 2004
    Location
    Leusden
    Posts
    11

    Location service

    In order to simplify maintenance of our applications I would like to remove the portnumbers of our servants. To this extend I use the location service scheme.

    Our applications are distributed. Each host has its own locator. Services running on that host register at that locator .
    Whenever a service requires access to another service at a different host, I provide the proxy of the locator at the destination host in the proxy for the intended object (using ice_locator).
    This way objects can subscribe to events of any other object in the network. Note: our own publish/subscibe mechanism, not Ice's.

    And this all works great. However, when a host is disconnected from the network (either cable disconnect, router crash, etc), the local requests are delayed for seconds. Each subscriber has its own thread with queue, but still local requests are delayed.

    Reading the doc/forums do not shed much light on what happens when connections fail, especially with respect to locator functionality.

    Before we try to minimise our system to get a usable network trace, perhaps you can give a few pointers.

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It's not clear to me where these delays occur. In theory, local connections using the loopback interface shouldn't be affected by network issues. However, without more information, it's difficult to help. Adding tracing to try to figure out where the delays occur will hopefully help. If you need further help with this, please specify which Ice version and operation system you're using.

    Cheers,
    Benoit.

  3. #3
    slypete's Avatar
    slypete is offline Registered User
    Name: Pete Sylvester
    Organization: Coconaut Studios
    Project: iPhone/iPod Game
    Join Date
    Feb 2008
    Posts
    74
    Perhaps your application is trying to resolve a domain?

    Pete

  4. #4
    timruijs is offline Registered User
    Name: Tim Ruijs
    Organization: Vialis
    Project: Publish/Subscribe Framework
    Join Date
    Jul 2004
    Location
    Leusden
    Posts
    11
    Thanx for your quick response.

    We have found the culprit! Our Name Server Cache Daemon (nscd) wasn't running . Something went wrong in generating our system configs.
    We did not investigate this earlier because for two (known) missing hosts the DNS exceptions were actually logged (while the network is up). When the network was disconnected no additional errors were logged for any of the other hosts putting us off track.
    We will look into the missing logs, but for now everything works great (even when the network is down ).

    So, thanx for your time.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to retrieve IP-Address from location service
    By raphi in forum Help Center
    Replies: 1
    Last Post: 05-09-2008, 02:55 PM
  2. implement location service in Java
    By gumshoe in forum Help Center
    Replies: 3
    Last Post: 03-27-2008, 12:01 PM
  3. IceGrid Location
    By eric.hill in forum Help Center
    Replies: 1
    Last Post: 11-30-2006, 12:51 PM
  4. broadcast / multicast location service?
    By gerkey in forum Help Center
    Replies: 3
    Last Post: 10-05-2006, 01:35 AM
  5. Location transparency
    By davidcr1983 in forum Help Center
    Replies: 3
    Last Post: 06-15-2006, 08:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •