June 26, 2019: MuleSoft for Mobile Applications
NYC MuleSoft Meetup Group
All contents © MuleSoft Inc.
Agenda
2
• Logistics
• Leaders Intro
• MuleSoft for Mobile Applications
• MuleSoft Technical Presentation - Asynchrony by Pankaj Ahire
• Mulesoft Panel Discussion
• Announcements & Giveaways!
• Networking over Wine
#MuleSoftMeetup
All contents © MuleSoft Inc.
• Share:
– Tweet your pictures with the hashtag #MuleSoftMeetup
Logistics
3#MuleSoftMeetup
All contents © MuleSoft Inc.
I am a leader of solutions & product development and architecture
teams. With a hands-on approach to today's business challenges, I
am a proven thought leader in capabilities of various technologies
related to CRM, business process, and mobile solutions.
A bender of products and tools to spark innovation. As a Technical
Architect at Silverline, I bring over 15 years of experience in the
consulting, technical design and implementation of enterprise CRM
solutions for financial services, healthcare, and complex
manufacturing clients.
About Gean...
Gean Martinez
Director, Data Technology & Strategy
4
https://www.linkedin.com/in/geanmartinez/
@gino_martino
#MuleSoftMeetup
All contents © MuleSoft Inc.
Experienced business professional with over 18 years of global
experience with an extensive expertise in Customer Success, Account
Management, Product Management, and Solutions Architecture.
I am passionate about creating a community to bring techies and
geeks together to share and collaborate. I am at the Advisory board of
DesignThinking @Rutgers Innovation Center. I also run couple of non-
profits to promote community support.
About Suyog...
Suyog Gandhi
Customer Success Director
5
https://www.linkedin.com/in/ssuyog/
@ssuyog
#MuleSoftMeetup
Gean Martinez
MuleSoft For Mobile Applications
All contents © MuleSoft Inc.
860 Elevator was shut down and the Freight Elevator is to be used while the building
fixes and upgrades the 860 elevator.
860 ElevatorSituation. Complication. Implication. Position. Action. Benefit.
#MuleSoftMeetup
The Freight Elevator (much like the 860 Elevator) is often out of service and people have
to take the stairs.
Not knowing when the elevator was not working would at times cause you to wait for the
elevator that will never show up, causing you to be late to calls.
Can we have visibility into when the elevator is working or not? Can we self manage its
status?
Download 860 Elevator app for iOS or Android
Be in the know before you take the 860 elevator and help your peers with status
reporting.
ARCHITECTURE
Connor Jerow
All contents © MuleSoft Inc.
Plan, design, and construct software solutions, primarily in the
Salesforce ecosystem.
About Connor...
Connor Jerow
Associate Technical Architect
9
https://www.linkedin.com/in/connor-jerow/
#MuleSoftMeetup
All contents © MuleSoft Inc.
Full Stack in use
Our Technology Stack
#MuleSoftMeetup
All contents © MuleSoft Inc.
Application Flow & Access Patterns
Design & Architecture
#MuleSoftMeetup
All contents © MuleSoft Inc.
Derived APIs
Design & Architecture
#MuleSoftMeetup
APP DEMO
All contents © MuleSoft Inc.
MuleSoft API Endpoints
Design & Architecture
o /user/login - Authenticates the user with Firebase
o /user/newuser - Adds a user to Firebase
o /user/assets/{user_id} - Gets all of the asset statuses for a user
o /user/assets - Updates an asset for a user
o /assets/newasset - Adds an asset
o /assets/newuser - Adds a new user to an asset
o /assets/userunfollow - Removes a user from an asset
o /opendoor/{asset_id} - sends a request to open the door (not implemented)
#MuleSoftMeetup
All contents © MuleSoft Inc.
Minimum Viable Product
Shipped Features
Current Features
Sign Up
Login
Add Asset
Follow Asset
Unfollow Asset
Post Good Status
Post Bad Status
Copy AssetID To Clipboard
Backlog
Push to App Stores
History button
Rebrand / Generic Assets
Sign-Up Experience -> New Asset wizard
Automate QA / CI/CD
Salesforce Chatter Integration
Charts
Slack integration - Open Door
Assets in a Groups
Secure all API calls
Refresh Single Asset
Custom Status #MuleSoftMeetup
All contents © MuleSoft Inc.
API Led Approach
Phase 1
Design & Architecture
#MuleSoftMeetup
API TESTING DEMO
Daniel Sanchez
All contents © MuleSoft Inc.
Daniel is the Quality Assurance Center of Excellence Lead at Silverline with 8+
years of QA and testing experience and 4+ years at Silverline. Over the course
of his career, he has implemented QA test plans, strategies, and processes on
over 40 projects. He has also internally architected Silverline’s QA Center of
Excellence and the methodologies of how, across all projects, we ensure the
highest quality solution.
He is 5x Salesforce certified and a Profession Scrum Master I. He has technical
QA experience utilizing and implementing tools to perform test automation for
integration/API testing using Postman, Functional/UI testing using Selenium
(WebDriver/IDE), visual, performance, mobile and other technical testing. He
works closely with the development teams to get test automation into continuous
integration to ensure continuous testing. The combination of all his experience
ensures that regardless of the solution - there will be a high focus on quality.
About Daniel...
Daniel Sanchez
QA Center of Excellence Lead
18
https://www.linkedin.com/in/danieledwsanchez/
#MuleSoftMeetup
All contents © MuleSoft Inc.
32 Postman JavaScript tests created across 8 Mulesoft API endpoints/calls
o Four tests for each response:
(1) Response Time < 200 or 400 ms - Depends on the call / expected response
time.
(2) Response Code = 200 OK
(3) Response Body - Different for each call.
(4) Response Headers - Different for each call.
Integration Testing
#MuleSoftMeetup
All contents © MuleSoft Inc.
o Added elevator.tests.0625.json Postman Collection to BitBucket repo in “QA-Tests” folder
o Runs automatically during every commit to repo as part of build
o Scheduled to run hourly in BitBucket Pipelines CI using newman CLI via bitbucket-pipelines.yml
Future enhancements:
o Add negative requests and tests (error handling/error messages)
o Add additional tests (i.e. fifth test for schema validation) for happy path requests
Added all tests to Continuous Integration
Next Steps
#MuleSoftMeetup
Presented by Pankaj Ahire, Solutions Architect
MuleSoft - Asynchrony
All contents © MuleSoft Inc.
About Pankaj...
22
Pankaj Ahire
Solution Architect
I am a Mechanical Engineer & a Computer Scientist, with 11 years of
data architecture design & integrations experience in banking, wealth
management, BI analytics, & other verticals. I am currently a Solutions
Architect with MuleSoft. My interests lie in designing robust, scalable,
& resilient infrastructure combined with sustainable prescriptive
processes that minimizes risk, empowers, and positions organizations
for success with their strategic goals.
https://www.linkedin.com/in/pankajahire/
https://mulesoft.com
#MuleMeetup
All contents © MuleSoft Inc.
Agenda
23
1. Motivation
2. What is Async
3. How MuleSoft enables you
4. Spotting Signs of Async need
All contents © MuleSoft Inc.
The “Mobile” Experience
24
• What distinguishes designing mobile from non-mobile experiences?
• Fallacies of distributed systems (L Peter Deutsch, 1994, Sun
Microsystems):
– The network is reliable
– Latency is zero
– Bandwidth is infinite
– Network is secure
– Topology does not change
– There is one administrator
– Transport cost is zero
– The network is homogenous
#MuleSoftMeetup
All contents © MuleSoft Inc.
Asynchronous Synchronous
The Choice
25
• Increases availability of resources.
• Mean time SLA for outputs after
inputs.
• Responsive
• Hard to design &
troubleshoot
– Many elements
• Scales easily
• Often “intuitive” way to solve a
problem
• Predictable ordering of outputs &
inputs
• Resource Blocking
• Easier to analyze and optimize
generally; hard to scale under
imperfect conditions.
XKCD Comics, https://www.xkcd.com/1888
#MuleSoftMeetup
All contents © MuleSoft Inc.
API-led Architecture enables Scalability
26
• Elements of clean asynchronous design:
– Stateless
– Well-defined interaction
– Ephemeral
– Explicit
– Loose coupling
– Messaging model
• Exactly the best practices advocated by MuleSoft for API-led
architecture
• Infrastructure that comes with MuleSoft enables scalability &
robustness by facilitating clean async designs
#MuleSoftMeetup
All contents © MuleSoft Inc.
Infrastructure Elements: Queues
27
• AMQP connectors are included -
- connect with any AMQP
compliant messaging
implementation.
• VM queues
– Flows can be async too and can
use queuing.
– work distribution on a cluster
– simple queuing needs
#MuleSoftMeetup
All contents © MuleSoft Inc.
Infrastructure Elements: Caching
28
• Intelligent caching can
immensely change the user
experience.
• Cache scope
– Works & composes inline with
flows
– MuleSoft transparently uses
backing store to implement key-
value lookups
XKCD Comics, https://www.xkcd.com/908
#MuleSoftMeetup
All contents © MuleSoft Inc.
Use case Criteria
29
• When to use an asynchronous design?
– When requirements call for:
• Always-on availability
• Rate scaling/mismatch (latency and bandwidth)
• Large number of readers of static-ish data
• Network is unreliable
• User experience needs to be mobile
• Async design is NOT easy -- but the payoff is often worth it for
enterprises, robustness, scalability, & extensibility.
XKCD Comics, https://www.xkcd.com/908
#MuleSoftMeetup
Thank you
Suyog Gandhi, Connor Jerow, Daniel
Sanchez, Gean Martinez, Pankaj Ahire
MuleSoft Panel Discussion
Questions?
Gean Martinez
Announcements &
Giveaways
All contents © MuleSoft Inc.
Trivia
33
3 Questions - 3 Winners
A free class AND a free exam voucher
#MuleSoftMeetup
All contents © MuleSoft Inc.
But wait there’s more...Drumroll Please….
34#MuleSoftMeetup
Atlanta
May 14 - 15, 2019
San Francisco
June 25 - 26, 2019
Sydney
September 3 - 4, 2019
Chicago
September 11 - 12, 2019
New York
September 17 - 18, 2019
London
October 9 - 10, 2019
Registration Fees: $495
code for FREE registration for TODAY: suyo-csm19cn
http://connect.mulesoft.com
#MuleSoftMeetup
All contents © MuleSoft Inc.
What’s Next?
36
• Share:
– Tweet your pictures with the hashtag #MuleSoftMeetup
– Invite your network to join: https://meetups.mulesoft.com/new-york/
• Feedback:
– Contact your organizers to suggest topics
• Gean Martinez gean.martinez@silverlinecrm.com
• Suyog Gandhi suyog.gandhi@mulesoft.com
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
• Our next meetup:
– Date: Q3 2019
– Location: NYC!
– Topic: You tell us!
#MuleSoftMeetup
Questions?
Networking over wine
Introduce yourself to your neighbors!
– Tweet your pictures with the hashtag #MuleSoftMeetup

