Number of concurrent requests allowed

How many concurrent requests are allowed by IBMs API servers when using the OAuth method for authentication?

Symptoms

Resolving the problem

Concurrent requests and API servers when using OAuth.

By default, up to 10 concurrent requests are allowed to our API servers at any given time when using the OAuth method for authentication. OAuth Access Tokens allow calls to re-use existing tokens if they are still valid (within the 4 hour expiration window) so that a new token does not have to be generated with every call if an existing one is still valid. This will allow multiple mobile users to access data over a single token for example, when there are many simultaneous calls from a Mobile app.

If necessary, we recommend that you obtain a new Access Token every 3 hours to avoid the likelihood of losing access to the API.

Concurrent requests are not equal to access tokens. An example of concurrent requests would be hitting IBM®’s servers with 99 RawRecipient calls at the same time and we won’t allow it. Once you get a response back from our servers, that single concurrent request is over and you’re back to being allowed 10. We will reject any request that needs to make use of an >= 11th request thread; we do not ‘hold’ the request and retry when a thread becomes available. This concurrency limit is per Org, not user, list, API request type, etc.

For mobile app use cases, if needed as multiple app users could perform an action in an app and hit our servers concurrently, you can make a request through the Client Support Team to raise the limit of concurrent requests.

Note: The maximum API Concurrent Authenticated Requests feature setting is set to 10 for
Organizations and there is a per organization limit.

3 comments on"Number of concurrent requests allowed"

  1. Apurwa Srivastava August 29, 2017

    What is the max number to which the concurrent requests can be increased upto?

    • Hello Apurwa,
      I am in the process of getting that information for you. Once I have it, I will respond to you here.

      Thank you
      Jeri

    • Hello Apurwa,
      You will need to submit a support case providing within that case answers to the following questions:
      1. For which limit described above are you requesting an exception? (Active Sessions or Concurrent Requests)
      2. Please describe the application you have built so we can better understand your use of the API. Please also mention which specific API methods you are using within your application.
      3. Is the application for which you are requesting an exception built by your company, a contractor for your company, or is it available from a third party?
      4. Please describe the number of additional sessions or concurrent requests you need in order to successfully execute your application.

      Thank you
      Jeri

Join The Discussion

Your email address will not be published. Required fields are marked *