Hi team,

We are experimenting with ATS in *forward* proxy mode. Our use-case requires a 
rate-limiting component that enforces rules based on the destination. 

For example:

For all incoming requests targeting "www.cnn.com", we want to limit the 
outgoing rate to be 10 requests per minute; for "www.reddit.com", we want the 
rate to be 20 requests per minute; and so on. If there were more requests than 
the limit specified, the requests must be queued before they could go out. 

Is it possible to implement this requirement using a plugin?

If not, we wouldn't mind forking the code and modifying whichever parts that 
would be necessary. But which are the potentially relevant components? 

If any experts could give us some pointers on the design, that would be really 
appreciated.

Thanks,
Weixi

Reply via email to