SlideShare a Scribd company logo
NEVER LOSE DATA AGAIN: ROBUST INTEGRATIONS WITH
MULESOFT
June 3, 2020
Denver MuleSoft Meetup Group
All contents © MuleSoft Inc.
Agenda
2
• 6:30PM - 6:35PM – Introductions
• 6:35PM - 7:30PM – Presentation/Demo
• 7:30PM - 7:45PM – Q&A
• 7:45PM - 8:00PM – Open Floor, Suggestions for Future Topics and
Speakers
All contents © MuleSoft Inc.
Introductions
3
• About the organizer:
– Big Compass
• About the presenter:
– Aaron Lieberman
• Asynchronous vs. Synchronous Considerations
• Caching
• Queuing
• Decoupling Application Components
(Microservices)
• Throttling
• Logging And Monitoring Across Decoupled
Microservices
MuleSoft Integration Best
Practices
All contents © MuleSoft Inc.
Integration Pain Points
5
• System visibility
• System traceability
• Supporting your integrations
• Message loss
• Scaling
• High availability
• Flexibility
What is the difference between Asynchronous and
Synchronous executions?
Giveaway!
Asynchronous vs.
Synchronous
All contents © MuleSoft Inc.
Asynchronous Vs. Synchronous Considerations
8
Consideration Explanation
What is async? Do not wait for workload to finish processing
What is sync? Wait for workload to finish processing
Async synonyms 1. Fire and forget
2. Non-blocking
Sync synonyms 1. Finish and move on
2. Blocking
Synchronous
All contents © MuleSoft Inc.
Synchronous Considerations
10
Consideration Explanation
What is Synchronous? Wait for workload to finish processing
Ways to Invoke
Synchronously
1. API request/response
2. Invoke via SDK and wait for response
3. Invoke via connector and wait to finish
4. Invoke flow and wait to finish
When to Invoke
Synchronously
1. GET requests requiring data to be returned
2. Response is required before moving on
3. Quick responses
When It Is Not a Good Idea
To Invoke Synchronously
1. Workloads that can process in the
background
2. Long-running processes
Benefits of Synchronous 1. Know right away if something
succeeded/failed
2. Can respond to clients without clients using
another method to lookup results
All contents © MuleSoft Inc.
Synchronous Data Flow
11
All contents © MuleSoft Inc.
Demo Data Flow
12
Demo
Synchronous API
All contents © MuleSoft Inc.
Caching
14
Consideration Explanation
What is Caching? Maintain frequently accessed data in memory or in
an external store (Object Store V2) made for quick
access
Ways to Cache 1. API Manager
2. Caching Scope
When to Cache 1. Frequently accessed data
2. GET requests
3. Static responses
4. Overworked resources
When It Is Not a
Good Idea To Cache
1. Updates are frequently made to resources
Benefits of Caching 1. Faster responses
2. Better UX
3. Less strain on downstream systems
4. Hide network failures
All contents © MuleSoft Inc.
Caching Data Flow
15
Demo
Caching
Asynchronous
All contents © MuleSoft Inc.
Asynchronous Considerations
18
Consideration Explanation
What is Asynchronous? Do not wait for workload to finish processing
Ways to Invoke
Asynchronously
1. Utilizing queues/topics
2. Fire and forget
3. Async scope
When to Invoke
Asynchronously
1. POST/PUT/DELETE requests not requiring
data to be returned
2. Response is not required before moving on
3. Slower processes that can run in the
background
When It Is Not a Good Idea
To Invoke Asynchronously
1. Clients expecting immediate response
2. Short-running processes
Benefits of Asynchronous 1. Allows the system to process high volumes
of data in parallel
2. Utilize concurrency and application
horsepower effectively
All contents © MuleSoft Inc.
Asynchronous Data Flow
19
Demo
Asynchronous API
All contents © MuleSoft Inc.
Queuing Considerations
21
Consideration Explanation
What is Queuing? Park messages in a message “parking lot”
Ways to Queue Messages 1. Queue providers such as Anypoint MQ or
AWS SQS
2. Various queuing connectors provided by
MuleSoft such as VM Queue
When to Queue Messages 1. Asynchronous invocations
2. Metering and throttling before a downstream
system
3. Checkpoints to guarantee delivery
When It Is Not a Good Idea
To Queue Messages
1. Synchronous invocations
2. Live event streaming
Benefits of Queuing
Messages
1. ZERO DATA LOSS - Ensures each part of a
system can reliably deliver a message
2. Achieve reliability pattern
3. Decouple application components
All contents © MuleSoft Inc.
Queuing Data Flow
22
All contents © MuleSoft Inc.
Queuing Example
23
All contents © MuleSoft Inc.
Decoupling Considerations
24
Consideration Explanation
What is Decoupling? Keeping parts of a system separate and isolated so
one component does not rely on another
Ways to Decouple 1. Logically split application components into
microservices
2. Use queues in between application components
When to Decouple 1. Monolithic applications
2. Failures occur that should not affect other areas of
the system
3. Too many vCores are needed to maintain one
application
4. When scaling one application is difficult
When It Is Not a Good Idea
To Decouple
1. When a microservice is small enough
2. A microservice already performs one function well
Benefits of Decoupling 1. Failures/errors are isolated
2. Fine tune each component of a system
All contents © MuleSoft Inc.
Decoupling A System
25
All contents © MuleSoft Inc.
Decoupling A System With Messaging
26
All contents © MuleSoft Inc.
Decoupling Example
27
Name 2 use cases for throttling.
Giveaway!
All contents © MuleSoft Inc.
Throttling Considerations
29
Consideration Explanation
What is Throttling? Limiting the number of concurrent events at any one
time
Ways to Throttle 1. Limit max concurrency on a flow in Mule 4
2. Use a processing strategy in Mule 3
3. Use queues
4. Use holding locations like a database
When to Throttle 1. Potential to flood downstream system
2. Delay processing of data
3. Control application utilization
When It Is Not a Good Idea
To Throttle
1. Your system cannot process data fast enough
2. Downstream systems can handle your volume
Benefits of Throttling 1. Control of concurrent events
2. Protection against system flooding
All contents © MuleSoft Inc.
Throttling Data Flow
30
Demo
Queuing, Decoupling, and Throttling
All contents © MuleSoft Inc.
Logging and Monitoring Considerations
32
Consideration Explanation
What is Logging? Exposing system events to gain visibility and trace
events in the system
Ways to Log and Monitor 1. External system such as ELK or Splunk
2. CloudHub logging
3. Logging to a file
4. Logging to a database
When to Log and Monitor 1. At logical events within the system
2. When the event will tell a part of a story
When It Is Not a Good Idea
To Log
1. Too much logging occurs – not user friendly
2. Pertinent information is not captured
Benefits of Logging and
Monitoring
1. Increased visibility into the system
2. Trace transactions from end to end
3. Decreased support cost
All contents © MuleSoft Inc.
Logging and Monitoring Data Flow
33
Demo
Logging and Monitoring
Name 2 use cases for a synchronous API and 2
use cases for an asynchronous API.
Giveaway!
All contents © MuleSoft Inc.
Synchronous vs. Asynchronous Summary
36
All contents © MuleSoft Inc.
References and Documentation
37
• Reliability pattern
– https://docs.mulesoft.com/mule-runtime/4.3/reliability-patterns
• Caching
– Cache scope
• https://docs.mulesoft.com/mule-runtime/4.3/cache-scope
– Caching policy
• https://help.mulesoft.com/s/article/How-to-configure-HTTP-Caching-Policy-for-a-specific-HTTP-
resource-in-API
• Log4j2
– https://docs.mulesoft.com/mule-runtime/4.3/logging-in-mule
• Throttling
– https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling
• MuleSoft Anypoint MQ
– https://docs.mulesoft.com/mq/mq-queues
Questions?
All contents © MuleSoft Inc.
What’s Next?
39
• Share:
– Tweet your pictures with the hashtag #MuleMeetup
– Invite your network to join: https://meetups.mulesoft.com/denver/
• Feedback:
– Contact your organizer aaron@bigcompass.com or linda.gunn@bigcompass.com
to suggest topics
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
• Our next meetup:
– Date: July 2020
– Location: TBD
– Topic: TBD
See you next time
Please send topic suggestions to the organizer
Never Lose Data Again: Robust Integrations With MuleSoft