More Related Content

PDF
MuleSoft Meetup Singapore June 2021
PDF
20210916 mule soft_meetup_nz_online_uploadedversion
PPTX
11th Manila MuleSoft Meetup Dec 2021
PPTX
Hyderabad meet up-sep12
PDF
Melbourne Virtual MuleSoft Meetup October 2021
PDF
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
PPTX
mulesoft meetup @ bangalore
PDF
MuleSoft meetup_sg_no2_may19
MuleSoft Meetup Singapore June 2021
20210916 mule soft_meetup_nz_online_uploadedversion
11th Manila MuleSoft Meetup Dec 2021
Hyderabad meet up-sep12
Melbourne Virtual MuleSoft Meetup October 2021
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
mulesoft meetup @ bangalore
MuleSoft meetup_sg_no2_may19

What's hot (20)

PPTX
Manchester Meetup #3
PDF
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
PPTX
Deep Dive into Salesforce APIs
PPTX
Manila MuleSoft Meetup - July 2019
PDF
NYC MuleSoft Meetup 2019 Q1- APIs in action
PDF
MuleSoft Meetup - Singapore - No.3 Oct19
PDF
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
PPTX
Meetup_Bangalore_Rajesh
PDF
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
PPTX
Salesforce Einstein API Integration with MuleSoft - NLP and Computer Vision
PDF
Deep Dive on CI/CD NYC Meet Up Group
PPTX
Mulesoft KL Meetup 2
PDF
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
PPTX
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
PDF
MuleSoft MUnit Test Recorder Meetup
PPTX
Meet up slides_mumbai_05022020_final
PPTX
Manila MuleSoft Meetup - September 2018
PDF
Mule soft mcia-level-1 Dumps
PPTX
Mumbai MuleSoft Meetup #18
PPTX
MuleSoft Meetup Virtual_ 2_Charlotte
Manchester Meetup #3
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
Deep Dive into Salesforce APIs
Manila MuleSoft Meetup - July 2019
NYC MuleSoft Meetup 2019 Q1- APIs in action
MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
Meetup_Bangalore_Rajesh
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Salesforce Einstein API Integration with MuleSoft - NLP and Computer Vision
Deep Dive on CI/CD NYC Meet Up Group
Mulesoft KL Meetup 2
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
MuleSoft MUnit Test Recorder Meetup
Meet up slides_mumbai_05022020_final
Manila MuleSoft Meetup - September 2018
Mule soft mcia-level-1 Dumps
Mumbai MuleSoft Meetup #18
MuleSoft Meetup Virtual_ 2_Charlotte
Ad

