SlideShare a Scribd company logo
28th August 2021
Calicut MuleSoft Meetup Group
#3 Understanding SLB, DLB and Web Sockets
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
Organizers
Fathima Farzana John Mathew Philip
NJC Labs NJC Labs
MuleSoft / Integration Developer MuleSoft / Integration
Developer
3
MuleSoft Developer Research Survey
● Have you done the survey yet?
● This will help MuleSoft to better the contents and materials making it more awesome!!
● Visit https://survey.developernation.net/name/mu_3q2021
4
5
● Introductions
● MuleSoft Load Balancers
● Demo
● Web Sockets
● Demo
● Trivia Quiz
● Wrap-Up
Agenda
● Subject Matter Expert at PwC Poland
● MuleSoft Ambassador
● MuleSoft Meetup Leader for Warsaw, Poland
● Working with MuleSoft products for over 8 years now
● One of Salesforce Trailblazers
https://trailhead.salesforce.com/trailblazers/patryk-bandurski
Speaker
Check out my integration blog
https://ambassadorpatryk.com/blog
6
All contents © MuleSoft, LLC
MuleSoft Load Balancers
All contents © MuleSoft, LLC
Shared Worker Cloud
<app-name>
<app-name>
Shared Load Balancer
8
Public Internet
Shared Load Balancer
HTTP 8081 ~ 80
HTTPS 8082 ~ 443
http://<app-name>.<region>.cloudhub.io
http://mule-worker<app-
name>.<region>.cloudhub.io:<port>
All contents © MuleSoft, LLC
Private Worker Cloud
<app-name>
<app-name>
Shared Load Balancer with VPC
9
Public Internet
HTTP 8091 ~ 80
HTTPS 8092 ~ 443
http://<app-name>.<region>.cloudhub.io
http://mule-worker<app-
name>.<region>.cloudhub.io:<port>
Shared Load Balancer
All contents © MuleSoft, LLC
Private Worker Cloud
<app-name>
<app-name>
Dedicated Load Balancer
10
Public Internet Dedicated Load Balancer
VPC HTTP 8091 ~ 80
VPC HTTPS 8092 ~ 443
<lb-name>.lb.anypointdns.net/<app-name>
http://mule-worker<app-
name>.<region>.cloudhub.io:<port>
Mapping Rules <lb-name>.lb.anypointdns.net/<app-name>
<app-name>.<region>.cloudhub.io
http://mule-worker-internal-<app-name>.<region>.cloudhub.io:<port>
All contents © MuleSoft, LLC
Shared vs Dedicated Load Balancer
11
Shared Load Balancer Dedicated Load Balancer
• OOB Basic load balancing functionality
• TCP load balancing
• No custom SSL certificates or proxy rules
• No Custom Domain Names
• Rate Limits: under 100 transactions per
second, exceed returns a service
unavailable response, MuleSoft
monitors/scales by region
• Supports TLS 1.1, 1.2
• Routes HTTPS traffic to port 8082
• Routes HTTP traffic to port 8081
• Configurable load balancing features within an
Anypoint VPC (Virtual Private Cloud)
• Handles load balancing between CloudHub workers
• Define TLS configurations to provide custom certs
• Optionally enforce two-way TLS client authentication
• Configure proxy rules that map applications to
custom domain
• Custom Domain Names
• Must create Anypoint VPC
• Associate multiple environments with same VPC
• Use same DLB for all environments
All contents © MuleSoft, LLC
Vanity or Custom Domain Names
12
● You can create a mapping rule to rename a Mule application, so it can be
accessed through a different domain name within your corporate DNS domain
name.
○ Example: <my-app>-meetup-prod.cloudhub.io
● In addition, you can set a CNAME record in DNS nameserver to map the <lb-
name>.lb-anypointdns.net => to "vanity" domain.
○ Example: <lb-name>-meetup-prod.com
All contents © MuleSoft, LLC
Mapping Rules
13
• Input Path: The URI the client requests (default) /{my-app}/
• Target App: The Name of the CloudHub application that processes the request {app}-example
• Output Path: The URI string to pass to the app (can not contain patterns)
• Protocol: http, https, WebSockets, WebSockets over SSL/TLS
All contents © MuleSoft, LLC
Mapping Rules using Patterns
14
• Pattern is a string that defines a template for matching input text
• {pattern-value} where pattern-value is a variable
• Results of this mapping <lb-name>.lb.anypointdns.net/{app}
• Redirects to {app}.cloudhub.io
https://docs.mulesoft.com/runtime-manager/lb-mapping-rules
All contents © MuleSoft, LLC
DEMOS
WebSockets support in MuleSoft
What is a WebSocket?
● Duplex communication channel
● Single TCP connection
Supported operations
● Sending message
● Broadcasting
16
All contents © MuleSoft, LLC
DEMOS
Trivia Quiz
#3   calicut meetup - understanding slb, dlb and web sockets
1. What is the default HTTP Mule Port used on CloudHub?
A. 8081
B. 80
C. 8082
D. 8091
20
2. DLB is located within VPC
A. TRUE
A. FALSE
21
3. Which prefix allow to connect to application using its private IP (from VPC)?
A. mule-worker-my-app.cloudhub.io
A. mule-worker-internal-my-app.cloudhub.io
A. my-app.cloudhub.io
22
23
● Share:
○ Tweet using the hashtag #MuleSoftMeetups and #CalicutMuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/calicut/
● 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?
Thank you

