{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
0

Apigee Edge - 4MV4D - Quota Policy - Distributed & Synchronous - S02E03  

  • Export to PDF
Anil Sagar @ Google   created · Mar 02, 2017 at 01:35 PM · 548 Views

Hello Apigeeks,

Find out why Apigee Edge allows more than specified quota by default & how to apply strict quota limits for your API using Apigee Edge Quota Policy in this 4MV4D video.

Apigee Edge Policies executes in Message Processors during runtime of API traffic. Each trial org gets 2 message processors by default to handle traffic. In production environments you might also find more than 2 message processors to handle production traffic. Apigee router, Routes the traffic to different message processors based on some algorithms.

By default, In Quota Policy, Each message processor has individual counters. Whey you say 3 / minute as quota, Message Processor maintains it's own counter. That's the reason more than the quota is allowed by default.

If you would like to have strict quotas across API requests, You can use <Distributed> & <Synchronous> elements in Quota Policy to enforce strict quota limitations. It comes with a cost of very minimal performance imact which is almost negligible. When you set distributed element to true, Apigee Edge maintains global counter & when you set synchronous xml element to ture, It syncs global counter to message processors synchronously when quota policy gets executed.

Find the Quota policy code used in this 4MV4D below,

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Quota async="false" continueOnError="false" enabled="true" name="QP-QuotaDemo">
    <DisplayName>QP-QuotaDemo</DisplayName>
    <Properties/>
    <Allow count="3"/>
    <Interval>1</Interval>
    <TimeUnit>minute</TimeUnit>
    <Distributed>true</Distributed>
    <Synchronous>true</Synchronous>
</Quota>

4MV4D videos are completely focussed on API Developers & Help you learn many interesting concepts very quickly using hands on approach. Don't forget to subscribe to channel here. Feel free to send your feedback/queries using comments below or Ask a question if you have any query. Stay tuned for more videos.

thub.nodes.view.add-new-comment
apigee edgeapigeequotaapiquota policy4mv4dtraffic managementsynchronousdistributed
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Article

Contributors

avatar image

Follow this article

99 People are following this .

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Navigation

Apigee 4MV4D - API Traffic Management : Quota - Series
  • Apigee Edge - 4MV4D - Quota Policy - Error Handling - Fault Variables - S02E11
  • Apigee Edge - 4MV4D - Quota Policy - Flow Variables - S02E10
  • Apigee Edge - 4MV4D - Quota Policy - Conditional Quota Count - S02E09
  • Apigee Edge - 4MV4D - Quota Policy - Flexi Type - S02E08
  • Apigee Edge - 4MV4D - Quota Policy - Rolling Window Type - S02E07
  • Apigee Edge - 4MV4D - Quota Policy - Calendar Type - S02E06
  • Apigee Edge - 4MV4D - Quota Policy - Message Weight - S02E05
  • S02E04 - Apigee Edge - Quota Policy - Unique Counters- By Flow Variable:
  • Apigee Edge - 4MV4D - Quota Policy - Distributed & Synchronous - S02E03
  • Apigee 4MV4D - API Traffic Management : Quota - Series - Quota Policy - S02E02
  • Apigee 4MV4D - API Traffic Management : Quota - Series - Introduction to API Traffic Management - S02E01

Related Articles

Apigee Edge - 4MV4D - Quota Policy - Conditional Quota Count - S02E09

Apigee 4MV4D - API Traffic Management : Quota - Series - Introduction to API Traffic Management - S02E01

Apigee 4MV4D - API Traffic Management : Quota - Series - Quota Policy - S02E02

Apigee Edge - 4MV4D - Quota Policy - Message Weight - S02E05

Apigee Edge - 4MV4D - Quota Policy - Calendar Type - S02E06

Apigee Edge - 4MV4D - Quota Policy - Rolling Window Type - S02E07

Apigee Edge - 4MV4D - Quota Policy - Flexi Type - S02E08

Apigee Edge - 4MV4D - Quota Policy - Error Handling - Fault Variables - S02E11

Apigee Edge - 4MV4D - Quota Policy - Flow Variables - S02E10

Apigee 4MV4D - API Traffic Management : Quota - Series

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges