Phil Scanlon, Head of Technology in Asia Pacific & Japan for Solace, describes "The Event Mesh" at API Days Melbourne in September 2018. Scanlon explains the complexities of the Event Mesh using the evolution to event-driven, the anatomy of an event, and real world examples.
4. Who is Solace?
Worldâs foremost experts
on event distribution and
messaging middleware
â 250+ employees
â 100+ in R&D
â 100% focused
â 24 patents
HQ and Manufacturing
in Ottawa, Canada
15 Global Offices
Š Solace
Proprietary & Confidential
4
Award-
winning
business
Award-
winning
business
Proven, Trusted
⢠9 of top 12 Banks
⢠Top American and Indian telcos
⢠Air traffic management around the world
⢠Top auto makers for connected car initiatives
⢠Singapore smart city and transportation
⢠One of top phone manufacturers
6. In the beginningâŚ
⢠Companies ran their own
datacentres
â Huge investment in hardware,
maintenance, support, and expertise
â VMs, virtualization, and
containerization allowed more
efficient use of hardware
â Wouldnât it be nice if someone else
could manage all the hardware,
storage, networking?
â The birth of IaaS, and PaaS
7. In the beginningâŚ
⢠Software was monolithic
â Database-centric, batch-oriented systems
â Proprietary protocols and APIs
â Concept of ESB to help integration and
orchestration of services (SOA)
â Rise of open-source, open standards,
open protocols, and open APIs
â Decomposing of larger systems into
collections of microservices
â Move to real-time, increase In volume,
rethinking to Event-Driven Architectures
8. In the beginningâŚ
⢠The Internet was simple
â Client-Server interactions for webpages
â RESTful Request-Reply HTTP protocol
â Everything understands REST: firewalls,
routers, gateways, load balancers, etc.
â But also synchronous; but also one-way
â Need for efficient, asynchronous,
bidirectional protocols
⢠WebSockets, MQTT, etc.
9. In the beginningâŚ
⢠âThingsâ were dumb
â Telephones, cars, lights,
refrigerators, houses, browsers,
devices of all sorts
â Massive improvements in
miniaturized computing power
and network access promoted
connectivity
â Growth continues, with 28B
devices by 2021
10. Digital 1.0 - SOA and itâs challenges
API GW
Validations
Fraud Check
Credit Check
Core Banking
Systems of
Records
Tracing
Audit Logging
Ops
Clearing GWs
SWIFT GW
Other GWs
Compliance
Reg Reporting
Risk
SOAP/HTTP
SOAP MQ MQ JMS Adapter
Lets look at a Payments
scenario, others are similar
Traditional SOA
Characteristics
⢠Request Reply
⢠Orchestrated Flow
⢠Serial
⢠SOAP, changing to REST
Channels
ESB
11. Digital 1.0 - SOA and itâs challenges
API GW
ESB
Validations
Fraud Check
Credit Check
Core Banking
Systems of
Records
Tracing
Audit Logging
Ops
Clearing GWs
SWIFT GW
Other GWs
Compliance
Reg Reporting
Risk
SOAP/HTTP
SOAP MQ MQ JMS Adapter
Challenges:
⢠Orchestrator is a bottleneck
⢠Serial = slow response time
⢠Slow time to market
⢠Difficult to leverage AI/ML â
requires big changes
⢠Cloud adoption
Channels
Cloud Native
Storage
Cloud Native
Services
AI ML
New Services
?
?
Slow causes
response time
impact, errors
Response time is a
summation of all services!
12. REST isnât Always Best
Great for:
⢠Synchronous interactions
⢠Externally facing APIs
But:
⢠Point-to-point
⢠Tight service coupling
⢠Not natively event-driven
⢠Polling
13. Quest for agility is driving you to the cloud,
to microservices, to EDA, to new toolsâŚ
ExecutivesExecutives
Digital Ambition
⢠Transform?
⢠Optimize?
Cloud Opportunity
⢠Cloud de jour?
⢠Paas?
Accelerate Innovation
⢠Continuous intelligence
⢠Combine data/event silos: IoT,
ML/AI, Legacy Systems, etc.
ArchitectsArchitects
Digital Optimization
⢠Legacy systems
⢠iPaaS vs. API Gateway?
⢠Microservices?
Cloud Necessary
⢠Churn: target cloud
keeps changing
⢠Which PaaS?
⢠Hybrid reality
InnovateâŚ
⢠Events not data
⢠Leverage ML/AI
⢠Big data + IoT Sensors +
Mobile
DevelopersDevelopers
Sounds Great!
⢠How do I integrate to
get access to data?
⢠Springboot for microservices?
Cloud Native
⢠Lambda?
⢠Containers?
⢠CI/CD and Infra as code
Innovate!
⢠Streaming
⢠Event sourcing
⢠Spark
⢠I only know about MY siloâs
API and data definitions
14. How do you enable eventâdriven interactions across all this stuff?How do you enable eventâdriven interactions across all this stuff?
Making the distribution of data more complicated
Legacy Applications IoT
Legacy Application Infrastructure
Cloud
Private Public
iPaaS / APIsiPaaS / APIs SaaSSaaS
15. âA key distinction of a
digital business is that
it's always sensing and
always ready, which
demands grounding in
event processing.â
Source: Gartner
Business Events, Business Moments
and Event Thinking in Digital Business.
4 August 2017
Shift to Event-Driven Architectures and Thinking
15
Lives, businesses are event-drivenâŚ
â Mouse click, a screen tap indicates user action
â Temperature sensor detects threshold exceeded
â A command and control call to stop a machine
â A Master Data Update Event, a plane taking off
â Even an API callâŚ
Our lives, the universe, are event-drivenâŚ
So why is
computing
usually Request
Reply?
16. Gartner: Top 10 Strategic Technology Trends for 2018:
Event-Driven Model. 8 March 2018
Shift to Events
is Accelerating
Event-driven microservices are
the optimal software design
model to delivery digital
business agility.
By 2022, 70% of new
digital business solutions
will require event-sourced,
real-time situational
awareness.
17. Donât use Y2K
techniques to
deal with 2018
realities
How do you support the shift to âevent-drivenâ?
18. Event Distribution is Becoming More Complicated
PaaS
IoT
Public Cloud
Legacy Application Infrastructure
iPaaS
Runtimes
Yes, you can stitch it all together todayâŚ
But how do you
uniformly connect the
old world with the new?
How do you ensure
high availability, maximum
security and smart governance?
How do you make
your infrastructure
fast and easy to scale?
And how do you automate
for self-learning, dynamic
low-touch operation?
19. The Answer is an Event Mesh
Š Solace
Proprietary & Confidential
PaaS
IoT
Public Cloud
Legacy Application Infrastructure
iPaaS
Runtimes
⢠Uniform Connectivity
⢠Dynamic Routing
⢠Elastic Capacity
⢠High Performance
⢠High Availability
⢠Security & Governance
GB1
22. Any API/Protocol
AMQP, JMS, MQTT, REST, etc.
Any Deployment Model
Software, As-a-Service, Appliance
Any Environment
Cloud, On-Premises, Hybrid
Any Quality of Service
Guaranteed, best-effort, etc.
The event-broker powering the
Event Mesh that supports
publish/subscribe plus:
â Queueing
â Request/Reply
â Streaming
With common deployment,
APIs and administration
Š Solace
21
24. Think Event Driven Microservices
âMicroservices have inputs and outputs
⢠Inputs and outputs can be thought of as âeventsâ
âSo what is an Event?
⢠An event is an action or occurrence recognized by software, often originating
asynchronously from the external environment, that may be handled by the software
âStop thinking about services INVOKING services!
⢠Instead services emit events!
âWhat/where do we emit these events to?
⢠Messaging (preferability Solace!)
25. Event Mesh
Event
Mesh
Event
Mesh
3 Ways an Event Mesh Improve your Infrastructure
Connecting
and Orchestrating
Microservices
Pushing Events
from On-Premises
to Cloud Services
Enabling Digital
Transformation
Across LoBs and IoT
26. Parallel â Can Be AsyncMust Be Sync â Serial
Event Mesh â APIs, Event Routing and Response Time
25
Š Solace
Proprietary & Confidential
API GW
SOAP/HTTP
Characteristics:
⢠Every flow has some serial and some
parallel paths
⢠Only serial path should influence
response time
⢠Event Mesh routes messages via
PubSub, including wildcards
⢠Lossless Streaming and Queuing
both supported â must have for
parallel path
⢠No orchestration needed,
choreography
Channels
Validations
Fraud Check
Credit Check
REST
1
Core Banking
Systems of
Records
MQ
Adapter
JMS
2
Clearing GWs
SWIFT GW
Other GWs
MQ
Adapter
JMS
3
Tracing
Audit Logging
Ops
JMS
4
Compliance
Reg Reporting
Risk
AMQP
4
No impact on
response time!
27. Parallel â Can Be AsyncMust Be Sync â Serial
Event Mesh â Lossless, Parallel Streaming
26
Š Solace
Proprietary & Confidential
API GW
SOAP/HTTP
⢠Event Streaming
among micro
services
⢠Pub Sub
⢠Lossless
Channels
Validations
Fraud Check
Credit Check
REST
1
Core Banking
Systems of
Records
MQ
Adapter
JMS
2
Clearing GWs
SWIFT GW
Other GWs
MQ
Adapter
JMS
3
Tracing
Audit Logging
Ops
JMS
4
Compliance
Reg Reporting
Risk
AMQP
4
No impact on
response time!
Fast Response
Slow causes no
impact!
28. Parallel â Can Be AsyncMust Be Sync â Serial
Event Mesh â Agility, Insights and Hybrid Cloud
27
Š Solace
Proprietary & Confidential
API GW
SOAP/HTTP
Characteristics:
⢠Plug and play for new microservices,
insights etc â no other
ESB/Microservice change
⢠Lossless Hybrid Cloud events
Channels
Validations
Fraud Check
Credit Check
REST
1
Core Banking
Systems of
Records
MQ
Adapter
JMS
2
Clearing GWs
SWIFT GW
Other GWs
MQ
Adapter
JMS
3
Tracing
Audit Logging
Ops
JMS
4
Compliance
Reg Reporting
Risk
AMQP
4
No impact on
response time!
AI ML
Flink
29. Parallel â Can Be AsyncMust Be Sync â Serial
Event Mesh â Agility, Insights and Hybrid Cloud
28
Š Solace
Proprietary & Confidential
API GW
SOAP/HTTP
Characteristics:
⢠Event Catalogue is used to Design
and Runtime Governance
⢠ACLs Enforced, and and Stats are
retrieved
⢠Data Lineage
Channels
Validations
Fraud Check
Credit Check
REST
1
Core Banking
Systems of
Records
MQ
Adapter
JMS
2
Clearing GWs
SWIFT GW
Other GWs
MQ
Adapter
JMS
3
Tracing
Audit Logging
Ops
JMS
4
Compliance
Reg Reporting
Risk
AMQP
4
No impact on
response time!
AI ML
Flink
Event
Catalogue
Replay
Event
Sourcing
30. Applications of an Event Mesh
IoT
⢠Device connectivity
⢠Event routing & distribution
⢠Protocol rationalization
Modern Messaging
⢠Hybrid/Multi-cloud bridging
⢠Connecting new and old world
⢠Application Integration
Enterprise Integration
⢠Local connection of apps and data
⢠Strategic enterprise-scale
digital transformation
Microservices
⢠Synchronous and Asynchronous
⢠Service mesh overlay to
enable publish/subscribe
Š Solace
Proprietary & Confidential
29
31. Events in the real world
30
Š Solace
Proprietary & Confidential
32. ⢠One platform for
Command, Query and
Event
⢠Unification of REST APIs
and event-driven APIs
⢠Cloud native messaging
enables developer
agility
⢠Decoupling of services
for dynamic process
flow
Event Distribution in Microservices Environments
31
Š Solace
Event Broker
Mainframe
Systems
of Record
Distributed
Apps
Legacy
Messaging
Microservice
Event Driven Apps
Internet of Things
Mobile / B2B
Event Broker
API GatewayAPI Gateway
Internal
Audiences
Partners Customers
Event Broker
33. On-Premises SystemsOn-Premises Systems
⢠Unify events across
clouds and on-prem
⢠Freely share data and
workloads across
multiple clouds
⢠Flexibility as market
unfolds
⢠Open source
connectivity with legacy
technologies
Event Distribution Across Hybrid & Multi Cloud
MessagingMessaging MainframeMainframe
Public Public
Š Solace
Proprietary & Confidential
32
34. ⢠Seamless data flow
across devices and
applications
⢠End-to-end
addressability enables
ingestion and command
& control
⢠Protocol support and
transformation
⢠Massive scale with
built-in filtering and
burst handling
Event Distribution in the Internet of Things
AMQP
Applications in Cloud
and Datacenter
Sensors, Vehicles
and Control Systems
JMS
MQTT
REST
MQ
?
Š Solace
Proprietary & Confidential
33
Hybrid/Multi-Cloud
Event Routing
Any Protocol, Any Pattern
Legacy Integration Framework
Event Management
Security
35. Solace Digital Case Study: NETS Group
⢠The NETS Group enable digital payments for
merchants, consumers and banks across the entire
payments value chain.
⢠102,000 terminalâs accepting QR Codes
⢠Solaceâs Event Broker allows NETS to reliably and
securely route the real-time information involved
with large numbers of transactions
âWithout Solace we
were unable to rollout
our technology fast
enough. We can now
onboard a bank a
month. Previously it
took 3 monthsâ Vincent Low
CIO NETS
36. NETS Singapore Payments
Messaging as a Digital Backbone
JSON/REST
or JMS/MQTT
Legacy
Gateway
REST message: URL for event routing
http://mybank/pay/merchId/cardpr/type/xyz/xyz
Data In Motion
Complex Events
Processing
Fraud Detection
JMSTopic:
mybank/pay/>
Visual
Analytics
(Splunk)
JMSTopictoQueue:
mybank/POS/Monitor/
>
LosslessQ
ShockAbsorber
Solace
Data At Rest
Analytics
(Hadoop)
JMSTopic:
mybank/>
Lossless Q
Shock Absorber
Topic to Q mapping
Payment
Switch
Payment
Switch
Connectivity
Data Store
Cache
ESB/Transform
ESB/Transform
JMS Topic:
mybank/pay/*/cardpr/>
mybank/pay/*/cnp/>
Wildcard routing on
REST URLs/Topics
Filtering and Topic
(subject) Routing with
Wildcards
Persistence â never
lose a message
Publish Subscribe -
Parallel, Async
Processing
Multi Protocol
REST <> JMS <>AMQP <>
MQTT
Burst Handling and
Throttling â Big Data
Ingest
Lambda Architecture â
Speed and Batch
37. 36
Copyright Solace
Confidential
FAA
⢠Solace fans out National Airspace
System SWIM data feeds to
airlines, airports, FlightAware, etc.
⢠Traffic Flow/ Flight Plans STDDS
â Collect/publish data from 150+ airports,
SFPDS , TBFM, TFDM
⢠Why Solace?
â Predictable, high
performance
â High fanout for large
number of connected
systems over WANs
â Fast fail over time to
support business continuity
â Easy to manage with more
real-time monitoring and
response
â Built-in hardware
compression reduce WAN
bandwidth
Š Solace
36
38. Solace IoT Case Study: Core Transport Technologies
⢠Core TT provide logistics solutions to Airlines, Cargo carriers and US
government agencies.
⢠Solace is the event backbone for CORE's worldwide IoT implementation
⢠Solace Event Brokers are deployed both in the Cloud and on Premise to
manage all the logistic events
⢠Solace effectively synchronizes and exchanges critical information in real-time,
updating users on the status of their deliveries as well as potential logistical
problems
âSolace gives us the
ability to dynamically
manage and deliver
information in real time
which is critical to
maintaining contingency
plans and adapting as
events unfold. This
enables quick, informed
shipping decisions,
keeping services efficient
and effective.â
Š Solace
Proprietary & Confidential
37
Ian Craig
Managing Director
Core Transport Technologies
39. Solace Cloud Case Study: VoiceBase
⢠VoiceBase provide automatic speech-to-text, speech analytics and
predictive insights, powering intelligence every business needs.
⢠VoiceBase uses Solace messaging technology to intelligently route
voice, video and text events through their system.
⢠Solace Event Broker acts as a shock absorber during peak times
and allows VoiceBase to scale out on demand
âOnly one
enterprise service
bus worked, and it
didnât even break
a sweat"
Š Solace
Proprietary & Confidential
38
Jeff Shukis
VP Engineering
VoiceBase