[imp] Horde/IMP performance problems
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Sep 13 13:33:33 UTC 2010
Quoting Jochen Roderburg <Roderburg at Uni-Koeln.DE>:
> Zitat von Michael Menge <michael.menge at zdv.uni-tuebingen.de>:
>
>> We are running a HA/LB cluster of two servers (2x quadcore XEON E5420
>> 2,5GHz, 16 GB ram each)
>>
>> ClusterIP is used to distribute the load between the servers.
>> - eAccelerator to speed up php,
>> - Memcache for caching,
>> - tempfs and Memcache for Sessions.
>> - PgPool is used to keep the two PostgreSQL databases in sync,
>> it will eat up most of the performance gained by the second server,
>> but removes the single point of failure.
>
> So even after all this tuning a single machine was not enough for the load?
A single machine would have worked for the moment, but we wouldn't have
much recources left to grow and we wouldn't have a HA system.
> The idea came also already up here to use more machines with load balancing.
> Is this easily possible with Horde?
> ClusterIP is the additional software you need for this?
As http/https don't use persitant connections, but the client expects
to continue at the same point you have to share all informations
(session, cache, database) between the servers or ensure that the
client connects to the same server.
As we couldn't find a HA and fast system to ensure shared sessions and cache.
We went the second way. Both servers share one IP-Adress. ClusterIP is
a iptables rule which distrubutes the clients to the servers.
http://security.maruhn.com/iptables-tutorial/x8906.html
(we use --hashmode sourceip as other hashmodes will not ensure that
the same client will connect to the same server)
If the client-ip changes (e.g. DSL-reconcect / DNS Roundrobin webproxys)
it can happen that the client will be connect to an other server and
must login again, as the sessions are shared between servers.
> Does this work with SSL?
>
Yes. But both servers should have the same Certs/Keys
> Best regards,
> Jochen Roderburg
>
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME Signatur
URL: <http://lists.horde.org/archives/imp/attachments/20100913/b6012732/attachment.bin>
More information about the imp
mailing list