Cambridge University C based Webmail Package

View: New views
2 Messages — Rating Filter:   Alert me  

Cambridge University C based Webmail Package

by Daniel Watts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just came across this and thought you might be interested to see some of
the ideas they have implmemented.

http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/

Of note:

- Uses persistent connections to IMAP server and support servers.

- Target folders remain SELECTed: not a simple-minded proxy.

- Full caching (including sort/thread cache) for each open folder.

- Directory cache: single round trip to IMAP server for directory listing.

- Currently supporting 130,000 logins/day on a fairly idle P4 system
(7,700 logins/hour, 5000 concurrent logins peak, load average: 0.25).

- Aggressive HTTP/1.0 and 1.1 connection caching to reduce SSL overhead:
quite happily handles 3.9 million page hits a day (2.8 million https) on
the above hardware, where 65% are dynamically generated pages.

Note that Prayer is:
"Written entirely in C as HTTP to IMAP Gateway. No scripting languages."

So it is somewhat different to Squirrelmail but is there any scope to
implement some of their Persistence ideas at all to increase performance?

Daniel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Cambridge University C based Webmail Package

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 3, 2008 at 5:17 AM, Daniel Watts <d@...> wrote:

> Just came across this and thought you might be interested to see some of
> the ideas they have implmemented.
>
> http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/
>
> Of note:
>
> - Uses persistent connections to IMAP server and support servers.
>
> - Target folders remain SELECTed: not a simple-minded proxy.
>
> - Full caching (including sort/thread cache) for each open folder.
>
> - Directory cache: single round trip to IMAP server for directory listing.
>
> - Currently supporting 130,000 logins/day on a fairly idle P4 system
> (7,700 logins/hour, 5000 concurrent logins peak, load average: 0.25).
>
> - Aggressive HTTP/1.0 and 1.1 connection caching to reduce SSL overhead:
> quite happily handles 3.9 million page hits a day (2.8 million https) on
> the above hardware, where 65% are dynamically generated pages.
>
> Note that Prayer is:
> "Written entirely in C as HTTP to IMAP Gateway. No scripting languages."
>
> So it is somewhat different to Squirrelmail but is there any scope to
> implement some of their Persistence ideas at all to increase performance?

While it is conceivable to make a PHP daemon that stays resident, this
is simply not how PHP is designed to work/be used out of the box,
especially considering that one of SM's goals is to remain simple and
easy to install on basic machines that only have IMAP/HTTP(PHP)
servers.  This is exactly the problem that the imapproxy project
solves.  I don't think SM will ever be changed in this manner.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
LightInTheBox - Buy quality products at wholesale price