Home Comments

Need Forking Server at Linux

ICE use threads for max speed and cross-platform, but in some critical circumstance(e.g. 7X24 hours server), forking can get more stablity. Although fork will be slower than threads, but fork is still needed.
Can ICE support forking server?

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    You can write Ice applications that fork. For an example have a look at Glacier. It has a starter that starts new router processes on demand.

    However, Ice does not have a built-in method for forking itself if a new client connects, like older single-threaded Unix daemons do.
  • Originally posted by marc
    You can write Ice applications that fork. For an example have a look at Glacier. It has a starter that starts new router processes on demand.

    However, Ice does not have a built-in method for forking itself if a new client connects, like older single-threaded Unix daemons do.


    Thank you very much! I'll have a try.
Sign In or Register to comment.