sudheerv commented on pull request #7623:
URL: https://github.com/apache/trafficserver/pull/7623#issuecomment-817063138


   Nice and useful plugin to have. 
   
   A comment/observation though - 
   
   1) Given that this is a remap plugin, it feels like the rate limiting of the 
transactions is effectively on the Origin transactions (at least, until H2 to 
Origin is supported)  as opposed to the client side. 
   2) I also wonder if this is potentially close to what 
https://docs.trafficserver.apache.org/en/9.0.x/admin-guide/files/records.config.en.html#proxy-config-http-per-server-connection-max
 does already. There is also a queueing support with the outbound connection 
tracking.
   
   Fwiw, we use a similar rate limiter plugin running in production with the 
difference being it is a global plugin and tracks concurrency against 
explicitly configured limits (ie not via remap.config). We've a bunch of 
business logic (including several sideways calls) that is run before remap 
state, so, queuing or limiting at remap is a little bit too late if we wanted 
to cap the resource usage more efficiently.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to