> How much free memory do you have left and how much does your backend
> software consume per connection?


I have about 800 mb memory left when all services are running (with minimal
traffic and load). The per-connection memory usage of my backend is about
25 kb.

Given the purpose and normal usage of my application, I don't think it will
get more than 2000 concurrent connections at any time. But I do want to
serve optimally (or get the best performance) for any number <= 2000
connections.

Thanks,

Merton

On Thu, Apr 18, 2013 at 11:15 AM, Lukas Tribus <[email protected]> wrote:

> > These connections tend to stay open for 30-60 mins
>
> Ok.
>
>
> > Currently, I have only one process of this backend running with HAProxy
> > on the same machine (actually VPS). The machine has 8-core cpu and 1g
> > memory.
>
> How much free memory do you have left and how much does your backend
> software consume per connection?
>
>
> > But I feel there must be a better way to figure out this number
> optimally.
>
> It's not so easy to find a good number in fact...
>
>
> Regards,
> Lukas

Reply via email to