Coder Social home page Coder Social logo

Comments (3)

AaronAtDuo avatar AaronAtDuo commented on July 29, 2024

@capk1rk We've recently added rate limiting to API calling. I'll get back to you with some information on what the rate limits are, but can I ask what version of the client library you're using? There was a change made (commit b4a40ab, March 9, released in version 4.2.0) that automatically handles the rate limiting for the caller.

from duo_client_python.

AaronAtDuo avatar AaronAtDuo commented on July 29, 2024

Some default rate limits for the most common uses of the API client are:

  • Fetching logs: At most once every five minutes.
  • Creating users or modifying users: At most once per minute.
  • Fetching all users, integrations, or phones in an account: Varies depending on the number of objects in the account.

Your best bet is to use version 4.2.0 or later of the client as I noted before. Per https://help.duo.com/s/article/1338?language=en_US:

If you are using a Duo-supported client library, updating to the newest version of the library available should resolve this issue as the client will back off automatically and make requests within the limit.

If you have a specific need for a higher rate limit, please contact our support organization (https://duo.com/support).

Hopefully this information answers your question. Please let us know if there's any other information about the rate limiting we can provide, and thanks for using Duo!

from duo_client_python.

teranpeterson avatar teranpeterson commented on July 29, 2024

We are on the latest version of the client. It was working great for a while until we saw a big spike in traffic. Then it broke down a handful of times. I just wanted to double check what the specific rate limiting was so that we could stay under it. Thanks

from duo_client_python.

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.