More Related Content

PPTX
#2 connected apps_calicut_31_july
PDF
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
PDF
MuleSoft Surat Virtual Meetup#29 - Deep Dive into MuleSoft Batch Processing (...
PPTX
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
PPTX
#1 Calicut MuleSoft Meetup - Introduction to Enterprise Integration and MuleSoft
PPTX
Solace PubSub+ MuleSoft Connector for Mule 4
PPTX
Mumbai MuleSoft Meetup #18
PPTX
MuleSoft Meetup Bangalore - March 6 2021
#2 connected apps_calicut_31_july
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#29 - Deep Dive into MuleSoft Batch Processing (...
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
#1 Calicut MuleSoft Meetup - Introduction to Enterprise Integration and MuleSoft
Solace PubSub+ MuleSoft Connector for Mule 4
Mumbai MuleSoft Meetup #18
MuleSoft Meetup Bangalore - March 6 2021

What's hot (20)

PDF
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
PPTX
MuleSoft Slack Integration - meetup
PPTX
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
PDF
20210916 mule soft_meetup_nz_online_uploadedversion
PPTX
How Secure is Your API?
PDF
Ahmedabad MuleSoft Meetup #4
PPTX
Custom MuleSoft connector using Java SDK
PDF
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
PPTX
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
PPTX
Rtf externalize tls MuleSoft meetup
PPTX
Meetup bangalore-may22nd2021
PPTX
MuleSoft Kochi Meetup #3– Integration with Web Sockets
PPTX
Mule meetup 25thjan
PPTX
Mulesoft KL Meetup 2
PDF
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
PPTX
Kochi Mulesoft Meetup #4
PPTX
MuleSoft Meetup Virtual_ 2_Charlotte
PPTX
Caching strategies in MuleSoft
PPTX
Meetup bangalore-sept5th 2020 (1)
PPTX
Meetup milano #3 all you need to know before creating your vpc
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Slack Integration - meetup
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
20210916 mule soft_meetup_nz_online_uploadedversion
How Secure is Your API?
Ahmedabad MuleSoft Meetup #4
Custom MuleSoft connector using Java SDK
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Rtf externalize tls MuleSoft meetup
Meetup bangalore-may22nd2021
MuleSoft Kochi Meetup #3– Integration with Web Sockets
Mule meetup 25thjan
Mulesoft KL Meetup 2
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Kochi Mulesoft Meetup #4
MuleSoft Meetup Virtual_ 2_Charlotte
Caching strategies in MuleSoft
Meetup bangalore-sept5th 2020 (1)
Meetup milano #3 all you need to know before creating your vpc
Ad

