All contents © MuleSoft, LLC
Surat MuleSoft Meetup Group
API Monitoring – A New Perspective
14th Dec 2022
21:00 IST (GMT+05:30)
All contents © MuleSoft, LLC
Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
2
All contents © MuleSoft, LLC
A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & AnswersTab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of theday.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
3
All contents © MuleSoft, LLC
Organizers
4
Jitendra Bafna
Senior Solution Architect
EPAM Systems
Nitish Jain
Application Developer
Accenture
All contents © MuleSoft, LLC
Speaker
5
• Total Experience of 25 Years
• Working in Integration Space for last 19 Years
• Enterprise Integration Architect
• MuleSoft Community Leader since 2019 and
Mentor since 2021
• Speaker and Blogger
• Technology Enthusiast
Aravind Babu
Ramadugu
Architect - Accenture
All contents © MuleSoft, LLC
We will be discussing the API Monitoring in a new and modern perspective to make the APIs
self heal
Agenda
A. Introduction
B. APIs Central to Digital Enterprises
C. Classification of APIs
D. API Challenges
E. Types of API Monitoring
F. Monitoring Key Factors
G. Conceptual Next Gen Monitoring
H. Q &A
All contents © MuleSoft, LLC
APIs are central to Digital Enterprises
7
On Premise and/or Cloud
Information Management Layer
Analytics Services
API
Management
Service
Management
Platform
Management
API Security
Developer Services
Business Rules
Business Process
Orchestration Service Orchestration
Sense And
Response
Traditional Integration Layer
Service Mediation Messaging Connectivity
Interaction Layer
- Micro Orchestration - Mediation Transformation Traffic Management
Developer Portal
• Internal
• External
• Partner
Mobile Web Partners Services IOT
• APIs are the critical building blocks for today's digital applications.
• Over the time enterprises develop large collection of APIs and Applications
• It creates a big library of the building blocks where we the enterprises will benefit having faster time to market
• Faster Return on Investment.
Typical Enterprise API Landscape
All contents © MuleSoft, LLC
Types of APIs in an Enterprise
There are different types of APIs. The Most commonly used API types in any
Enterprise are
Internal APIs External APIs
Private APIs Public APIs
Partner APIs
APIs can be SOAP, REST, HTTP and Graph QL.
All contents © MuleSoft, LLC
Challenges with APIs in Digital Enterprise
• API Monitoring will help answer the following questions for an Enterprise
• API Monitoring
The Practice of gathering and evaluating the data about an API’s performance
to spot any issues that can effect the consumers of these APIs.
Are my APIs running?
How are my APIs performing?
How many times a particular API is being invoked? What kind of information and
data is transactions?
What are the different kinds of failures that are happening with respect to API(s)?
All contents © MuleSoft, LLC
Types of API Monitoring
Synthetic Monitoring
• Practice that emulates the paths
users might take when engaging
with an application.
• Automatically keep tabs on
application uptime
• Uses scripts to generate simulated
user behavior for various
scenarios, geographic locations,
device types, and other variables.
• Once the data is analyzed, This
kind of Monitoring Solution can
provide crucial insights into how the
APIs are performing
Real User Monitoring
• provides valuable insights into an
application’s usability and
performance by observing the
actual user experience
• More than simple data capture.
• Allows developers to visualize the
entire journey within the app and
resolves issues quickly.
• Provides full stack observability.
All contents © MuleSoft, LLC
Key API Parameters to Monitor
• Runtime Parameters
• CPU Utilization
• Memory Utilization
• State of the API (Running, Not
Responding, Stopped)
• Thread Count
• Message Counts
• Message Failure Counts
• API Management
• Request Count
• Response Codes
• Response Times
• Policy Violations (Security, SLA)
• Application Performance Monitoring
• Monitors API performance in Real time
• Ensures application network uptime
• Predict System Failures and proactively send
alerts.
• Business Events Monitoring
• Critical to gain insights into the Business related
Processes
• Will be fed into the Intelligent Engine to take
business related actions through code.
All contents © MuleSoft, LLC
Current API Monitoring and Future
Provides insights into Application and API’s
Health and their performance in terms
• Runtime Related Insights
• Performance Related Insights
• API Health Related Insights
• Log Ability
• API Functional Insights
• Business Events
• Now that we have all the monitoring data
what do we do this data to make our API
and Applications self heal and self sufficient.
All contents © MuleSoft, LLC
Intelligent Event Processing Engine
Conceptual Next Gen API Monitoring
Monitoring Sources
Monitoring Data
Application/API
Logs
API Mgmt.
Data
System Logs
Event
Identification
Situational Auto
Deployment
Situational Auto Scale
up/Down
Periodic Design
Suggestions
Business Data
Analysis Report
Predictive
Analytics
AI based Rules Engine
All contents © MuleSoft, LLC
Situational Auto Deployment and Scaling
• Situations:
➢ When the API instance is going down and with CPU Usage or Memory Utilization
➢ When the API Instance(s) suddenly stops working
➢ The peak load suddenly becomes high and current API instance(s) cannot handle the load
Event Type Detection
Events Flow Event Analysis
Event Action
All contents © MuleSoft, LLC
Periodic Design Suggestions Report
• Situations:
➢ Business Events that are being processed with APIs are fed in the form of logs and other types actions into the
AI Engine
➢ Based the error analysis, response time analysis and applying some intelligent rules the engine will make
certain design suggestions if necessary to the APIs to optimal performance
Business Event Type Detection
Events Flow Event Analysis
Event Action
(Design Suggestion)
Long term goal as this particular solution will need to learn
from various data events occurring across each API.
All contents © MuleSoft, LLC
Summary and Conclusions
• We have looked at the following in our presentation
○ How APIs are central to the success of digital enterprises
○ Illustrated Couple of industry use cases on how API are driving the
enterprises in digital age
○ Current API Monitoring and security options
○ How we can make these APIs self heal and be self sufficient
○ Possibilities are endless and can be used across many different use cases to
make APIs performant and self reliant and completely automated.
All contents © MuleSoft, LLC
Thank You
All contents © MuleSoft, LLC
Quiz Time
Get ready to WIN a Special Gift
from MuleSoftCommunity
All contents © MuleSoft, LLC
Take a stand !
18
●Nominate yourself for the next meetup speaker and suggest a topic as well.
All contents © MuleSoft, LLC 20
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/surat/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?

MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens

  • 1.
    All contents ©MuleSoft, LLC Surat MuleSoft Meetup Group API Monitoring – A New Perspective 14th Dec 2022 21:00 IST (GMT+05:30)
  • 2.
    All contents ©MuleSoft, LLC Safe Harbour Statement ● Both the speaker and the host are organizing this meet-up in individual capacity only. We are not representing our companies here. ● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any responsibility that same solution will work for your business requirements. ● This presentation is not meant for any promotional activities. 2
  • 3.
    All contents ©MuleSoft, LLC A recording of this meetup will be uploaded to events page within 24 hours. Questions can be submitted/asked at any time in the Chat/Questions & AnswersTab. Make it more Interactive!!! Give us feedback! Rate this meetup session by filling feedback form at the end of theday. We Love Feedbacks!!! Its Bread & Butter for Meetup. Housekeeping 3
  • 4.
    All contents ©MuleSoft, LLC Organizers 4 Jitendra Bafna Senior Solution Architect EPAM Systems Nitish Jain Application Developer Accenture
  • 5.
    All contents ©MuleSoft, LLC Speaker 5 • Total Experience of 25 Years • Working in Integration Space for last 19 Years • Enterprise Integration Architect • MuleSoft Community Leader since 2019 and Mentor since 2021 • Speaker and Blogger • Technology Enthusiast Aravind Babu Ramadugu Architect - Accenture
  • 6.
    All contents ©MuleSoft, LLC We will be discussing the API Monitoring in a new and modern perspective to make the APIs self heal Agenda A. Introduction B. APIs Central to Digital Enterprises C. Classification of APIs D. API Challenges E. Types of API Monitoring F. Monitoring Key Factors G. Conceptual Next Gen Monitoring H. Q &A
  • 7.
    All contents ©MuleSoft, LLC APIs are central to Digital Enterprises 7 On Premise and/or Cloud Information Management Layer Analytics Services API Management Service Management Platform Management API Security Developer Services Business Rules Business Process Orchestration Service Orchestration Sense And Response Traditional Integration Layer Service Mediation Messaging Connectivity Interaction Layer - Micro Orchestration - Mediation Transformation Traffic Management Developer Portal • Internal • External • Partner Mobile Web Partners Services IOT • APIs are the critical building blocks for today's digital applications. • Over the time enterprises develop large collection of APIs and Applications • It creates a big library of the building blocks where we the enterprises will benefit having faster time to market • Faster Return on Investment. Typical Enterprise API Landscape
  • 8.
    All contents ©MuleSoft, LLC Types of APIs in an Enterprise There are different types of APIs. The Most commonly used API types in any Enterprise are Internal APIs External APIs Private APIs Public APIs Partner APIs APIs can be SOAP, REST, HTTP and Graph QL.
  • 9.
    All contents ©MuleSoft, LLC Challenges with APIs in Digital Enterprise • API Monitoring will help answer the following questions for an Enterprise • API Monitoring The Practice of gathering and evaluating the data about an API’s performance to spot any issues that can effect the consumers of these APIs. Are my APIs running? How are my APIs performing? How many times a particular API is being invoked? What kind of information and data is transactions? What are the different kinds of failures that are happening with respect to API(s)?
  • 10.
    All contents ©MuleSoft, LLC Types of API Monitoring Synthetic Monitoring • Practice that emulates the paths users might take when engaging with an application. • Automatically keep tabs on application uptime • Uses scripts to generate simulated user behavior for various scenarios, geographic locations, device types, and other variables. • Once the data is analyzed, This kind of Monitoring Solution can provide crucial insights into how the APIs are performing Real User Monitoring • provides valuable insights into an application’s usability and performance by observing the actual user experience • More than simple data capture. • Allows developers to visualize the entire journey within the app and resolves issues quickly. • Provides full stack observability.
  • 11.
    All contents ©MuleSoft, LLC Key API Parameters to Monitor • Runtime Parameters • CPU Utilization • Memory Utilization • State of the API (Running, Not Responding, Stopped) • Thread Count • Message Counts • Message Failure Counts • API Management • Request Count • Response Codes • Response Times • Policy Violations (Security, SLA) • Application Performance Monitoring • Monitors API performance in Real time • Ensures application network uptime • Predict System Failures and proactively send alerts. • Business Events Monitoring • Critical to gain insights into the Business related Processes • Will be fed into the Intelligent Engine to take business related actions through code.
  • 12.
    All contents ©MuleSoft, LLC Current API Monitoring and Future Provides insights into Application and API’s Health and their performance in terms • Runtime Related Insights • Performance Related Insights • API Health Related Insights • Log Ability • API Functional Insights • Business Events • Now that we have all the monitoring data what do we do this data to make our API and Applications self heal and self sufficient.
  • 13.
    All contents ©MuleSoft, LLC Intelligent Event Processing Engine Conceptual Next Gen API Monitoring Monitoring Sources Monitoring Data Application/API Logs API Mgmt. Data System Logs Event Identification Situational Auto Deployment Situational Auto Scale up/Down Periodic Design Suggestions Business Data Analysis Report Predictive Analytics AI based Rules Engine
  • 14.
    All contents ©MuleSoft, LLC Situational Auto Deployment and Scaling • Situations: ➢ When the API instance is going down and with CPU Usage or Memory Utilization ➢ When the API Instance(s) suddenly stops working ➢ The peak load suddenly becomes high and current API instance(s) cannot handle the load Event Type Detection Events Flow Event Analysis Event Action
  • 15.
    All contents ©MuleSoft, LLC Periodic Design Suggestions Report • Situations: ➢ Business Events that are being processed with APIs are fed in the form of logs and other types actions into the AI Engine ➢ Based the error analysis, response time analysis and applying some intelligent rules the engine will make certain design suggestions if necessary to the APIs to optimal performance Business Event Type Detection Events Flow Event Analysis Event Action (Design Suggestion) Long term goal as this particular solution will need to learn from various data events occurring across each API.
  • 16.
    All contents ©MuleSoft, LLC Summary and Conclusions • We have looked at the following in our presentation ○ How APIs are central to the success of digital enterprises ○ Illustrated Couple of industry use cases on how API are driving the enterprises in digital age ○ Current API Monitoring and security options ○ How we can make these APIs self heal and be self sufficient ○ Possibilities are endless and can be used across many different use cases to make APIs performant and self reliant and completely automated.
  • 17.
    All contents ©MuleSoft, LLC Thank You
  • 18.
    All contents ©MuleSoft, LLC Quiz Time Get ready to WIN a Special Gift from MuleSoftCommunity
  • 19.
    All contents ©MuleSoft, LLC Take a stand ! 18 ●Nominate yourself for the next meetup speaker and suggest a topic as well.
  • 20.
    All contents ©MuleSoft, LLC 20 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/surat/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program What’s next?