Results 1 to 6 of 6

Thread: Forking server.

  1. #1
    ivanov is offline Registered User
    Join Date
    Nov 2004
    Posts
    3

    Forking server.

    Hi!

    I need to have instances of objects requested by client in separate processes. One process with object realization per client.

    Can I achieve such architecture with ICE?

    Is it possible solution to write an ICE server so as it starts up a new ICE server when receives a request from a new Client and then acts as ICE client of the new server dispatching requests from the particular Client to it?

    Thank you in advance!
    Sergey.

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    No, this is not possible. You can write user-code that forks a server, but Ice doesn't do it. See also the discussion in this thread:

    http://www.zeroc.com/vbulletin/showt...p?threadid=972

  3. #3
    ivanov is offline Registered User
    Join Date
    Nov 2004
    Posts
    3
    Hello Marc!

    Thank you.

    But could you please answer my second question:

    Is it possible solution to write a server so as it starts up a new ICE server when receives a request from a new Client and then acts as ICE client of the new server dispatching requests from the particular Client to it?

    Sergey.

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Yes, but it's not very straightforward. The best example we have for this is Glacier (not Glacier 2).

    Why do you want to do this? It is a rather untypical design choice for distributed object applications.

  5. #5
    ivanov is offline Registered User
    Join Date
    Nov 2004
    Posts
    3
    I have a dynamic library that has to be instantiated for every client. I can not change the library so I am to follow this requirement.

    Am I right that in the same way as GlacierStarter starts new router on demand, starter of mine can run new "server" instance and return new proxy to client?

  6. #6
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Originally posted by ivanov
    Am I right that in the same way as GlacierStarter starts new router on demand, starter of mine can run new "server" instance and return new proxy to client?
    Yes, that's correct.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Forking Process within Ice Server
    By acbell in forum Help Center
    Replies: 1
    Last Post: 07-25-2005, 01:25 PM
  2. Need Forking Server at Linux
    By zephyr007 in forum Comments
    Replies: 2
    Last Post: 11-19-2004, 02:28 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
  •