Throttling requests to a Ruby on Rails API

后端 未结 3 590
梦毁少年i
梦毁少年i 2021-02-03 11:53

Trying to Google around for an a Rails plugin that will allow for throttling the amount of requests a particular resource gets consumed. Django\'s Piston has some open source co

3条回答
  •  广开言路
    2021-02-03 12:11

    Here's some rack middleware that accomplishes what you're after: http://github.com/dambalah/api-throttling

    and here's a blog post about the development of that middleware: http://blog.messagepub.com/2009/05/05/how-to-rack-middleware-for-api-throttling/

提交回复
热议问题