Hi All, I'm working on a rate limiter and I keep going back and forth over where it should go. The current iteration is very simple but in the future I would like to have different limits based on environment variables such as routing arguments, url arguments, or user login. What is the best place to put the rate limiter? As far as I can tell, the possible candidates are:
in config/middleware.py in lib.base.BaseController.__before__ in lib.base.BaseController.__call__ Any architecture advice would be very much appreciated! Thanks, Andres --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