Similar to NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications (20)

PPTX
First Caracas MuleSoft Meetup Slides
PDF
MuleSoft approach to the integration - Warsaw MuleSoft Meetup
PDF
NYC MuleSoft Meetup Oct 2019 Foster Innovation through APIs
PPTX
Perth meetup Oct 2019
PDF
Mule soft meetup_indonesia_june2020
PDF
Pune meetup 16 feb 2019
PDF
MuleSOft PKO Developer meetup - 25 March 2021
PPTX
DevOps and APIs: Great Alone, Better Together
PPTX
Designing and building Mule applications
PDF
MuleSoft Meetup Singapore March 2019
PDF
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
PPTX
Mulesoft Connections to different companies, and different services
PPTX
EXT - Evented APIs
PPTX
Nyc mule soft_meetup_13_march_2021
PDF
Meetup 20200924 Sydney meetup
PPTX
Manila MuleSoft Meetup - May 2018
PDF
Denver MuleSoft Meetup: Greatest MuleSoft Hits of 2022
PPTX
Manchester MuleSoft Meetup #7
PPTX
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
PDF
MuleSoft Manchester Meetup #4 slides 11th February 2021
First Caracas MuleSoft Meetup Slides
MuleSoft approach to the integration - Warsaw MuleSoft Meetup
NYC MuleSoft Meetup Oct 2019 Foster Innovation through APIs
Perth meetup Oct 2019
Mule soft meetup_indonesia_june2020
Pune meetup 16 feb 2019
MuleSOft PKO Developer meetup - 25 March 2021
DevOps and APIs: Great Alone, Better Together
Designing and building Mule applications
MuleSoft Meetup Singapore March 2019
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Mulesoft Connections to different companies, and different services
EXT - Evented APIs
Nyc mule soft_meetup_13_march_2021
Meetup 20200924 Sydney meetup
Manila MuleSoft Meetup - May 2018
Denver MuleSoft Meetup: Greatest MuleSoft Hits of 2022
Manchester MuleSoft Meetup #7
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Manchester Meetup #4 slides 11th February 2021
Ad

