Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cwest (1514)

cwest
  (email not shown publicly)
http://caseywest.com/
AOL IM: caseyrwest (Add Buddy, Send Message)

Perl geek.

Journal of cwest (1514)

Monday January 31, 2005
09:57 AM

Process Management Sucks

[ #22953 ]

I've been hacking on a preforked daemon to handle some network interfacing. This worked out okay until I hacked in load balancing features. The problem is that I have a really simple, clean, and fast preforking server that gets nicely blocked up when forked processes are busy. It's lovely, really. Here's the thing, I though I could write a clean scalable HTTP based solution without Apache. I was right about the clean part.

I didn't want to have to worry about how many idle kids I should leave around, when I should fork more kids or reap others. I thought I could get away with not caring about that. I was being kind of silly there. Truth is, I can probably make the system even faster by just writing an Apache module to do it for me. Lessons learned, I guess.

It's worth it to let Apache deal with the process management, logging, backhanding, and so on.

Posted from caseywest.com, comment here.

New comment creation has been disabled on this discussion.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.