Limit concurrent users to access webpage

Hello,

Quite new to this forum.

Anyway, hope to find a solution here.

Today we run a website with a huge amount of hits.

There’s a test site coming up with a limited amount of users having

access to.

The user-level access is handled by the Apache.

Anyway - what I need is a solution how to limit not more than 200 users

to access the website at the same time using the BigIP.

Since the amount of webservers behind the bigip might decrease sometimes

the limiter must be setup in the loadbalancer.

I want to be able to limit how many users to be able to connect at the same time.

I know the BigIP can read the HTTP::username.

It’s not required to use the HTTP::username.

The limit can be set in a cookie or handled by max 200 different ip addresses.

Of course - the allocated ip addresses must expire in like a quarter or similar.

Any suggestions or any solutions?

Thanks

// Anders

You could simply store the username or client IP in a list in an iRule and when a new connection comes in count the number of entries and reject the request if the username or IP is not in the list and the length of the list is above a certain threshold.