K
K
kolesnevg2014-01-02 13:37:44
Nginx
kolesnevg, 2014-01-02 13:37:44

There is an application server nginx + phpfpm. What is the best way to balance the load?

Welcome all.
I'm trying to set up load balancing, actually a question on architecture, tk. I haven't used https before.

There are application servers nginx + phpfpm, I want to balance the load between them, while client access is required via https.
Initially, I wanted to install haproxy and balance it, but I see that there are dances with a tambourine when working with https, so I think it might be easier to put another nginx as a balancer? Or is this the "wrong decision"?

Thanks to all

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Evseev, 2014-01-02
@kolesnevg

1) haproxy learned to support ssl less than a year and a half ago.
2) vk.com uses nginx for https-balancing
output: use nginx and don't worry.

A
Alexey Sundukov, 2014-01-02
@alekciy

Why might this not be the right solution? Quite a reasonable solution. Especially when the protocol does not go beyond http/https.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question