[Beowulf] Re: dealing with lots of sockets
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Bogdan Costescu Bogdan.Costescu at iwr.uni-heidelberg.deThu Jul 3 10:13:33 PDT 2008
- Previous message: [Beowulf] Re: dealing with lots of sockets
- Next message: [Beowulf] Re: dealing with lots of sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2 Jul 2008, Perry E. Metzger wrote: > Event driven programming typically uses registered callbacks that > are triggered by a central "Event Loop" when events happen. In such > a system, one never blocks for anything -- all activity is performed > in callbacks, and one simply returns from a callback if one can't > proceed further. And here is one of the problems that event driven programming can't really solve: separation between the central event loop and the code to run when events happen. fork() allows the newly created process to proceed at its own will and possibly doing its own mistakes (like buffer overflows) in its own address space - the parent process is not affected in any way and this allows f.e. daemons to run their core loop with administrative priviledges while the real work can be done as a dumb user. -- Bogdan Costescu IWR, University of Heidelberg, INF 368, D-69120 Heidelberg, Germany Phone: +49 6221 54 8869/8240, Fax: +49 6221 54 8868/8850 E-mail: bogdan.costescu at iwr.uni-heidelberg.de
- Previous message: [Beowulf] Re: dealing with lots of sockets
- Next message: [Beowulf] Re: dealing with lots of sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
