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
Hi
What kind of limitation do you think of ? number of requests ? users ? duration of requests?
You question is far too vague.
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
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 ---