Similar to #3 calicut meetup - understanding slb, dlb and web sockets (20)

PPTX
CloudHub Load Balancers (SLB & DLB) | MuleSoft Mysore Meetup #21
PPTX
DLB Meetup Mulesoft.pptx
PPTX
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
PPTX
MuleSoft Meetup Vancouver 5th Virtual Event
PPTX
CloudHub networking guide
PPTX
MuleSoft Summer Meetup - Germany - 09 Jun 2021
PDF
Mule soft meetups-24012020
PDF
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
PPTX
Montreal MuleSoft_Meetup_16-Aug.pptx
PPTX
Chandigarh MuleSoft Meetup #01
PDF
Melbourne Virtual MuleSoft Meetup October 2021
PPTX
Mumbai MuleSoft Meetup 12
PPTX
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
PPTX
Load balancer in mule
PPTX
Mulesoftmeetup Thiruvanathapuram #4
PPTX
MuleSoft Meetup Roma - CloudHub Networking Stategies
PDF
Cloudhub 2.0
PPTX
Mulesoft meetup 9thmay Thiruvananthapuram
PPTX
On prem to cloud hub migration (updated)
PDF
20220324 - Angel Updates - PKO
CloudHub Load Balancers (SLB & DLB) | MuleSoft Mysore Meetup #21
DLB Meetup Mulesoft.pptx
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
MuleSoft Meetup Vancouver 5th Virtual Event
CloudHub networking guide
MuleSoft Summer Meetup - Germany - 09 Jun 2021
Mule soft meetups-24012020
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
Montreal MuleSoft_Meetup_16-Aug.pptx
Chandigarh MuleSoft Meetup #01
Melbourne Virtual MuleSoft Meetup October 2021
Mumbai MuleSoft Meetup 12
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
Load balancer in mule
Mulesoftmeetup Thiruvanathapuram #4
MuleSoft Meetup Roma - CloudHub Networking Stategies
Cloudhub 2.0
Mulesoft meetup 9thmay Thiruvananthapuram
On prem to cloud hub migration (updated)
20220324 - Angel Updates - PKO
Ad

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Cloud computing and distributed systems.
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
KodekX | Application Modernization Development
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Electronic commerce courselecture one. Pdf
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
KodekX | Application Modernization Development
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”

