Re: SSL offload and load balancing with Apache2's mod_proxy and mod_balancer for Weblogic, Tomcat and Apache2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

Thank you for your response! Glad to hear that I am not the only, who has thought that this solution would make life easier.

Taking Apache-Event into use in our case is not an option, as Apache2-mpm-itk is used (proccesses running in different user rights) and new TCP connection has to be started for new client - it would be possible to assign different IP-s for different hosts, but named hosting is much easier to configure.

If you would be so kind and take a look at the documentation also and give your oppinion: https://apache2-ssloffload-and-loadbalance.googlecode.com/svn/trunk/Documentation/apache2_ssloffload_and_loadbalance.pdf

Page 3 contains summary - how it works - and most of it is automatic install + configuration by copy-paste to bash.



On 02/07/2011 11:36 AM, Tom Evans wrote:
On Sun, Feb 6, 2011 at 1:25 PM, Margus PÃrt<margus@xxxxxxxx>  wrote:
Hello!


I had an idea, how to SSL offload and Load balance with Apache2 a bit
differently, and I implemented it also.

Basically there 2 Apache instances running on the same machine with
different configurations, one for SSL offload, other for balancing - client
->  SSL offload ->  Balancer ->  backend server.


If anyone would give feedback, just in form: "I like it" or "it's useless",
I'd be glad. More detailed and constructive feedback would be even more
appreciated.




Project homepage and referrals to .pdf and .odf files are:
https://code.google.com/p/apache2-ssloffload-and-loadbalance/


Best regards,
Margus PÃrt

I didn't read any of your docs, but this is effectively how we have
been hosting our websites for about the last 3-4 years.

We have a pair of routers, which round-robin balances (with state)
each http requests onto one of a pair (or more, but currently a pair)
of boxes. These boxes all have the appropriate IPs of the hosted sites
assigned to their loopback (so that each machine can handle any
correctly routed request).
Each box has a pair of apache instances running on it, one running
apache-worker and doing SSL termination and proxying to the second
instance, running apache-event. The second instance serves all static
files, and proxys content from the application servers.
Each application is then split into a number of backends, and we use
mod_proxy_balancer on the proxies to manage which ones are active.

one 1Ghz proccessor was enough and it's load was between 4-12
That's successful? If I look at graphs of our load average, it never
goes above 1.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See<URL:http://httpd.apache.org/userslist.html>  for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux