The feedback cycle in the context of APIs talks about gathering API data, slice and dicing this data to gather information, deciding any actions and tuning API parameters. There are considerations for each step, and these actions can easily be implemented through WSO2 BAM
How Alibaba Cloud scaled ApsaraDB with MariaDB MaxScale
Monitoring API Performance
1. Monitoring API Performance and
Delivering a Scalable API Solution
Tharindu Mathew
Associate Tech. Lead – WSO2 BAM
Member – Data Mgt. Committee
2. Recap
• Monitoring stats available - http://bit.ly/SFepPt
• Usage data such as number of hits,
subscriptions, access time already gathered
3. The feedback cycle
Gather API
data
Adjust Slice and
parameters Dice
Decide
4. Gathering API data
• What if you want custom data off of API
requests?
• Plug-in a monitoring extension – mediator
• Net total of each order – total=259
API
BAM
Manager
5. Slice and Dice
• Customers who have placed orders above 2 mil
USD
• Select customer_name, sum(order_amount)
from Orders groupby customer_name
Customer_name Sum(order_amount)
Coyote 2,332,223
Acme 10,654,333