SlideShare a Scribd company logo
1 of 25
29th Jun,2019
Hyderabad MuleSoft Meetup Group
All contents © MuleSoft Inc.
Agenda
2
• 15:30 Introduction
• 15:45 Session 1
• 16:45 Break for Snacks
• 17:05 Session 2
• 17:40 Q&A
Introductions
All contents © MuleSoft Inc.
Introductions
4
About the organizer/speaker :
– Ravishankar Mishra – Integration Architect , Accenture
– Satwinder Singh Banipal - Integration Architect, Accenture
Partner:
• Consulting services
• Professional Services
All contents © MuleSoft Inc.
Introductions
5
Introduce yourselves !
– Name
– Background
• What’s your experience with Anypoint platform/ Mule ESB?
• Why are you here ? Expectations?
New Foundation of Mule 4
All contents © MuleSoft Inc.
New Foundation of Mule 4
7
• What’s In-Scope
-Reactive Programming Model
-Non Blocking Operations
-Thread Management in Mule 4.x
-Streaming in Mule 4.x
All contents © MuleSoft Inc.
New Foundation of Mule 4
8
• We build integration solutions which cater to high volumes of real-time and batch
data
– Connectivity, Transformation, Enrichment, Validation, Routing, Error Handling, Security
• Horizontal Scalability: High rates of API calls per second(More workers)
• Vertical Scalability :Memory intensive processing (More vCore)
• In Mule 4 vertical scaling is done differently using reactive programming. The aim
is to maximize throughput and higher concurrency using non-blocking operations.
This leads to more efficient use of CPU, memory and disk space.
All contents © MuleSoft Inc.
New Foundation of Mule 4
9
• Non Blocking Operations
-Fundamental to Reactive Programming (eventually Mule 4)
-No Thread waits for any operation
-Increases Concurrency however Latency is also more
-Manual and E toll on highways
All contents © MuleSoft Inc.
New Foundation of Mule 4
10
• Reactive Programming
-Appetite for fast and responsive app (Picture Link)
-Rx in .NET==JavaRx ==Reactor in Spring==Heart of Mule 4
-Merging Iterator and Observer Design Patterns
• Giving consumer the power when to consume the data
• Giving publisher the power when to push data
-Back Pressure
• Chain of (mostly) non blocking pub/sub pairs
• Subscriber to signal to producer “slow down”
-Automatic Back Pressure (No free threads available signal)
• HTTP Listener 503-”Server Busy”
• JMS Listener would not acknowledge the message
• Avoid Out of Memory errors
-Manual Back Pressure
• maxConcurrency feature (Controls number of events)
All contents © MuleSoft Inc.
New Foundation of Mule 4
11
• Thread Management
-Mule 3 flow processing Strategies
• Sync (Default)
• Thread-per-processor(each processor in sequential different thread)
• Qd-thread-per-processor(Induce a SEDA Q in previous),
• QdAsync (Induce Q so no distribution across nodes)
• Non-blocking (Picture Link)
-One flow is getting executed by multiple threads in Mule 4 (Picture link)
-Typical thread switching (Picture Link)
-Transactional Scenario(Picture Link)
-Transactional with Async (Picture Link)
-Try Scope with transaction (Picture Link)
All contents © MuleSoft Inc.
Streaming: To process larger-than-memory Mule events, they are data structures that helps to process
large data objects such as files, documents, and records by processing data continuously as it arrives.
- Does not hold all the values in memory for processing unlike In-memory data structures
- Avoids Out-Of-Memory while processing large data objects
Mule 4 runtime by default streams large data payloads without any explicit configuration.
All the Mule4 components that returns an InputStream or a Streamable collections support repeatable
streams
Some Connectors that support repeatable streams:
-File
-FTP
-DB
-HTTP
-Sockets
-Salesforce
New Foundation of Mule 4
All contents © MuleSoft Inc.
New Foundation of Mule 4
13
• Streaming options in Mule 4
- File based Repeatable Streams
• Only available for Enterprise Edition
• By Default store 500 objects in its In-Memory buffer and can be configured further
• Excess objects get written to disk via Kyro Serializer
- In-Memory Repeatable Streams
• Default for Mule Community Edition
• Uses default max buffer size of 500 objects
• Increment size is 100 Objects until it reaches max buffer size
• In case stream exceed max buffer limit, then application fails
-Non Repeatable Streams
• The input stream is only Read Once
• No extra memory/performance overhead compared with repeatable streams
All contents © MuleSoft Inc.
New Foundation of Mule 4
14
• Types of Repeatable Streams
Binary Streaming: Stream does not understand its data structure for modules like
HTTP, SFTP, and File.(Picture Link)
Object Streaming: Generally used for operations which support paging. Eg: Database,
Salesforce select operations.(Picture Link)
Thank You!!!
Open discussion
All contents © MuleSoft Inc.
Pic-1 Non Blocking
17
• Back
All contents © MuleSoft Inc.
Pic-2 Thread Pools
18
• Back
All contents © MuleSoft Inc.
Pic-3 Typical Thread Switching
19
• Back
All contents © MuleSoft Inc.
Pic-4 Transactional with JMS
20
• Back
All contents © MuleSoft Inc.
Pic-5 Transactional with Async
21
• Back
All contents © MuleSoft Inc.
Pic-6 Transactional with Try scope
22
• Back
All contents © MuleSoft Inc.
Pic-7 Pub-Sub model
23
• Back
All contents © MuleSoft Inc.
Pic-8 Binary Streaming
24
• Back
All contents © MuleSoft Inc.
Pic-9 Object Streaming
25
• Back

