SlideShare une entreprise Scribd logo
1  sur  38
Lie
Cheat
Steal to build Hyper-Fast Applications
- using Asynchronous & Event-Driven Architecture

- Naresh Chintalcheru
Google Search

2 million search results in just 0.15 seconds
Facebook

Even if you have 1000 friends the message will be
posted instantaneous.
Twitter

Even if you have 20,000 followers the tweet will be
instantaneous.
Pinterest

The picture is already uploaded before you pin it.
Common

What is common in all these lies, cheats & steals ?
Common

Endless pursuit to build Hyper-Fast applications
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
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.
2013 Experian Report : User Time Spent

Marketingprofs.com
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
Business Applications Focus

Customer facing Business Application should focus on

User Experience
and
Application Speed
Business Applications Focus

User Experience will be taken care by the
Graphic Designers
and
Interface Design Analysts
Business Applications Focus

Much more complicated
is

Application Speed
Speed

The Google Search, Facebook, Twitter and Pinterest
Application Speed is so fast ???
Speed

Application Speed is so fast ???
or ...
Speed Perception
App Speed Trick

They are telling us the User initiated
transaction is completed even though it is still
running in the background.
Asynchronous Techniques

Asynchronous Techniques
UI Level, Application Level and Service Level
Asynchronous Techniques

Asynchronous Techniques
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
Business Applications

Majority of the Business Applications in various
industries use SOA (Service-Oriented Architecture) in
the enterprise Application Architecture & Infrastructure
Architecture
SOA

Problems using SOA in the Online Applications
SOA

Service-Oriented Architecture has serious latency issues
might make applications slow
So ?

how do we build Hyper-Fast applications ??
Event-Driven

Fix the risks involved with Asynchronous Processing,
SOA and Cloud using

Event-Driven Architecture (EDA)
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
SOA vs EDA
SOA

EDA

-PlaceOrder

-OrderPlaced

-ReserveTable

-TableReserved

-CancelOrder

-OrderCancelled

-UpdateAddress

-AddressUpdated
Synchronous Processing

[4]
Client
Browser

[1]

[2]

[3]

[5]

Server Side Components

Each Component Response Time
[1]100ms + [2]100ms + [3]100ms + [4]100ms + [5]100ms
Client Response time = 500ms
Asynchronous Processing

4
Client
Browser

1

2

3

5

Server Side Components

Client Response time [1] = 100ms
Async Processing Background Processing time = 400ms
[2]100ms + [3]100ms + [4]100ms + [5]100ms
Asynchronous Processing Issues

x

4
Client
Browser

1

2

3

5

Server Side

If one background component fails the user will not
know that the transaction is failed.
Challenge of handling server-side failures
Event-Driven Architecture

3
Client
Browser

1

1

2

Event Manager Bus
Server Side Components

Using Event-Driven Architecture

4
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
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
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
Handling Event-Driven issues
● Event Failure
● Event Ordering or Sequencing
● Eventual Consistency
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
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.
Thank you

Thank You!

Contenu connexe

En vedette

En vedette (9)

Big Trends in Big Data
Big Trends in Big DataBig Trends in Big Data
Big Trends in Big Data
 
Object-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism UnleashedObject-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism Unleashed
 
3rd Generation Web Application Platforms
3rd Generation Web Application Platforms3rd Generation Web Application Platforms
3rd Generation Web Application Platforms
 
Java7 New Features and Code Examples
Java7 New Features and Code ExamplesJava7 New Features and Code Examples
Java7 New Features and Code Examples
 
Asynchronous Processing in Java/JEE/Spring
Asynchronous Processing in Java/JEE/SpringAsynchronous Processing in Java/JEE/Spring
Asynchronous Processing in Java/JEE/Spring
 
Modular & Event driven UI Architecture
Modular & Event driven UI ArchitectureModular & Event driven UI Architecture
Modular & Event driven UI Architecture
 
Developing and deploying applications with Spring Boot and Docker (@oakjug)
Developing and deploying applications with Spring Boot and Docker (@oakjug)Developing and deploying applications with Spring Boot and Docker (@oakjug)
Developing and deploying applications with Spring Boot and Docker (@oakjug)
 
Mule ESB Fundamentals
Mule ESB FundamentalsMule ESB Fundamentals
Mule ESB Fundamentals
 
