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?
0
Comments
marcFloridaAdministrators, ZeroC StaffMarc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications EngineZeroC 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.
Comments
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.