More Related Content

What's hot

Orchestrating microservices like a ninja
Orchestrating microservices like a ninjaOrchestrating microservices like a ninja
Orchestrating microservices like a ninja
Apigee | Google Cloud
 
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga Camp Berlin 2018 - What's evolving in icinga 2018Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga
 
Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012
Boundary
 
Agile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTSAgile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTS
Murughan Palaniachari
 
Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga
 
Git version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTSGit version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTS
Murughan Palaniachari
 
Popular Git Workflows You Haven't Heard About
Popular Git Workflows You Haven't Heard AboutPopular Git Workflows You Haven't Heard About
Popular Git Workflows You Haven't Heard About
Atlassian
 
Operational Visibility at Global Scale
Operational Visibility at Global ScaleOperational Visibility at Global Scale
Operational Visibility at Global Scale
Sangeeta Narayanan
 
SouthBay SRE Meetup Jan 2016
SouthBay SRE Meetup Jan 2016SouthBay SRE Meetup Jan 2016
SouthBay SRE Meetup Jan 2016
Michael Kehoe
 
Api management - a lap around vs code extension
Api management  - a lap around vs code extensionApi management  - a lap around vs code extension
Api management - a lap around vs code extension
Wagner Silveira
 
Icinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - OpeningIcinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - Opening
Icinga
 