More Related Content

What's hot

Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st juneSantosh Ojha
 
[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using Ballerina[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using BallerinaWSO2
 
SPCA2013 - Automating SharePoint
SPCA2013 - Automating SharePointSPCA2013 - Automating SharePoint
SPCA2013 - Automating SharePointNCCOMMS
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaianshkhurana01
 
VMware VCP7-DTM: More than just Horizon View
VMware VCP7-DTM: More than just Horizon ViewVMware VCP7-DTM: More than just Horizon View
VMware VCP7-DTM: More than just Horizon ViewMatt Crape
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Zubair Aslam
 
Service-oriented architecture
Service-oriented architectureService-oriented architecture
Service-oriented architectureShalva Usubov
 
Streams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik KnopStreams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik KnopPerforce
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiVibrantGroup
 
SPCA2013 - Taming BIG SharePoint
SPCA2013 - Taming BIG SharePointSPCA2013 - Taming BIG SharePoint
SPCA2013 - Taming BIG SharePointNCCOMMS
 
Life of our small product
Life of our small productLife of our small product
Life of our small productKenji HASUNUMA
 
Scaling from 1 to 10 million users - Hailo
Scaling from 1 to 10 million users - HailoScaling from 1 to 10 million users - Hailo
Scaling from 1 to 10 million users - HailoBoyan Dimitrov
 
Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019pruthviraj krishnam
 

What's hot (18)

Think Big - Build Small
Think Big - Build SmallThink Big - Build Small
Think Big - Build Small
 
Rails engines
Rails enginesRails engines
Rails engines
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st june
 
[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using Ballerina[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using Ballerina
 
SPCA2013 - Automating SharePoint
SPCA2013 - Automating SharePointSPCA2013 - Automating SharePoint
SPCA2013 - Automating SharePoint
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
 
VMware VCP7-DTM: More than just Horizon View
VMware VCP7-DTM: More than just Horizon ViewVMware VCP7-DTM: More than just Horizon View
VMware VCP7-DTM: More than just Horizon View
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
 
Using ansible to manage cloud stack
Using ansible to manage cloud stackUsing ansible to manage cloud stack
Using ansible to manage cloud stack
 
AMIS OOW Review 2012 - Deel 5 Coherence - Paco van der Linden
AMIS OOW Review 2012 - Deel 5 Coherence - Paco van der LindenAMIS OOW Review 2012 - Deel 5 Coherence - Paco van der Linden
AMIS OOW Review 2012 - Deel 5 Coherence - Paco van der Linden
 
Service-oriented architecture
Service-oriented architectureService-oriented architecture
Service-oriented architecture
 
Streams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik KnopStreams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik Knop
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
 
SPCA2013 - Taming BIG SharePoint
SPCA2013 - Taming BIG SharePointSPCA2013 - Taming BIG SharePoint
SPCA2013 - Taming BIG SharePoint
 
Life of our small product
Life of our small productLife of our small product
Life of our small product
 
Scaling from 1 to 10 million users - Hailo
Scaling from 1 to 10 million users - HailoScaling from 1 to 10 million users - Hailo
Scaling from 1 to 10 million users - Hailo
 
Velocity - Edge UG
Velocity - Edge UGVelocity - Edge UG
Velocity - Edge UG
 
Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019
 

Similar to Mulesoft meetup 29.06

MuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideMuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideManish Kumar Yadav
 
Mule soft meetup warsaw november 13th, 2019
Mule soft meetup   warsaw november 13th, 2019Mule soft meetup   warsaw november 13th, 2019
Mule soft meetup warsaw november 13th, 2019Patryk Bandurski
 
Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Akshata Sawant
 
Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup Rajesh Maheshwari
 
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter MuleSoft
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsBen Krug
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramAnurag Dwivedi
 
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...DataStax Academy
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
Architecture Patterns - Open Discussion
Architecture Patterns - Open DiscussionArchitecture Patterns - Open Discussion
Architecture Patterns - Open DiscussionNguyen Tung
 
Mule Runtime: Performance Tuning
Mule Runtime: Performance Tuning Mule Runtime: Performance Tuning
Mule Runtime: Performance Tuning MuleSoft
 
Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Tejas Purohit
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 Geir Høydalsvik
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16Sanjay Manwani
 
ADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
ADV Slides: Trends in Streaming Analytics and Message-oriented MiddlewareADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
ADV Slides: Trends in Streaming Analytics and Message-oriented MiddlewareDATAVERSITY
 
Meetup hyderabad mule-4.x
Meetup hyderabad mule-4.xMeetup hyderabad mule-4.x
Meetup hyderabad mule-4.xSantosh Ojha
 
Infrastructure as Data with Ansible for easier Continuous Delivery
Infrastructure as Data with Ansible for easier Continuous DeliveryInfrastructure as Data with Ansible for easier Continuous Delivery
Infrastructure as Data with Ansible for easier Continuous DeliveryCarlo Bonamico
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014Sanjay Manwani
 

Similar to Mulesoft meetup 29.06 (20)

MuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideMuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
 
Mule soft meetup warsaw november 13th, 2019
Mule soft meetup   warsaw november 13th, 2019Mule soft meetup   warsaw november 13th, 2019
Mule soft meetup warsaw november 13th, 2019
 
Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11
 
Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup
 
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
 
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...
C* Summit 2013: Time for a New Relationship - Intuit's Journey from RDBMS to ...
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Architecture Patterns - Open Discussion
Architecture Patterns - Open DiscussionArchitecture Patterns - Open Discussion
Architecture Patterns - Open Discussion
 
Introduction to Apache Synapse
Introduction to Apache SynapseIntroduction to Apache Synapse
Introduction to Apache Synapse
 
Mule Runtime: Performance Tuning
Mule Runtime: Performance Tuning Mule Runtime: Performance Tuning
Mule Runtime: Performance Tuning
 
Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16
 
ADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
ADV Slides: Trends in Streaming Analytics and Message-oriented MiddlewareADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
ADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
 
Meetup hyderabad mule-4.x
Meetup hyderabad mule-4.xMeetup hyderabad mule-4.x
Meetup hyderabad mule-4.x
 
Infrastructure as Data with Ansible for easier Continuous Delivery
Infrastructure as Data with Ansible for easier Continuous DeliveryInfrastructure as Data with Ansible for easier Continuous Delivery
Infrastructure as Data with Ansible for easier Continuous Delivery
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
 

More from RaviShankar Mishra

Token Management using Stormpath inside Mule
Token Management using Stormpath inside MuleToken Management using Stormpath inside Mule
Token Management using Stormpath inside MuleRaviShankar Mishra
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esbRaviShankar Mishra
 
Creating restful api using mule esb
Creating restful api using mule esbCreating restful api using mule esb
Creating restful api using mule esbRaviShankar Mishra
 
Connecting to salesforce and using database in mule
Connecting to salesforce and using database in muleConnecting to salesforce and using database in mule
Connecting to salesforce and using database in muleRaviShankar Mishra
 

More from RaviShankar Mishra (6)

Token Management using Stormpath inside Mule
Token Management using Stormpath inside MuleToken Management using Stormpath inside Mule
Token Management using Stormpath inside Mule
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esb
 
Drools rule Concepts
Drools rule ConceptsDrools rule Concepts
Drools rule Concepts
 
Data weave in Mule
Data weave in MuleData weave in Mule
Data weave in Mule
 
Creating restful api using mule esb
Creating restful api using mule esbCreating restful api using mule esb
Creating restful api using mule esb
 
Connecting to salesforce and using database in mule
Connecting to salesforce and using database in muleConnecting to salesforce and using database in mule
Connecting to salesforce and using database in mule
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Mulesoft meetup 29.06

  • 2. All contents © MuleSoft Inc. Agenda 2 • 15:30 Introduction • 15:45 Session 1 • 16:45 Break for Snacks • 17:05 Session 2 • 17:40 Q&A
  • 4. All contents © MuleSoft Inc. Introductions 4 About the organizer/speaker : – Ravishankar Mishra – Integration Architect , Accenture – Satwinder Singh Banipal - Integration Architect, Accenture Partner: • Consulting services • Professional Services
  • 5. All contents © MuleSoft Inc. Introductions 5 Introduce yourselves ! – Name – Background • What’s your experience with Anypoint platform/ Mule ESB? • Why are you here ? Expectations?
  • 7. All contents © MuleSoft Inc. New Foundation of Mule 4 7 • What’s In-Scope -Reactive Programming Model -Non Blocking Operations -Thread Management in Mule 4.x -Streaming in Mule 4.x
  • 8. All contents © MuleSoft Inc. New Foundation of Mule 4 8 • We build integration solutions which cater to high volumes of real-time and batch data – Connectivity, Transformation, Enrichment, Validation, Routing, Error Handling, Security • Horizontal Scalability: High rates of API calls per second(More workers) • Vertical Scalability :Memory intensive processing (More vCore) • In Mule 4 vertical scaling is done differently using reactive programming. The aim is to maximize throughput and higher concurrency using non-blocking operations. This leads to more efficient use of CPU, memory and disk space.
  • 9. All contents © MuleSoft Inc. New Foundation of Mule 4 9 • Non Blocking Operations -Fundamental to Reactive Programming (eventually Mule 4) -No Thread waits for any operation -Increases Concurrency however Latency is also more -Manual and E toll on highways
  • 10. All contents © MuleSoft Inc. New Foundation of Mule 4 10 • Reactive Programming -Appetite for fast and responsive app (Picture Link) -Rx in .NET==JavaRx ==Reactor in Spring==Heart of Mule 4 -Merging Iterator and Observer Design Patterns • Giving consumer the power when to consume the data • Giving publisher the power when to push data -Back Pressure • Chain of (mostly) non blocking pub/sub pairs • Subscriber to signal to producer “slow down” -Automatic Back Pressure (No free threads available signal) • HTTP Listener 503-”Server Busy” • JMS Listener would not acknowledge the message • Avoid Out of Memory errors -Manual Back Pressure • maxConcurrency feature (Controls number of events)
  • 11. All contents © MuleSoft Inc. New Foundation of Mule 4 11 • Thread Management -Mule 3 flow processing Strategies • Sync (Default) • Thread-per-processor(each processor in sequential different thread) • Qd-thread-per-processor(Induce a SEDA Q in previous), • QdAsync (Induce Q so no distribution across nodes) • Non-blocking (Picture Link) -One flow is getting executed by multiple threads in Mule 4 (Picture link) -Typical thread switching (Picture Link) -Transactional Scenario(Picture Link) -Transactional with Async (Picture Link) -Try Scope with transaction (Picture Link)
  • 12. All contents © MuleSoft Inc. Streaming: To process larger-than-memory Mule events, they are data structures that helps to process large data objects such as files, documents, and records by processing data continuously as it arrives. - Does not hold all the values in memory for processing unlike In-memory data structures - Avoids Out-Of-Memory while processing large data objects Mule 4 runtime by default streams large data payloads without any explicit configuration. All the Mule4 components that returns an InputStream or a Streamable collections support repeatable streams Some Connectors that support repeatable streams: -File -FTP -DB -HTTP -Sockets -Salesforce New Foundation of Mule 4
  • 13. All contents © MuleSoft Inc. New Foundation of Mule 4 13 • Streaming options in Mule 4 - File based Repeatable Streams • Only available for Enterprise Edition • By Default store 500 objects in its In-Memory buffer and can be configured further • Excess objects get written to disk via Kyro Serializer - In-Memory Repeatable Streams • Default for Mule Community Edition • Uses default max buffer size of 500 objects • Increment size is 100 Objects until it reaches max buffer size • In case stream exceed max buffer limit, then application fails -Non Repeatable Streams • The input stream is only Read Once • No extra memory/performance overhead compared with repeatable streams
  • 14. All contents © MuleSoft Inc. New Foundation of Mule 4 14 • Types of Repeatable Streams Binary Streaming: Stream does not understand its data structure for modules like HTTP, SFTP, and File.(Picture Link) Object Streaming: Generally used for operations which support paging. Eg: Database, Salesforce select operations.(Picture Link)
  • 17. All contents © MuleSoft Inc. Pic-1 Non Blocking 17 • Back
  • 18. All contents © MuleSoft Inc. Pic-2 Thread Pools 18 • Back
  • 19. All contents © MuleSoft Inc. Pic-3 Typical Thread Switching 19 • Back
  • 20. All contents © MuleSoft Inc. Pic-4 Transactional with JMS 20 • Back
  • 21. All contents © MuleSoft Inc. Pic-5 Transactional with Async 21 • Back
  • 22. All contents © MuleSoft Inc. Pic-6 Transactional with Try scope 22 • Back
  • 23. All contents © MuleSoft Inc. Pic-7 Pub-Sub model 23 • Back
  • 24. All contents © MuleSoft Inc. Pic-8 Binary Streaming 24 • Back
  • 25. All contents © MuleSoft Inc. Pic-9 Object Streaming 25 • Back