Event Driven-Architecture from a Scalability perspective
Event Driven-Architecture from a Scalability perspectiveEvent Driven-Architecture from a Scalability perspective
Event Driven-Architecture from a Scalability perspective
 

Similaire à Lie Cheat & Steal to build Hyper-Fast Applications using Event-Driven Architecture

Practical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User MonitoringPractical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User Monitoring
Dynatrace
 
Emergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptxEmergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptx
dragonaklevel7
 

Similaire à Lie Cheat & Steal to build Hyper-Fast Applications using Event-Driven Architecture (20)

Hostel Mess Attendance Management System using Wifi
Hostel Mess Attendance Management System using WifiHostel Mess Attendance Management System using Wifi
Hostel Mess Attendance Management System using Wifi
 
Real estate management system
Real estate management systemReal estate management system
Real estate management system
 
IRJET- Displaying Smart Phone Data in the Desktop using Firebase
IRJET- Displaying Smart Phone Data in the Desktop using FirebaseIRJET- Displaying Smart Phone Data in the Desktop using Firebase
IRJET- Displaying Smart Phone Data in the Desktop using Firebase
 
Progressive Web Apps for Education
Progressive Web Apps for EducationProgressive Web Apps for Education
Progressive Web Apps for Education
 
UiPath Meetup Service now + mainframe and legacy final
UiPath Meetup Service now + mainframe and legacy finalUiPath Meetup Service now + mainframe and legacy final
UiPath Meetup Service now + mainframe and legacy final
 
online news portal system
online news portal systemonline news portal system
online news portal system
 
MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!
 
Practical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User MonitoringPractical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User Monitoring
 
online ambulance service.pptx
online ambulance service.pptxonline ambulance service.pptx
online ambulance service.pptx
 
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
 
Using Automation to Meet Demands for Performance and Quality
Using Automation to Meet Demands for Performance and QualityUsing Automation to Meet Demands for Performance and Quality
Using Automation to Meet Demands for Performance and Quality
 
IRJET- Crime Management System
IRJET- Crime Management SystemIRJET- Crime Management System
IRJET- Crime Management System
 
AppNeura
AppNeuraAppNeura
AppNeura
 
20181023 progressive web_apps_are_here_sfcampua
20181023 progressive web_apps_are_here_sfcampua20181023 progressive web_apps_are_here_sfcampua
20181023 progressive web_apps_are_here_sfcampua
 
Progressive Web Apps are here!
Progressive Web Apps are here!Progressive Web Apps are here!
Progressive Web Apps are here!
 
Flexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the CampusFlexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the Campus
 
School management System
School management SystemSchool management System
School management System
 
Experitest & Cigniti Co-Webinar -
Experitest & Cigniti Co-Webinar -Experitest & Cigniti Co-Webinar -
Experitest & Cigniti Co-Webinar -
 
IRJET- Event Compass - An Event Management Application
IRJET- Event Compass - An Event Management ApplicationIRJET- Event Compass - An Event Management Application
IRJET- Event Compass - An Event Management Application
 
Emergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptxEmergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptx
 

Plus de Naresh Chintalcheru (10)

Cars.com Journey to AWS Cloud
Cars.com Journey to AWS CloudCars.com Journey to AWS Cloud
Cars.com Journey to AWS Cloud
 
Bimodal IT for Speed and Innovation
Bimodal IT for Speed and InnovationBimodal IT for Speed and Innovation
Bimodal IT for Speed and Innovation
 
Reactive systems
Reactive systemsReactive systems
Reactive systems
 
Introduction to Node.js Platform
Introduction to Node.js PlatformIntroduction to Node.js Platform
Introduction to Node.js Platform
 
Problems opening SOA to the Online Web Applications
Problems opening SOA to the Online Web ApplicationsProblems opening SOA to the Online Web Applications
Problems opening SOA to the Online Web Applications
 
Design & Develop Batch Applications in Java/JEE
Design & Develop Batch Applications in Java/JEEDesign & Develop Batch Applications in Java/JEE
Design & Develop Batch Applications in Java/JEE
 
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using WebsocketsBuilding Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Design & Development of Web Applications using SpringMVC
Design & Development of Web Applications using SpringMVC Design & Development of Web Applications using SpringMVC
Design & Development of Web Applications using SpringMVC
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Lie Cheat & Steal to build Hyper-Fast Applications using Event-Driven Architecture