A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3
Glenn Block
 
Icinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and ElasticIcinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and Elastic
Icinga
 
Unleash the power of Serverless Computing
Unleash the power of Serverless ComputingUnleash the power of Serverless Computing
Unleash the power of Serverless Computing
Gaurav Madaan
 
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDealIcinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Icinga
 
Heroku cloud platform
Heroku cloud platformHeroku cloud platform
Heroku cloud platform
Hasan Khatib
 
Sysctr Track: Integrating the components of the System Center suite… The next...
Sysctr Track: Integrating the components of the System Center suite… The next...Sysctr Track: Integrating the components of the System Center suite… The next...
Sysctr Track: Integrating the components of the System Center suite… The next...
ITProceed
 
Intro to.net core 20170111
Intro to.net core   20170111Intro to.net core   20170111
Intro to.net core 20170111
Christian Horsdal
 
Consolidating services with middleware - NDC London 2017
Consolidating services with middleware - NDC London 2017Consolidating services with middleware - NDC London 2017
Consolidating services with middleware - NDC London 2017
Christian Horsdal
 
Intro Istio and what's new Istio 1.1
Intro Istio and what's new Istio 1.1Intro Istio and what's new Istio 1.1
Intro Istio and what's new Istio 1.1
Christian Posta
 

What's hot (20)

Orchestrating microservices like a ninja
Orchestrating microservices like a ninjaOrchestrating microservices like a ninja
Orchestrating microservices like a ninja
 
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga Camp Berlin 2018 - What's evolving in icinga 2018Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
 
Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012
 
Agile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTSAgile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTS
 
Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018
 
Git version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTSGit version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTS
 
Popular Git Workflows You Haven't Heard About
Popular Git Workflows You Haven't Heard AboutPopular Git Workflows You Haven't Heard About
Popular Git Workflows You Haven't Heard About
 
Operational Visibility at Global Scale
Operational Visibility at Global ScaleOperational Visibility at Global Scale
Operational Visibility at Global Scale
 
SouthBay SRE Meetup Jan 2016
SouthBay SRE Meetup Jan 2016SouthBay SRE Meetup Jan 2016
SouthBay SRE Meetup Jan 2016
 
Api management - a lap around vs code extension
Api management  - a lap around vs code extensionApi management  - a lap around vs code extension
Api management - a lap around vs code extension
 
Icinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - OpeningIcinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - Opening
 
A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3
 
Icinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and ElasticIcinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and Elastic
 
Unleash the power of Serverless Computing
Unleash the power of Serverless ComputingUnleash the power of Serverless Computing
Unleash the power of Serverless Computing
 
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDealIcinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
 
Heroku cloud platform
Heroku cloud platformHeroku cloud platform
Heroku cloud platform
 
Sysctr Track: Integrating the components of the System Center suite… The next...
Sysctr Track: Integrating the components of the System Center suite… The next...Sysctr Track: Integrating the components of the System Center suite… The next...
Sysctr Track: Integrating the components of the System Center suite… The next...
 
Intro to.net core 20170111
Intro to.net core   20170111Intro to.net core   20170111
Intro to.net core 20170111
 
Consolidating services with middleware - NDC London 2017
Consolidating services with middleware - NDC London 2017Consolidating services with middleware - NDC London 2017
Consolidating services with middleware - NDC London 2017
 
