On Sat, 16 Nov 2002, Rasjid Wilcox wrote: > David Garamond has asked if qpsmtpd can be used without tcpserver to try and > avoid constant recompiling of the perl code and get better performance.
The modules are written so it should be reasonably easy to implement this, but noone has done it yet. I don't think I'll do it until it gets too slow for me at the Perl mail servers or someone pays me to do it. :-) > I know very little about perl (although this is the second project that I'd > like to get involved with that is based on it - time to learn it I think) and > perhaps I'm just about to show my ignorance, but isn't it possible to > pre-compile perl into some kind of bytecode that can then be run directy by > the perl processor?? I know that this can be done with Python for example. Yeah, but then you still have to load perl to interpret the bytecode. The thing to do to make it faster is to make qpsmtpd into its own server process, either preforking or just forking when a new connection comes in. Another alternative would be to make it into a mod_perl 2.0 connection handler. That would definately be most sexy; and least stable for now. :-) - ask -- ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();