atom feed9 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Sqwebmail as FCGI...
FromSent OnAttachments
Alexei Batyr'Aug 15, 2010 9:56 am 
Sam VarshavchikAug 15, 2010 2:01 pm 
Alexei Batyr'Aug 16, 2010 7:44 am 
Sam VarshavchikAug 16, 2010 3:47 pm 
Alexei Batyr'Aug 19, 2010 6:56 am 
Nathan EadyAug 31, 2010 10:43 am 
Gordon MessmerAug 31, 2010 6:01 pm 
Alexei Batyr'Sep 1, 2010 7:01 am 
Alexei Batyr'Sep 1, 2010 7:11 am 
Subject:Re: [courier-users] Sqwebmail as FCGI server
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Aug 16, 2010 3:47:42 pm
List:net.sourceforge.lists.courier-users

Alexei Batyr' writes:

Sam Varshavchik writes:

It's possible that there might be a few drops of juice squeezed by making the sqwebmail stub a FCGI-based server, but I'm still somewhat skeptical. The sqwebmail binary is tiny. It almost does not exist. Unless a server is completely out of resources, the sqwebmail executable image would probably stay cached in RAM anyway.

I believe that the primary limiting factor is really bandwidth, not CPU.

I agree that performance gain is almost negligible, but adding FCGI functionality to webmail stub could make Sqwebmail as a whole closer to modern web practices. IIRC there were some FCGI traces in very old versions of Sqwebmail which had been removed later.

Yes, it didn't work very well, furthermore after sqwebmail switched to a preforked daemon, there was no practical benefit to it.

I'm not sure I agree with your observations about FCGI. I rarely hear about it, these days. Somehow, I doubt that www.yahoo.com uses FCGI.

If making webmail stub FCGI-capable is too difficult, I see another possibility - rewriting it in PHP or adding PHP stub to the existing package. Taking into account that now it's hard to find site without PHP (in the form of apache module or standalone FCGI server) maybe it's not so bad idea?

Loading an entire interpreter, with a bazillion dependencies on all the libraries that implement all the various PHP classes, incurs less overhead than a tiny binary? The size of my compiled sqwebmail binary on 32 bit Linux is 9972 bytes.

Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev