GithubHelp home page GithubHelp logo

Rate limit plugin about saloon HOT 9 CLOSED

yurirnascimento avatar yurirnascimento commented on July 18, 2024 1
Rate limit plugin

from saloon.

Comments (9)

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024 1

If you are happy to, I would add it to a list of community driven plugins for Saloon.

from saloon.

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024 1

Just a suggestion, it would be cool if the plugin also added two methods to "set" and "get" from a cache, so it would be really easy for Laravel users to hook it up to their Laravel app's cache

Screen Shot 2022-01-28 at 21 42 13

from saloon.

yurirnascimento avatar yurirnascimento commented on July 18, 2024 1

I'll probably do something simple, and expose the API for the user to customize as needed.

from saloon.

yurirnascimento avatar yurirnascimento commented on July 18, 2024 1

Hi, I'm still on it, I'll be back soon with news.

from saloon.

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024 1

Sounds good @yurirnascimento no pressure on my side, take your time. Looking forward to seeing it.

from saloon.

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024

Yes, this would be great! I wonder if community made plugins could be released as standalone packages. Is this something you would be up for building?

from saloon.

yurirnascimento avatar yurirnascimento commented on July 18, 2024

This would be a useful plugin for me, so I could mantain it, what do you think?

from saloon.

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024

Sounds good. Looking forward to seeing it.

from saloon.

Sammyjo20 avatar Sammyjo20 commented on July 18, 2024

Just a thought, I need a rate limiter in Laravel, but I'd probably prefer if it threw an exception that I can catch in my job and delay it by X amount of seconds that the API replies with. Maybe that's something to consider in another plugin? Like a back-off plugin that uses Laravel Cache to determine if a rate limit has been exceeded

from saloon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.