8. Users
● End of the day users don’t care about the background
processing system as long as they are reliable
● Most of them including majority of IT guys don't
even know about lies
9. Does it matter ?
● It does not matter whether these companies lie, cheat
or steal. They already won the war of “Ultimate User
Experience”
● From Kids to Grandma’s millions of users spanning
Countries, Continents and Cultures love these Apps
and are addicted to them.
11. Unfortunate for Business Applications
● Every hour users spend on internet only 3 minutes is
spent on Business Applications
● Users spend more time on Social and Entertainment
Apps.
● Unfortunately User Experience and Application
Speed expectations are already set by these
applications
20. Asynchronous Techniques
Asynchronous Techniques are the great way to
unblock the user I/O Thread and send response
faster but involves serious risk if background
Thread fails.
Slow System is better than an Unreliable System
21. Business Applications
Majority of the Business Applications in various
industries use SOA (Service-Oriented Architecture) in
the enterprise Application Architecture & Infrastructure
Architecture
24. So ?
how do we build Hyper-Fast applications ??
25. Event-Driven
Fix the risks involved with Asynchronous Processing,
SOA and Cloud using
Event-Driven Architecture (EDA)
26. SOA
vs
EDA
-Synchronous in nature
-Asynchronous in nature
-Action or command
based processing
-Events based
processing
-Request/Response
-Fire & Forget
-Bidirectional
-Unidirectional
-Tight coupled
-Loose coupled
-Service Consumer &
Service Provider
-Event Emitter & Event
Consumer
32. Event Manager Bus
● Event Mgr Bus is a Guarantee Delivery System
● Verifies all events are successfully executed
● If any event fails, it will place the event in the failed
event queue and retries until it is successful
33. Request Processing : Order Placed Example
3
Client
Browser
1
2
1
Event Manager Bus
Server Side
Synchronous
Input Validation
Asynchronous
Product Inventory check
Update Product DB
Update Order DB
Charge Credit Card
Send Email
4
34. Request Processing : Order Placed
Example
3
Client
Browser
1
2
1
4
Event Manager Bus
Server Side
Synchronous
Asynchronous
Input Validation
Update Product DB
Product Inventory check
Update Order DB
Charge Credit Card
Send Email
Based on the need & system reliability adjust the Sync Vs Async processing
36. Event Sequencing
● The challenges of Event sequencing can be solved
using a common ID (e.g., AccountNumber,
PolicyNumber and OrderNumber)
● Eventual consistency can be handled using Event
Tailing
37. Event-Driven Architecture
Carefully implementing Event-Driven Architecture on
top of SOA makes System High Available, Failureaware and applications Hyper-Fast response time.
At the same time not all applications are meant for Event-Driven
Solutions.