Intro Istio and what's new Istio 1.1
Intro Istio and what's new Istio 1.1Intro Istio and what's new Istio 1.1
Intro Istio and what's new Istio 1.1
 

Similar to Never Lose Data Again: Robust Integrations With MuleSoft

MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019
Ieva Navickaite
 
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-MonitoringPrinceton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Sravan Lingam
 
Advanced Database Management Syatem
Advanced Database Management SyatemAdvanced Database Management Syatem
Advanced Database Management Syatem
chirag patil
 
Firo
FiroFiro
Demystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoftDemystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoft
Sandeep Deshmukh
 
The Cloud Is NOT Just Someone Else's Computer
The Cloud Is NOT Just Someone Else's ComputerThe Cloud Is NOT Just Someone Else's Computer
The Cloud Is NOT Just Someone Else's Computer
James Cupps
 
Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0
D.Rajesh Kumar
 
Baltimore jan2019 mule4
Baltimore jan2019 mule4Baltimore jan2019 mule4
Baltimore jan2019 mule4
ManjuKumara GH
 
Employment Hero monitoring solution
Employment Hero monitoring solutionEmployment Hero monitoring solution
Employment Hero monitoring solution
Luong Vo
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
Zubair Aslam
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
Anurag Dwivedi
 
Distributed Systems in Data Engineering
Distributed Systems in Data EngineeringDistributed Systems in Data Engineering
Distributed Systems in Data Engineering
Adetimehin Oluwasegun Matthew
 
Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4
Tejas Purohit
 
Itsummit2015 blizzard
Itsummit2015 blizzardItsummit2015 blizzard
Itsummit2015 blizzard
kevin_donovan
 
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the CloudSkynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Sylvain Kalache
 
Connect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom ConnectorsConnect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom Connectors
AaronLieberman5
 
Distributed system
Distributed systemDistributed system
Distributed system
chirag patil
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Shekh Muenuddeen
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Shekh Muenuddeen
 
Section01-Overview.ppt
Section01-Overview.pptSection01-Overview.ppt
Section01-Overview.ppt
WaltonJrSmithTZ
 

Similar to Never Lose Data Again: Robust Integrations With MuleSoft (20)

MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019
 
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-MonitoringPrinceton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
 
Advanced Database Management Syatem
Advanced Database Management SyatemAdvanced Database Management Syatem
Advanced Database Management Syatem
 
Firo
FiroFiro
Firo
 
Demystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoftDemystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoft
 
The Cloud Is NOT Just Someone Else's Computer
The Cloud Is NOT Just Someone Else's ComputerThe Cloud Is NOT Just Someone Else's Computer
The Cloud Is NOT Just Someone Else's Computer
 
Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0
 
Baltimore jan2019 mule4
Baltimore jan2019 mule4Baltimore jan2019 mule4
Baltimore jan2019 mule4
 
Employment Hero monitoring solution
Employment Hero monitoring solutionEmployment Hero monitoring solution
Employment Hero monitoring solution
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
 
Distributed Systems in Data Engineering
Distributed Systems in Data EngineeringDistributed Systems in Data Engineering
Distributed Systems in Data Engineering
 
Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4
 
Itsummit2015 blizzard
Itsummit2015 blizzardItsummit2015 blizzard
Itsummit2015 blizzard
 
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the CloudSkynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
 
Connect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom ConnectorsConnect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom Connectors
 
Distributed system
Distributed systemDistributed system
Distributed system
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
Section01-Overview.ppt
Section01-Overview.pptSection01-Overview.ppt
Section01-Overview.ppt
 

More from AaronLieberman5

Innovating on B2B Connectivity
Innovating on B2B ConnectivityInnovating on B2B Connectivity
Innovating on B2B Connectivity
AaronLieberman5
 
API Security - Everything You Need to Know To Protect Your APIs
API Security - Everything You Need to Know To Protect Your APIsAPI Security - Everything You Need to Know To Protect Your APIs
API Security - Everything You Need to Know To Protect Your APIs
AaronLieberman5
 
The Integrations Behind Connecting With Salesforce
The Integrations Behind Connecting With SalesforceThe Integrations Behind Connecting With Salesforce
The Integrations Behind Connecting With Salesforce
AaronLieberman5
 
Integration Success with AWS and Boomi
Integration Success with AWS and BoomiIntegration Success with AWS and Boomi
Integration Success with AWS and Boomi
AaronLieberman5
 