#3 calicut meetup - understanding slb, dlb and web sockets

  • 1. 28th August 2021 Calicut MuleSoft Meetup Group #3 Understanding SLB, DLB and Web Sockets
  • 2. 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. Organizers Fathima Farzana John Mathew Philip NJC Labs NJC Labs MuleSoft / Integration Developer MuleSoft / Integration Developer 3
  • 4. MuleSoft Developer Research Survey ● Have you done the survey yet? ● This will help MuleSoft to better the contents and materials making it more awesome!! ● Visit https://survey.developernation.net/name/mu_3q2021 4
  • 5. 5 ● Introductions ● MuleSoft Load Balancers ● Demo ● Web Sockets ● Demo ● Trivia Quiz ● Wrap-Up Agenda
  • 6. ● Subject Matter Expert at PwC Poland ● MuleSoft Ambassador ● MuleSoft Meetup Leader for Warsaw, Poland ● Working with MuleSoft products for over 8 years now ● One of Salesforce Trailblazers https://trailhead.salesforce.com/trailblazers/patryk-bandurski Speaker Check out my integration blog https://ambassadorpatryk.com/blog 6
  • 7. All contents © MuleSoft, LLC MuleSoft Load Balancers
  • 8. All contents © MuleSoft, LLC Shared Worker Cloud <app-name> <app-name> Shared Load Balancer 8 Public Internet Shared Load Balancer HTTP 8081 ~ 80 HTTPS 8082 ~ 443 http://<app-name>.<region>.cloudhub.io http://mule-worker<app- name>.<region>.cloudhub.io:<port>
  • 9. All contents © MuleSoft, LLC Private Worker Cloud <app-name> <app-name> Shared Load Balancer with VPC 9 Public Internet HTTP 8091 ~ 80 HTTPS 8092 ~ 443 http://<app-name>.<region>.cloudhub.io http://mule-worker<app- name>.<region>.cloudhub.io:<port> Shared Load Balancer
  • 10. All contents © MuleSoft, LLC Private Worker Cloud <app-name> <app-name> Dedicated Load Balancer 10 Public Internet Dedicated Load Balancer VPC HTTP 8091 ~ 80 VPC HTTPS 8092 ~ 443 <lb-name>.lb.anypointdns.net/<app-name> http://mule-worker<app- name>.<region>.cloudhub.io:<port> Mapping Rules <lb-name>.lb.anypointdns.net/<app-name> <app-name>.<region>.cloudhub.io http://mule-worker-internal-<app-name>.<region>.cloudhub.io:<port>
  • 11. All contents © MuleSoft, LLC Shared vs Dedicated Load Balancer 11 Shared Load Balancer Dedicated Load Balancer • OOB Basic load balancing functionality • TCP load balancing • No custom SSL certificates or proxy rules • No Custom Domain Names • Rate Limits: under 100 transactions per second, exceed returns a service unavailable response, MuleSoft monitors/scales by region • Supports TLS 1.1, 1.2 • Routes HTTPS traffic to port 8082 • Routes HTTP traffic to port 8081 • Configurable load balancing features within an Anypoint VPC (Virtual Private Cloud) • Handles load balancing between CloudHub workers • Define TLS configurations to provide custom certs • Optionally enforce two-way TLS client authentication • Configure proxy rules that map applications to custom domain • Custom Domain Names • Must create Anypoint VPC • Associate multiple environments with same VPC • Use same DLB for all environments
  • 12. All contents © MuleSoft, LLC Vanity or Custom Domain Names 12 ● You can create a mapping rule to rename a Mule application, so it can be accessed through a different domain name within your corporate DNS domain name. ○ Example: <my-app>-meetup-prod.cloudhub.io ● In addition, you can set a CNAME record in DNS nameserver to map the <lb- name>.lb-anypointdns.net => to "vanity" domain. ○ Example: <lb-name>-meetup-prod.com
  • 13. All contents © MuleSoft, LLC Mapping Rules 13 • Input Path: The URI the client requests (default) /{my-app}/ • Target App: The Name of the CloudHub application that processes the request {app}-example • Output Path: The URI string to pass to the app (can not contain patterns) • Protocol: http, https, WebSockets, WebSockets over SSL/TLS
  • 14. All contents © MuleSoft, LLC Mapping Rules using Patterns 14 • Pattern is a string that defines a template for matching input text • {pattern-value} where pattern-value is a variable • Results of this mapping <lb-name>.lb.anypointdns.net/{app} • Redirects to {app}.cloudhub.io https://docs.mulesoft.com/runtime-manager/lb-mapping-rules
  • 15. All contents © MuleSoft, LLC DEMOS
  • 16. WebSockets support in MuleSoft What is a WebSocket? ● Duplex communication channel ● Single TCP connection Supported operations ● Sending message ● Broadcasting 16
  • 17. All contents © MuleSoft, LLC DEMOS
  • 20. 1. What is the default HTTP Mule Port used on CloudHub? A. 8081 B. 80 C. 8082 D. 8091 20
  • 21. 2. DLB is located within VPC A. TRUE A. FALSE 21
  • 22. 3. Which prefix allow to connect to application using its private IP (from VPC)? A. mule-worker-my-app.cloudhub.io A. mule-worker-internal-my-app.cloudhub.io A. my-app.cloudhub.io 22
  • 23. 23 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups and #CalicutMuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/calicut/ ● 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?