Revision of Of daemons and threads from Mon, 04/02/2007 - 22:16
The revisions let you track differences between multiple versions of a post.
As some of you might know, I'm at the moment working on my Master thesis and I'm building the core for Origo (http://origo.ethz.ch).
The last couple of days I spent trying to make my stuff into proper daemons that can run for hours and hours with lots of requests going on. After a couple of difficulties it now looks very promising. The daemons are now running for over 6 hours and have handled about 100'000 requests.
There were some things I had to do as there seem to be some problems with EiffelThreads, but in the end the changes I had to do might very well be a better design than what I had intended first. Instead of creating new threads all the time I just use a couple of worker threads that work on a common job queue. After the changes it looks great, it seems that there are no more memory leaks and as told before the daemons seem to run very fine.