On Apr 23, 2010, at 3:04 PM, Hanspeter Kunz wrote:
I use IMAPPROXY (http://www.imapproxy.org/) to speedup my webmail setup. This proxy does this by closing the connection to the server only after a predetermined time, thus for each action that's preformed, a new connection is not necessary, it just reuses an already existing one.
I second the awesomeness of IMAPPROXY, my message access times went from ~2.5 sec to < 0.5 sec once I started using IMAPPROXY.
Thanks, that would be a solution. But isn't this a workaround? Is roundcube supposed to open a new connection for every single operation? I wonder why there is a keep_alive setting if this is really the case.
Yes round cube is supposed to open a new connection for every operation.
Any stateless webmail client (squirrelmail, roundcube etc) is going to be unable to persist connections across requests, that is exactly why IMAPPROXY was created:
from www.imapproxy.org/faq.html
Why was imapproxy written in the first place? imapproxy was written to compensate for webmail clients that are unable to maintain persistent connections to an IMAP server. Most webmail clients need to log in to an IMAP server for nearly every single transaction. This behaviour can cause tragic performance problems on the IMAP server. imapproxy tries to deal with this problem by leaving server connections open for a short time after a webmail client logs out. When the webmail client connects again, imapproxy will determine if there's a cached connection available and reuse it if possible.
It is a piece of cake to setup.
--ryan
-- Ryan Horrisberger Software Developer
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/D9/76bBL5ED/smime.p7s Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/users/