Recently uploaded (20)

PPTX
Modernising the Digital Integration Hub
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Tartificialntelligence_presentation.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Unlock new opportunities with location data.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
Getting Started with Data Integration: FME Form 101
PDF
August Patch Tuesday
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Modernising the Digital Integration Hub
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Hindi spoken digit analysis for native and non-native speakers
A contest of sentiment analysis: k-nearest neighbor versus neural network
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Tartificialntelligence_presentation.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Unlock new opportunities with location data.pdf
What is a Computer? Input Devices /output devices
Getting Started with Data Integration: FME Form 101
August Patch Tuesday
Group 1 Presentation -Planning and Decision Making .pptx
1 - Historical Antecedents, Social Consideration.pdf
observCloud-Native Containerability and monitoring.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
Module 1.ppt Iot fundamentals and Architecture
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
O2C Customer Invoices to Receipt V15A.pptx
Developing a website for English-speaking practice to English as a foreign la...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf

NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications

  • 1. June 26, 2019: MuleSoft for Mobile Applications NYC MuleSoft Meetup Group
  • 2. All contents © MuleSoft Inc. Agenda 2 • Logistics • Leaders Intro • MuleSoft for Mobile Applications • MuleSoft Technical Presentation - Asynchrony by Pankaj Ahire • Mulesoft Panel Discussion • Announcements & Giveaways! • Networking over Wine #MuleSoftMeetup
  • 3. All contents © MuleSoft Inc. • Share: – Tweet your pictures with the hashtag #MuleSoftMeetup Logistics 3#MuleSoftMeetup
  • 4. All contents © MuleSoft Inc. I am a leader of solutions & product development and architecture teams. With a hands-on approach to today's business challenges, I am a proven thought leader in capabilities of various technologies related to CRM, business process, and mobile solutions. A bender of products and tools to spark innovation. As a Technical Architect at Silverline, I bring over 15 years of experience in the consulting, technical design and implementation of enterprise CRM solutions for financial services, healthcare, and complex manufacturing clients. About Gean... Gean Martinez Director, Data Technology & Strategy 4 https://www.linkedin.com/in/geanmartinez/ @gino_martino #MuleSoftMeetup
  • 5. All contents © MuleSoft Inc. Experienced business professional with over 18 years of global experience with an extensive expertise in Customer Success, Account Management, Product Management, and Solutions Architecture. I am passionate about creating a community to bring techies and geeks together to share and collaborate. I am at the Advisory board of DesignThinking @Rutgers Innovation Center. I also run couple of non- profits to promote community support. About Suyog... Suyog Gandhi Customer Success Director 5 https://www.linkedin.com/in/ssuyog/ @ssuyog #MuleSoftMeetup
  • 6. Gean Martinez MuleSoft For Mobile Applications
  • 7. All contents © MuleSoft Inc. 860 Elevator was shut down and the Freight Elevator is to be used while the building fixes and upgrades the 860 elevator. 860 ElevatorSituation. Complication. Implication. Position. Action. Benefit. #MuleSoftMeetup The Freight Elevator (much like the 860 Elevator) is often out of service and people have to take the stairs. Not knowing when the elevator was not working would at times cause you to wait for the elevator that will never show up, causing you to be late to calls. Can we have visibility into when the elevator is working or not? Can we self manage its status? Download 860 Elevator app for iOS or Android Be in the know before you take the 860 elevator and help your peers with status reporting.
  • 9. All contents © MuleSoft Inc. Plan, design, and construct software solutions, primarily in the Salesforce ecosystem. About Connor... Connor Jerow Associate Technical Architect 9 https://www.linkedin.com/in/connor-jerow/ #MuleSoftMeetup
  • 10. All contents © MuleSoft Inc. Full Stack in use Our Technology Stack #MuleSoftMeetup
  • 11. All contents © MuleSoft Inc. Application Flow & Access Patterns Design & Architecture #MuleSoftMeetup
  • 12. All contents © MuleSoft Inc. Derived APIs Design & Architecture #MuleSoftMeetup
  • 14. All contents © MuleSoft Inc. MuleSoft API Endpoints Design & Architecture o /user/login - Authenticates the user with Firebase o /user/newuser - Adds a user to Firebase o /user/assets/{user_id} - Gets all of the asset statuses for a user o /user/assets - Updates an asset for a user o /assets/newasset - Adds an asset o /assets/newuser - Adds a new user to an asset o /assets/userunfollow - Removes a user from an asset o /opendoor/{asset_id} - sends a request to open the door (not implemented) #MuleSoftMeetup
  • 15. All contents © MuleSoft Inc. Minimum Viable Product Shipped Features Current Features Sign Up Login Add Asset Follow Asset Unfollow Asset Post Good Status Post Bad Status Copy AssetID To Clipboard Backlog Push to App Stores History button Rebrand / Generic Assets Sign-Up Experience -> New Asset wizard Automate QA / CI/CD Salesforce Chatter Integration Charts Slack integration - Open Door Assets in a Groups Secure all API calls Refresh Single Asset Custom Status #MuleSoftMeetup
  • 16. All contents © MuleSoft Inc. API Led Approach Phase 1 Design & Architecture #MuleSoftMeetup
  • 18. All contents © MuleSoft Inc. Daniel is the Quality Assurance Center of Excellence Lead at Silverline with 8+ years of QA and testing experience and 4+ years at Silverline. Over the course of his career, he has implemented QA test plans, strategies, and processes on over 40 projects. He has also internally architected Silverline’s QA Center of Excellence and the methodologies of how, across all projects, we ensure the highest quality solution. He is 5x Salesforce certified and a Profession Scrum Master I. He has technical QA experience utilizing and implementing tools to perform test automation for integration/API testing using Postman, Functional/UI testing using Selenium (WebDriver/IDE), visual, performance, mobile and other technical testing. He works closely with the development teams to get test automation into continuous integration to ensure continuous testing. The combination of all his experience ensures that regardless of the solution - there will be a high focus on quality. About Daniel... Daniel Sanchez QA Center of Excellence Lead 18 https://www.linkedin.com/in/danieledwsanchez/ #MuleSoftMeetup
  • 19. All contents © MuleSoft Inc. 32 Postman JavaScript tests created across 8 Mulesoft API endpoints/calls o Four tests for each response: (1) Response Time < 200 or 400 ms - Depends on the call / expected response time. (2) Response Code = 200 OK (3) Response Body - Different for each call. (4) Response Headers - Different for each call. Integration Testing #MuleSoftMeetup
  • 20. All contents © MuleSoft Inc. o Added elevator.tests.0625.json Postman Collection to BitBucket repo in “QA-Tests” folder o Runs automatically during every commit to repo as part of build o Scheduled to run hourly in BitBucket Pipelines CI using newman CLI via bitbucket-pipelines.yml Future enhancements: o Add negative requests and tests (error handling/error messages) o Add additional tests (i.e. fifth test for schema validation) for happy path requests Added all tests to Continuous Integration Next Steps #MuleSoftMeetup
  • 21. Presented by Pankaj Ahire, Solutions Architect MuleSoft - Asynchrony
  • 22. All contents © MuleSoft Inc. About Pankaj... 22 Pankaj Ahire Solution Architect I am a Mechanical Engineer & a Computer Scientist, with 11 years of data architecture design & integrations experience in banking, wealth management, BI analytics, & other verticals. I am currently a Solutions Architect with MuleSoft. My interests lie in designing robust, scalable, & resilient infrastructure combined with sustainable prescriptive processes that minimizes risk, empowers, and positions organizations for success with their strategic goals. https://www.linkedin.com/in/pankajahire/ https://mulesoft.com #MuleMeetup
  • 23. All contents © MuleSoft Inc. Agenda 23 1. Motivation 2. What is Async 3. How MuleSoft enables you 4. Spotting Signs of Async need
  • 24. All contents © MuleSoft Inc. The “Mobile” Experience 24 • What distinguishes designing mobile from non-mobile experiences? • Fallacies of distributed systems (L Peter Deutsch, 1994, Sun Microsystems): – The network is reliable – Latency is zero – Bandwidth is infinite – Network is secure – Topology does not change – There is one administrator – Transport cost is zero – The network is homogenous #MuleSoftMeetup
  • 25. All contents © MuleSoft Inc. Asynchronous Synchronous The Choice 25 • Increases availability of resources. • Mean time SLA for outputs after inputs. • Responsive • Hard to design & troubleshoot – Many elements • Scales easily • Often “intuitive” way to solve a problem • Predictable ordering of outputs & inputs • Resource Blocking • Easier to analyze and optimize generally; hard to scale under imperfect conditions. XKCD Comics, https://www.xkcd.com/1888 #MuleSoftMeetup
  • 26. All contents © MuleSoft Inc. API-led Architecture enables Scalability 26 • Elements of clean asynchronous design: – Stateless – Well-defined interaction – Ephemeral – Explicit – Loose coupling – Messaging model • Exactly the best practices advocated by MuleSoft for API-led architecture • Infrastructure that comes with MuleSoft enables scalability & robustness by facilitating clean async designs #MuleSoftMeetup
  • 27. All contents © MuleSoft Inc. Infrastructure Elements: Queues 27 • AMQP connectors are included - - connect with any AMQP compliant messaging implementation. • VM queues – Flows can be async too and can use queuing. – work distribution on a cluster – simple queuing needs #MuleSoftMeetup
  • 28. All contents © MuleSoft Inc. Infrastructure Elements: Caching 28 • Intelligent caching can immensely change the user experience. • Cache scope – Works & composes inline with flows – MuleSoft transparently uses backing store to implement key- value lookups XKCD Comics, https://www.xkcd.com/908 #MuleSoftMeetup
  • 29. All contents © MuleSoft Inc. Use case Criteria 29 • When to use an asynchronous design? – When requirements call for: • Always-on availability • Rate scaling/mismatch (latency and bandwidth) • Large number of readers of static-ish data • Network is unreliable • User experience needs to be mobile • Async design is NOT easy -- but the payoff is often worth it for enterprises, robustness, scalability, & extensibility. XKCD Comics, https://www.xkcd.com/908 #MuleSoftMeetup
  • 31. Suyog Gandhi, Connor Jerow, Daniel Sanchez, Gean Martinez, Pankaj Ahire MuleSoft Panel Discussion Questions?
  • 33. All contents © MuleSoft Inc. Trivia 33 3 Questions - 3 Winners A free class AND a free exam voucher #MuleSoftMeetup
  • 34. All contents © MuleSoft Inc. But wait there’s more...Drumroll Please…. 34#MuleSoftMeetup
  • 35. Atlanta May 14 - 15, 2019 San Francisco June 25 - 26, 2019 Sydney September 3 - 4, 2019 Chicago September 11 - 12, 2019 New York September 17 - 18, 2019 London October 9 - 10, 2019 Registration Fees: $495 code for FREE registration for TODAY: suyo-csm19cn http://connect.mulesoft.com #MuleSoftMeetup
  • 36. All contents © MuleSoft Inc. What’s Next? 36 • Share: – Tweet your pictures with the hashtag #MuleSoftMeetup – Invite your network to join: https://meetups.mulesoft.com/new-york/ • Feedback: – Contact your organizers to suggest topics • Gean Martinez gean.martinez@silverlinecrm.com • Suyog Gandhi suyog.gandhi@mulesoft.com – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program • Our next meetup: – Date: Q3 2019 – Location: NYC! – Topic: You tell us! #MuleSoftMeetup
  • 38. Networking over wine Introduce yourself to your neighbors! – Tweet your pictures with the hashtag #MuleSoftMeetup