Serverless & Serverless Devops: Scaling Together
Serverless & Serverless Devops: Scaling TogetherServerless & Serverless Devops: Scaling Together
Serverless & Serverless Devops: Scaling Together
AaronLieberman5
 
Unlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with ConfluentUnlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with Confluent
AaronLieberman5
 
Deep Visibility: Logging From Distributed Microservices
Deep Visibility: Logging From Distributed MicroservicesDeep Visibility: Logging From Distributed Microservices
Deep Visibility: Logging From Distributed Microservices
AaronLieberman5
 
Extending The Power Of Anypoint Platform Using Anypoint Service Mesh
Extending The Power Of Anypoint Platform Using Anypoint Service MeshExtending The Power Of Anypoint Platform Using Anypoint Service Mesh
Extending The Power Of Anypoint Platform Using Anypoint Service Mesh
AaronLieberman5
 
Serverless Cloud Integrations Meetup: The Path Forward
Serverless Cloud Integrations Meetup: The Path ForwardServerless Cloud Integrations Meetup: The Path Forward
Serverless Cloud Integrations Meetup: The Path Forward
AaronLieberman5
 
Accelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and ServerlessAccelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and Serverless
AaronLieberman5
 
Serverless Cloud Integrations: The Path Forward
Serverless CloudIntegrations: The Path ForwardServerless CloudIntegrations: The Path Forward
Serverless Cloud Integrations: The Path Forward
AaronLieberman5
 
Layered API Security: What Hackers Don't Want You To Know
Layered API Security: What Hackers Don't Want You To KnowLayered API Security: What Hackers Don't Want You To Know
Layered API Security: What Hackers Don't Want You To Know
AaronLieberman5
 
Securing ap is oauth and fine grained access control
Securing ap is   oauth and fine grained access controlSecuring ap is   oauth and fine grained access control
Securing ap is oauth and fine grained access control
AaronLieberman5
 
What Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API SecurityWhat Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API Security
AaronLieberman5
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime Fabric
AaronLieberman5
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime Fabric
AaronLieberman5
 
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom ConnectorsHow to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
AaronLieberman5
 

More from AaronLieberman5 (17)

Innovating on B2B Connectivity
Innovating on B2B ConnectivityInnovating on B2B Connectivity
Innovating on B2B Connectivity
 
API Security - Everything You Need to Know To Protect Your APIs
API Security - Everything You Need to Know To Protect Your APIsAPI Security - Everything You Need to Know To Protect Your APIs
API Security - Everything You Need to Know To Protect Your APIs
 
The Integrations Behind Connecting With Salesforce
The Integrations Behind Connecting With SalesforceThe Integrations Behind Connecting With Salesforce
The Integrations Behind Connecting With Salesforce
 
Integration Success with AWS and Boomi
Integration Success with AWS and BoomiIntegration Success with AWS and Boomi
Integration Success with AWS and Boomi
 
Serverless & Serverless Devops: Scaling Together
Serverless & Serverless Devops: Scaling TogetherServerless & Serverless Devops: Scaling Together
Serverless & Serverless Devops: Scaling Together
 
Unlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with ConfluentUnlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with Confluent
 
Deep Visibility: Logging From Distributed Microservices
Deep Visibility: Logging From Distributed MicroservicesDeep Visibility: Logging From Distributed Microservices
Deep Visibility: Logging From Distributed Microservices
 
Extending The Power Of Anypoint Platform Using Anypoint Service Mesh
Extending The Power Of Anypoint Platform Using Anypoint Service MeshExtending The Power Of Anypoint Platform Using Anypoint Service Mesh
Extending The Power Of Anypoint Platform Using Anypoint Service Mesh
 
Serverless Cloud Integrations Meetup: The Path Forward
Serverless Cloud Integrations Meetup: The Path ForwardServerless Cloud Integrations Meetup: The Path Forward
Serverless Cloud Integrations Meetup: The Path Forward
 
Accelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and ServerlessAccelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and Serverless
 
Serverless Cloud Integrations: The Path Forward
Serverless CloudIntegrations: The Path ForwardServerless CloudIntegrations: The Path Forward
Serverless Cloud Integrations: The Path Forward
 
Layered API Security: What Hackers Don't Want You To Know
Layered API Security: What Hackers Don't Want You To KnowLayered API Security: What Hackers Don't Want You To Know
Layered API Security: What Hackers Don't Want You To Know
 
