running roundcube on a different server from imap server

Jason Stelzer cynic at elitistbastard.com
Tue Feb 13 20:40:39 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 13, 2007, at 2:09 PM, Kenn Murrah wrote:

> Greetings.
>
> Is it generally more efficient to run roundcube on the same server  
> as the email (IMAP) server, or is it better to run from a different  
> server?
>
> Thanks.
>


It depends. If your imap server has a lot of users and is already  
fairly heavily loaded, then the addition of an http server + round  
cube only adds contention. If you add ssl into the mix you're only  
increasing the requirements.

However, if you're lightly loaded and the server has extra resources  
you'll gain a bit of speed from a tcp connection going over the loop  
back interface rather than a fully remote socket. But, that also  
means that the cpu context switches between the httpd process and the  
imapd service.

So, really, you'd have to measure it in your specific situation. For  
what its worth I have an apache instance on host A with round cube  
installed. It is configured to talk to cyrus imap on host B and store  
user data (postgres stuff like address book info) on a database  
running on host C.

While testing this I had everything running on one dev box. The only  
thing that had to change were configuration files. Obviously one  
solution scales further than others.

Hope that helps.

- --
J.
Harvest past, fires cast
Ashen shades this Halloween
We are set now to Beherit the earth


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF0hQ3vxud+cMTf5IRAmIPAKCFdHXy58WvOuDkyTssSo6agdk/+gCfc8G7
hI0BvdC+t1IBWkXWUKGkjb8=
=9+3u
-----END PGP SIGNATURE-----




More information about the users mailing list