monitoring api performance
TRANSCRIPT
Monitoring API Performance and Delivering a Scalable API Solution
Tharindu Mathew
Associate Tech. Lead – WSO2 BAM
Member – Data Mgt. Committee
Recap
• Monitoring stats available - http://bit.ly/SFepPt
• Usage data such as number of hits, subscriptions, access time already gathered
The feedback cycle
Gather API data
Slice and Dice
Decide
Adjust parameters
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 Manager
BAM
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
Decide
Decide (cont.)
• Check for trends
• Compare past resutls
• Get help with Reporting & Dashboards
Adjust parameters
Adjust parameters (cont.)
• Increase server capacity
• Increase redundancy
• Retire APIs
• Introduce new versions
BAM Architecture
BAM Characteristics
• Performance
• Scalability
• Customizability
BAM Technologies
• WSO2 Carbon
• Apache Thrift
• WSO2 SS - Apache Cassandra, Apache Hadoop
• Apache Hive
• Apache Zookeeper
• WSO2 Jaggery
Summary
• Create an effective feedback cycle
• BAM Architecture & Technologies
Q & A