Web Connection
Application-layer rate limiting
Gravatar is a globally recognized avatar based on your email address. Application-layer rate limiting
  Abhay Sobti
  All
  Apr 28, 2026 @ 03:54pm

Hi everyone

Is there a way to implement application-layer rate limiting in a simple way in Web-connection? or do I have to code limits inside my application checking the wwrequestlog?

##Abhay

Gravatar is a globally recognized avatar based on your email address. re: Application-layer rate limiting
  FoxInCloud Support - Thierry N.
  Abhay Sobti
  Apr 28, 2026 @ 10:56pm

Hi

What kind of limitation do you think of ? number of requests ? users ? duration of requests?

You question is far too vague.

Gravatar is a globally recognized avatar based on your email address. re: Application-layer rate limiting
  Abhay Sobti
  Abhay Sobti
  May 1, 2026 @ 07:15am

Sorry for not communicating correctly.

A particular url in my application is being hit by some IPs repeatedly and rapidly. I want to limit the hits to, say, 100 hits per minute. Can this be done in a simpler way in West-wind?

##Abhay

Gravatar is a globally recognized avatar based on your email address. re: Application-layer rate limiting
  Rick Strahl
  Abhay Sobti
  May 1, 2026 @ 07:48am

That sounds like something that you should be handling at your router.

If that's not possible then you have to do it in the application. Basically have to log IP and timestamps and then on every hit in OnProcessInit() you check for exceeding limits with whatever rules you apply.

Router is way more efficient, but you can't apply business rules beyond basic metrics.

+++ Rick ---

© 1996-2026