Securing ap is oauth and fine grained access control
Securing ap is   oauth and fine grained access controlSecuring ap is   oauth and fine grained access control
Securing ap is oauth and fine grained access control
 
What Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API SecurityWhat Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API Security
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime Fabric
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime Fabric
 
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom ConnectorsHow to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
 

Recently uploaded

Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 

Recently uploaded (20)

Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 

Never Lose Data Again: Robust Integrations With MuleSoft

  • 1. NEVER LOSE DATA AGAIN: ROBUST INTEGRATIONS WITH MULESOFT June 3, 2020 Denver MuleSoft Meetup Group
  • 2. All contents © MuleSoft Inc. Agenda 2 • 6:30PM - 6:35PM – Introductions • 6:35PM - 7:30PM – Presentation/Demo • 7:30PM - 7:45PM – Q&A • 7:45PM - 8:00PM – Open Floor, Suggestions for Future Topics and Speakers
  • 3. All contents © MuleSoft Inc. Introductions 3 • About the organizer: – Big Compass • About the presenter: – Aaron Lieberman
  • 4. • Asynchronous vs. Synchronous Considerations • Caching • Queuing • Decoupling Application Components (Microservices) • Throttling • Logging And Monitoring Across Decoupled Microservices MuleSoft Integration Best Practices
  • 5. All contents © MuleSoft Inc. Integration Pain Points 5 • System visibility • System traceability • Supporting your integrations • Message loss • Scaling • High availability • Flexibility
  • 6. What is the difference between Asynchronous and Synchronous executions? Giveaway!
  • 8. All contents © MuleSoft Inc. Asynchronous Vs. Synchronous Considerations 8 Consideration Explanation What is async? Do not wait for workload to finish processing What is sync? Wait for workload to finish processing Async synonyms 1. Fire and forget 2. Non-blocking Sync synonyms 1. Finish and move on 2. Blocking
  • 10. All contents © MuleSoft Inc. Synchronous Considerations 10 Consideration Explanation What is Synchronous? Wait for workload to finish processing Ways to Invoke Synchronously 1. API request/response 2. Invoke via SDK and wait for response 3. Invoke via connector and wait to finish 4. Invoke flow and wait to finish When to Invoke Synchronously 1. GET requests requiring data to be returned 2. Response is required before moving on 3. Quick responses When It Is Not a Good Idea To Invoke Synchronously 1. Workloads that can process in the background 2. Long-running processes Benefits of Synchronous 1. Know right away if something succeeded/failed 2. Can respond to clients without clients using another method to lookup results
  • 11. All contents © MuleSoft Inc. Synchronous Data Flow 11
  • 12. All contents © MuleSoft Inc. Demo Data Flow 12
  • 14. All contents © MuleSoft Inc. Caching 14 Consideration Explanation What is Caching? Maintain frequently accessed data in memory or in an external store (Object Store V2) made for quick access Ways to Cache 1. API Manager 2. Caching Scope When to Cache 1. Frequently accessed data 2. GET requests 3. Static responses 4. Overworked resources When It Is Not a Good Idea To Cache 1. Updates are frequently made to resources Benefits of Caching 1. Faster responses 2. Better UX 3. Less strain on downstream systems 4. Hide network failures
  • 15. All contents © MuleSoft Inc. Caching Data Flow 15
  • 18. All contents © MuleSoft Inc. Asynchronous Considerations 18 Consideration Explanation What is Asynchronous? Do not wait for workload to finish processing Ways to Invoke Asynchronously 1. Utilizing queues/topics 2. Fire and forget 3. Async scope When to Invoke Asynchronously 1. POST/PUT/DELETE requests not requiring data to be returned 2. Response is not required before moving on 3. Slower processes that can run in the background When It Is Not a Good Idea To Invoke Asynchronously 1. Clients expecting immediate response 2. Short-running processes Benefits of Asynchronous 1. Allows the system to process high volumes of data in parallel 2. Utilize concurrency and application horsepower effectively
  • 19. All contents © MuleSoft Inc. Asynchronous Data Flow 19
  • 21. All contents © MuleSoft Inc. Queuing Considerations 21 Consideration Explanation What is Queuing? Park messages in a message “parking lot” Ways to Queue Messages 1. Queue providers such as Anypoint MQ or AWS SQS 2. Various queuing connectors provided by MuleSoft such as VM Queue When to Queue Messages 1. Asynchronous invocations 2. Metering and throttling before a downstream system 3. Checkpoints to guarantee delivery When It Is Not a Good Idea To Queue Messages 1. Synchronous invocations 2. Live event streaming Benefits of Queuing Messages 1. ZERO DATA LOSS - Ensures each part of a system can reliably deliver a message 2. Achieve reliability pattern 3. Decouple application components
  • 22. All contents © MuleSoft Inc. Queuing Data Flow 22
  • 23. All contents © MuleSoft Inc. Queuing Example 23
  • 24. All contents © MuleSoft Inc. Decoupling Considerations 24 Consideration Explanation What is Decoupling? Keeping parts of a system separate and isolated so one component does not rely on another Ways to Decouple 1. Logically split application components into microservices 2. Use queues in between application components When to Decouple 1. Monolithic applications 2. Failures occur that should not affect other areas of the system 3. Too many vCores are needed to maintain one application 4. When scaling one application is difficult When It Is Not a Good Idea To Decouple 1. When a microservice is small enough 2. A microservice already performs one function well Benefits of Decoupling 1. Failures/errors are isolated 2. Fine tune each component of a system
  • 25. All contents © MuleSoft Inc. Decoupling A System 25
  • 26. All contents © MuleSoft Inc. Decoupling A System With Messaging 26
  • 27. All contents © MuleSoft Inc. Decoupling Example 27
  • 28. Name 2 use cases for throttling. Giveaway!
  • 29. All contents © MuleSoft Inc. Throttling Considerations 29 Consideration Explanation What is Throttling? Limiting the number of concurrent events at any one time Ways to Throttle 1. Limit max concurrency on a flow in Mule 4 2. Use a processing strategy in Mule 3 3. Use queues 4. Use holding locations like a database When to Throttle 1. Potential to flood downstream system 2. Delay processing of data 3. Control application utilization When It Is Not a Good Idea To Throttle 1. Your system cannot process data fast enough 2. Downstream systems can handle your volume Benefits of Throttling 1. Control of concurrent events 2. Protection against system flooding
  • 30. All contents © MuleSoft Inc. Throttling Data Flow 30
  • 32. All contents © MuleSoft Inc. Logging and Monitoring Considerations 32 Consideration Explanation What is Logging? Exposing system events to gain visibility and trace events in the system Ways to Log and Monitor 1. External system such as ELK or Splunk 2. CloudHub logging 3. Logging to a file 4. Logging to a database When to Log and Monitor 1. At logical events within the system 2. When the event will tell a part of a story When It Is Not a Good Idea To Log 1. Too much logging occurs – not user friendly 2. Pertinent information is not captured Benefits of Logging and Monitoring 1. Increased visibility into the system 2. Trace transactions from end to end 3. Decreased support cost
  • 33. All contents © MuleSoft Inc. Logging and Monitoring Data Flow 33
  • 35. Name 2 use cases for a synchronous API and 2 use cases for an asynchronous API. Giveaway!
  • 36. All contents © MuleSoft Inc. Synchronous vs. Asynchronous Summary 36
  • 37. All contents © MuleSoft Inc. References and Documentation 37 • Reliability pattern – https://docs.mulesoft.com/mule-runtime/4.3/reliability-patterns • Caching – Cache scope • https://docs.mulesoft.com/mule-runtime/4.3/cache-scope – Caching policy • https://help.mulesoft.com/s/article/How-to-configure-HTTP-Caching-Policy-for-a-specific-HTTP- resource-in-API • Log4j2 – https://docs.mulesoft.com/mule-runtime/4.3/logging-in-mule • Throttling – https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling • MuleSoft Anypoint MQ – https://docs.mulesoft.com/mq/mq-queues
  • 39. All contents © MuleSoft Inc. What’s Next? 39 • Share: – Tweet your pictures with the hashtag #MuleMeetup – Invite your network to join: https://meetups.mulesoft.com/denver/ • Feedback: – Contact your organizer aaron@bigcompass.com or linda.gunn@bigcompass.com to suggest topics – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program • Our next meetup: – Date: July 2020 – Location: TBD – Topic: TBD
  • 40. See you next time Please send topic suggestions to the organizer

Editor's Notes

  1. Async is as if you elect to get a callback when on hold an hour later Sync is like you’re waiting on hold until someone answers the phone