Re: Restricting maximum parallel connections

[prev] [thread] [next] [Date index for 2005/02/06]

From: Perrin Harkins
Subject: Re: Restricting maximum parallel connections
Date: 21:40 on 06 Feb 2005
[ Please keep conversation on the list. ]

Pratik wrote:
>>He is using it to throttle by CPU, but it's easy to make it use number
>>of connections within a time window instead.
> 
> 
> But I am more interested in restricting parallel connections rather
> than request/rate.

You can store simple +1/-1 values if you want to.  The interesting part 
is that it packs the data into a small fixed-size chunk which makes 
appends atomic without flocking.  However, Cache::FastMmap is very fast, 
so I'm not sure it would be worthwhile for you to change things.

- Perrin

Restricting maximum parallel connections
Pratik 17:42 on 06 Feb 2005

Re: Restricting maximum parallel connections
Perrin Harkins 18:07 on 06 Feb 2005

Re: Restricting maximum parallel connections
Perrin Harkins 21:40 on 06 Feb 2005

Re: Restricting maximum parallel connections
Perrin Harkins 17:41 on 07 Feb 2005

Re: Restricting maximum parallel connections
Joseph A Nagy Jr 12:56 on 07 Feb 2005

Generated at 21:37 on 09 Feb 2005 by mariachi v0.52