-1
votes
2answers
38 views

Where will load fall using Nginx, Varnish, and HAProxy? [duplicate]

We are looking into scaling our servers and I am not sure where load will fall as visitor count increases. I have one HAProzy load balancer, that proxies to two Varnish Nginx static content servers. ...
1
vote
2answers
454 views

HAProxy URI balancing isn't very balanced

I'm attempting to use HAProxy 1.4.22 with URI balancing and hash-type consistent to load balance between 3 varnish cache backends. My understanding is that this will never accomplish a perfect balance ...
1
vote
1answer
243 views

HAProxy+Varnish configuration advice

I am using HAProxy to load balance a bunch of PHP servers and want to introduce Varnish in the scene now. HAP sends request to Varnish iff app-login cookie is not available, Varnish doesnt have to do ...
0
votes
1answer
316 views

Varnish/HaProxy/Nginx [duplicate]

Possible Duplicate: Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver? Could you tell me if a configuration as below looks ok to serve pages delivered from my web servers. Is there some ...
3
votes
1answer
436 views

Using Varnish as load balancer

Varnish already support load balancing HTTP 1.1 and Web Socket requests, e.g. https://www.varnish-cache.org/trac/wiki/LoadBalancing Since we already using Varnish for caching purpose, are there any ...
0
votes
1answer
268 views

HAProxy in front of Varnish not setting X-FORWARDED-FOR

Until the last few days we had the following architecture: HAProxy -> 2 Backend servers Now we have: HAProxy -> Varnish -> 2 Backend servers Before, HAProxy was setting the "X-FORWARDED-FOR" header ...
1
vote
1answer
263 views

503 with Varnish to HAproxy

We host multiple apps, on different app servers. What we have is HAProxy -> App Servers The App servers can be anything from PHP on Apache to Java app in glassfish. So we use haproxy to expose 1 IP ...
2
votes
1answer
356 views

Load balance HTTP based on a percentage of traffic or requests?

I want to have v1 of my application in one pool and version v1.1 in another pool and then slowly ramp up the traffic going to pool two and reduce it to pool one. Can anyone show some concrete ...
1
vote
0answers
741 views

Varnish before HAProxy seems to reuse (wrong) backend connection

We have the following setup: Nginx -> Varnish -> HAProxy -> App Server A / App Server B. Most request we process are proxied by HAProxy to App Server A. This is done based on host header values. A ...
1
vote
2answers
452 views

Purpose of putting haproxy / varinish behind nginx?

In some setup, I saw someone put haproxy / varinish behind nginx, and forward the requests to backend (e.g. Passenger) e.g. Nginx <---> HaProxy / Varinish <----> Passenger / Apache I never ...
8
votes
1answer
1k views

Poor load balancer performance on rackspace and centos

I am load testing different options for load balancing, and am getting poor results from Nginx, haproxy, and varnish. I have one 4GB load balancer at Rackspace, hitting 4x1GB app servers. I'm ...
0
votes
3answers
557 views

Architecture question: adding SSL into the mix

Currently we have a configuration that at the highest level looks like this: [Traffic] -> Varnish (caching) -> HaProxy (load balancing) -> Apache (content and services) There are (obviously?) ...
2
votes
4answers
400 views

Trying to understand how varnish fits into the picture

Currently I am setting up HA proxy to route requests to my application servers. My application servers will be running nginx with phusion passenger. From what I understand, varnish only caches pages ...
1
vote
2answers
190 views

High request time

I've got high execution time of HTTP request (ex. 42KB in 13s). I'm using haproxy to load balance traffic. Static files are server by lighttpd behind varnish accelerator. So... it should be served ...
14
votes
3answers
9k views

Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver?

I've seen people recommend combining all of these in a flow, but they seem to have lots of overlapping features so I'd like to dig in to why you might want to pass through 3 different programs before ...
0
votes
1answer
483 views

haproxy as frontend to varnish throwing lots of 50X errors with status cD

I've a setup with haproxy as frontend to two varnish servers (say srvA, srvB). srvA and srvB also have nginx running on 'em and varnish serves as frontend to these servers. Few days back we collected ...
3
votes
5answers
9k views

How many reverse proxies (nginx, haproxy) is too many?

I'm setting up a HA (high availability) cluster using nginx, haproxy & apache. I've been reading great things about nginx and haproxy. People tend to choose one or the other but I like both. ...
5
votes
2answers
8k views

Need HAproxy + Varnish + nginx setup suggestions

Currently, I have two load balancers running HAProxy, which forward requests to backends, each of which run Varnish cache in front of nginx. I thought this would distribute most the bandwidth across ...