[dancer-users] Number of Nginx vs number of Starman?
Greg Brown
gregbrown54 at gmail.com
Mon Dec 29 00:24:50 GMT 2014
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 <naveedm9 at gmail.com> wrote:
>
> 2 nginx workers and haproxy for load balancing.
> -Naveed
>
>> On Sun, Dec 28, 2014 at 4:50 AM, Gabor Szabo <gabor at szabgab.com> 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 <naveedm9 at gmail.com> 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 <gabor at szabgab.com> 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
>> dancer-users at dancer.pm
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20141229/e1f3a8d1/attachment.html>
More information about the dancer-users
mailing list