Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1112

Enable Throttling / Quotas per URI resource

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.2.x
    • 1.2.3.Final
    • Gateway API
    • None

      Currently, APIMan seems to expose an overall limit to the number of requests across an entire API for both Quota and Rate Limit policies. This may not be practical for commerce APIs.

      Given a shopping API that has multiple resources:

      /search
      /availability
      /book
      

      It is very likely that we will want to provide varying levels of limits / quotas per resource.

      Imagine all our quota/throttle limits are consumed by /search requests, then the /book endpoint will not be available to the API Client (due to the quota being exceeded) so a client will be prevented from making a booking via the /book resource. This will result in lost revenue for an API provider due to overall throttling.

      It is better to provide per URI / resource level throttling so that various quotas can be assigned to a more granular level.

      Hope this clarifies.

              ewittman@redhat.com Eric Wittmann
              imran.qureshi_jira imran qureshi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: