I believe it is common practice to use 1 Nginx worker per CPU core. 

Sent from my iPhone

> On 28 Dec 2014, at 22:24, Naveed Massjouni <[email protected]> wrote:
> 
> 2 nginx workers and haproxy for load balancing.
> -Naveed
> 
>> On Sun, Dec 28, 2014 at 4:50 AM, Gabor Szabo <[email protected]> wrote:
>> Thanks for that, but I guess that nginx server also has several workers. 
>> Could you share that number as well?
>> And if you can, also what do you use for load balancing?
>> 
>> Gabor
>> 
>> 
>>> On Sun, Dec 28, 2014 at 9:47 AM, Naveed Massjouni <[email protected]> 
>>> wrote:
>>> For a heavily trafficked site I have had success with the following setup:
>>> 
>>> 1 nginx server -> 1 load balancer -> 8 starman application servers
>>> 
>>> Each application server runs 8 starman workers, so that's 1 ngninx to 64 
>>> starman workers.
>>> 
>>> -Naveed Massjouni
>>> 
>>>> On Sun, Dec 28, 2014 at 2:19 AM, Gabor Szabo <[email protected]> wrote:
>>>> Hi,
>>>> 
>>>> In a setup where I use Nginx as reverse proxy in front of Starman handling 
>>>> a Dancer2 application, what would be the recommended relation between the 
>>>> Nginx and Starman workers?
>>>> 
>>>> Gabor
>> 
>> 
>> _______________________________________________
>> dancer-users mailing list
>> [email protected]
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
> 
> _______________________________________________
> dancer-users mailing list
> [email protected]
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to