SlideShare a Scribd company logo
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!

More Related Content

PPTX
Event management system india
PPTX
Singleclic Event Management System
PPTX
Cyber security training course
PPTX
Exploiting parameter tempering attack in web application
PPTX
Cyber security certification training course
PPTX
Secure Code Warrior - Defense in depth
DOCX
PPT
Crime filterd(ppt)
Event management system india
Singleclic Event Management System
Cyber security training course
Exploiting parameter tempering attack in web application
Cyber security certification training course
Secure Code Warrior - Defense in depth
Crime filterd(ppt)

Viewers also liked (9)

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

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

PPTX
Perficient PepsiCo Rich Internet Apps Seminar
PPTX
BASC presentation on security and application architecture
PPTX
Event Driven Architecture – Enabling Microservices
PPTX
TechDays 2010 Portugal - Event Driven Architectures - 16x9
PDF
Beyond IT optimization there is a (promised) land of application performance ...
PPTX
Event Driven Architectures - Net Conf UY 2018
PPTX
end2end Enterprise Architecture - Application Architecture
PPTX
end2end Enterprise Architecture - Application Architecture
PDF
Edwin Vd Sanden Composite Applications For Users
PDF
AP Credentials Presentation MMcG
KEY
Event Driven Architecture at NDDNUG
PPTX
Foundation for accelerating digital development—Two-speed IT
KEY
Event Driven Architecture
PPTX
AP Credentials Presentation DM
PDF
Innovations in Grid Computing with Oracle Coherence
PDF
Software Architecture - All you need to know
PPT
November 2009 - Walking on thin ice… from SOA to EDA
PPT
Ciber Soa April 2007 Omaha
PDF
Realtime Apps with Node.js, Heroku, and Force.com Streaming
PDF
Business Driven IT Design
Perficient PepsiCo Rich Internet Apps Seminar
BASC presentation on security and application architecture
Event Driven Architecture – Enabling Microservices
TechDays 2010 Portugal - Event Driven Architectures - 16x9
Beyond IT optimization there is a (promised) land of application performance ...
Event Driven Architectures - Net Conf UY 2018
end2end Enterprise Architecture - Application Architecture
end2end Enterprise Architecture - Application Architecture
Edwin Vd Sanden Composite Applications For Users
AP Credentials Presentation MMcG
Event Driven Architecture at NDDNUG
Foundation for accelerating digital development—Two-speed IT
Event Driven Architecture
AP Credentials Presentation DM
Innovations in Grid Computing with Oracle Coherence
Software Architecture - All you need to know
November 2009 - Walking on thin ice… from SOA to EDA
Ciber Soa April 2007 Omaha
Realtime Apps with Node.js, Heroku, and Force.com Streaming
Business Driven IT Design
Ad

More from Naresh Chintalcheru (10)

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

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPT
Teaching material agriculture food technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Machine Learning_overview_presentation.pptx
PDF
August Patch Tuesday
PPTX
1. Introduction to Computer Programming.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
Getting Started with Data Integration: FME Form 101
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Network Security Unit 5.pdf for BCA BBA.
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Teaching material agriculture food technology
Encapsulation_ Review paper, used for researhc scholars
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Machine Learning_overview_presentation.pptx
August Patch Tuesday
1. Introduction to Computer Programming.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
Group 1 Presentation -Planning and Decision Making .pptx
Empathic Computing: Creating Shared Understanding
Assigned Numbers - 2025 - Bluetooth® Document
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25-Week II

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