monitoring api performance

14
Monitoring API Performance and Delivering a Scalable API Solution Tharindu Mathew Associate Tech. Lead WSO2 BAM Member Data Mgt. Committee

Upload: tharindu-mathew

Post on 13-Jul-2015

130 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Monitoring API Performance

Monitoring API Performance and Delivering a Scalable API Solution

Tharindu Mathew

Associate Tech. Lead – WSO2 BAM

Member – Data Mgt. Committee

Page 2: Monitoring API Performance

Recap

• Monitoring stats available - http://bit.ly/SFepPt

• Usage data such as number of hits, subscriptions, access time already gathered

Page 3: Monitoring API Performance

The feedback cycle

Gather API data

Slice and Dice

Decide

Adjust parameters

Page 4: Monitoring API Performance

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

Page 5: Monitoring API Performance

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

Page 6: Monitoring API Performance

Decide

Page 7: Monitoring API Performance

Decide (cont.)

• Check for trends

• Compare past resutls

• Get help with Reporting & Dashboards

Page 8: Monitoring API Performance

Adjust parameters

Page 9: Monitoring API Performance

Adjust parameters (cont.)

• Increase server capacity

• Increase redundancy

• Retire APIs

• Introduce new versions

Page 10: Monitoring API Performance

BAM Architecture

Page 11: Monitoring API Performance

BAM Characteristics

• Performance

• Scalability

• Customizability

Page 12: Monitoring API Performance

BAM Technologies

• WSO2 Carbon

• Apache Thrift

• WSO2 SS - Apache Cassandra, Apache Hadoop

• Apache Hive

• Apache Zookeeper

• WSO2 Jaggery

Page 13: Monitoring API Performance

Summary

• Create an effective feedback cycle

• BAM Architecture & Technologies

Page 14: Monitoring API Performance

Q & A