SlideShare a Scribd company logo
Reactive Microservices &
Programmatic Ad-tracking
Sumita Mudgil
Tech Lead - MiQ Digital
2
❑ Miq & Programmatic Ad-tracking
❑ Monolith & Microlith
❑ What is Reactive Microservice?
❑ Microservices come in and as systems
❑ Event Driven Architecture
❑ Event Driven Services
❑ Event Storming
❑ Summary
Agenda
3
4
The use of software to purchase digital
advertising. Programmatic can apply to
anything from display to digital out-of-home
and television.
5
Using computers to buy ads.
6
Daily Scale at MiQ
10+ TB
Data
Avg
response
time per
request
< 7ms
Real time
data
processing
< 1sec
60+ Data
sources
integrations
900,000
CPU
minutes
everyda
y
80
Billion
Ad
Impressi
ons
750
million
users
600+
advertiser
s
2500+
campai
gns
Tech Stats
Volume
Scale
Variety Velocity
7
So we wanted
to slice the
Almighty
monolith and
move towards
microservices
8
How do you start your
application migration?
9
Are you settling for
microlith?
Single instance microservice,
communicating over blocking
protocol
Resilient Scalable
10
Why the Reactive Manifesto ?
11
Reactive Microservices
Isolate All The things Act Autonomously Do One Thing, Do It Well
Own Your state,
Exclusively
Embrace Asynchronous
Message-Passing
Stay Mobile, but
Addressable
12
Microservices come in systems
One microservice is no microservice
Discovery Coordination Security Replication Consistency Failover Deployment Integration
13
Event driven architecture is a design
paradigm in which a software component
executes in response to receiving one or
more notifications.
- GARTNER
Event Driven
Architecture To
Rescue
14
Event Driven Services
Receive and
react(or not) to
the facts
coming its way
Publish new facts (as
events) to the rest of
the world
Invert the control
flow to minimize
the coupling and
increase
autonomy
Go Async, never block
Always apply
backpressure
Fast system should never
overload slow system
15
Eventual Consistency
Message buses
No one wants, it’s an necessary evil
AMAZING TEXT
Central point of failure
AMAZING TEXT
Async Communication
16
A CURE FOR CARDINAL SIN
Discussing the flow of events in your
organization and modelling that flow
in an easy to understand way.
Event Command
Aggregate Input
Policy
External
System
Event Storming
17
The Workshop
Enter order
details
Order
shipped
Order
placed
Send order
confirmation
mail
Order
packed
Command
Cause events
Event Flow
Reaction
This happens when that happens
Policy
Flow of events & Reactions
Event EventEvent
Event
18
Domain Driven Design
Aggregate Bounded Context
An Account
aggregate that
logically groups
account-related
commands and
events.
bounded contexts group
related language,
meaning, and culture
[bulkheads]
19
Event Sourcing
Advantages
2019
Disadvantages
➢ One single source of truth with
all history
➢ Allows the memory image -
durable in-memory state
➢ Avoids the object relational
impedance mismatch
➢ Allows others to subscribe to
state change
➢ Unfamiliar model
➢ Versioning of events
➢ Deletion of events (moral or
legal reasons)
20
Here we are
JARVIS
Connect your
data & insight
21
Takeaways
❑ Don’t build microliths
❑ Microservice come in/as (distributed) systems
❑ Embrace the reactive principles
❑ Embrace Event Driven Architecture
❑ Embrace Event Driven Persistence
❑ Profit!
22
Q&A
23
Thank You
Sumita Mudgil
sumita.mudgil@gmail.com
linkedin.com/in/sumita-mudgil-73759a3a
+91 9945536245

More Related Content

PPTX
Realtime attribution flink
PDF
apidays LIVE Australia 2020 - Events are Cool Again! by Nelson Petracek
PDF
Confluent & GSI Webinars series - Session 3
PDF
APAC Exec Roundtable
PDF
EVAM_Streaming Analytics_v1.5
PDF
ANZ C-Level Roundtable
PDF
The What and Why of Event-Driven Applications - VANTIQ/EDA Overview
PDF
Confluent & GSI Webinars series: Session 2
Realtime attribution flink
apidays LIVE Australia 2020 - Events are Cool Again! by Nelson Petracek
Confluent & GSI Webinars series - Session 3
APAC Exec Roundtable
EVAM_Streaming Analytics_v1.5
ANZ C-Level Roundtable
The What and Why of Event-Driven Applications - VANTIQ/EDA Overview
Confluent & GSI Webinars series: Session 2

Similar to Programmatic Ad Tracking: Let the power of Reactive Microservices do talking (20)

PDF
Transforming Financial Services with Event Streaming Data
PDF
Citi Tech Talk: Event Driven Kafka Microservices
PDF
IDC Insights Awards 2018 - What is an Event Mesh?
PDF
Apache Kafka® Use Cases for Financial Services
PDF
Event-Driven Architectures
PDF
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
PDF
IBM Systems of Interaction
PDF
Data reply sneak peek: real time decision engines
PPTX
Jazz for Service Management
PDF
Create Your Future with z Systems Cloud
PDF
EENA2019: Track3 session2 Enabling agility in the PSAP and the wider response...
PPTX
Kochi mulesoft meetup 02
PDF
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
PDF
apidays Dubai & Middle East 2023 - Unlock the Power of Digital Banking with E...
PPTX
How Cisco is Leveraging MuleSoft to Drive Continuous Innovation​ at Enterpris...
PDF
EDA-based IoT in Oil & Gas
PPTX
Increasing agility with php and kafka
PDF
NTGapps DTB Platform.pdf
PDF
The Significant role of event driven apps in software development
PPTX
Data Distribution for the Event-Driven Business
Transforming Financial Services with Event Streaming Data
Citi Tech Talk: Event Driven Kafka Microservices
IDC Insights Awards 2018 - What is an Event Mesh?
Apache Kafka® Use Cases for Financial Services
Event-Driven Architectures
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
IBM Systems of Interaction
Data reply sneak peek: real time decision engines
Jazz for Service Management
Create Your Future with z Systems Cloud
EENA2019: Track3 session2 Enabling agility in the PSAP and the wider response...
Kochi mulesoft meetup 02
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
apidays Dubai & Middle East 2023 - Unlock the Power of Digital Banking with E...
How Cisco is Leveraging MuleSoft to Drive Continuous Innovation​ at Enterpris...
EDA-based IoT in Oil & Gas
Increasing agility with php and kafka
NTGapps DTB Platform.pdf
The Significant role of event driven apps in software development
Data Distribution for the Event-Driven Business
Ad

More from Tech Triveni (20)

PDF
UI Dev in Big data world using open source
PDF
Why should a Java programmer shifts towards Functional Programming Paradigm
PDF
Reactive - Is it really a Magic Pill?
PDF
Let’s go reactive with JAVA
PDF
Tackling Asynchrony with Kotlin Coroutines
PDF
Let's refine your Scala Code
PDF
Supercharged imperative programming with Haskell and Functional Programming
PDF
Observability at scale with Neural Networks: A more proactive approach
PDF
Semi-Supervised Insight Generation from Petabyte Scale Text Data
PDF
Finding the best solution for Image Processing
PDF
Proximity Targeting at Scale using Big Data Platforms
PDF
Effecting Pure Change - How anything ever gets done in functional programming...
PDF
Becoming a Functional Programmer - Harit Himanshu (Nomis Solutions)
PDF
Live coding session on AI / ML using Google Tensorflow (Python) - Tanmoy Deb ...
PDF
Distributing the SMACK stack - Kubernetes VS DCOS - Sahil Sawhney (Knoldus Inc.)
PDF
Blue Pill / Red Pill : The Matrix of thousands of data streams - Himanshu Gup...
PDF
UX in Big Data Analytics - Paramjit Jolly (Guavus)
PDF
Simplified Scala Monads And Transformation - Harmeet Singh (Knoldus Inc.)
PDF
Micro Frontends Architecture - Jitendra kumawat (Guavus)
PDF
Apache CarbonData+Spark to realize data convergence and Unified high performa...
UI Dev in Big data world using open source
Why should a Java programmer shifts towards Functional Programming Paradigm
Reactive - Is it really a Magic Pill?
Let’s go reactive with JAVA
Tackling Asynchrony with Kotlin Coroutines
Let's refine your Scala Code
Supercharged imperative programming with Haskell and Functional Programming
Observability at scale with Neural Networks: A more proactive approach
Semi-Supervised Insight Generation from Petabyte Scale Text Data
Finding the best solution for Image Processing
Proximity Targeting at Scale using Big Data Platforms
Effecting Pure Change - How anything ever gets done in functional programming...
Becoming a Functional Programmer - Harit Himanshu (Nomis Solutions)
Live coding session on AI / ML using Google Tensorflow (Python) - Tanmoy Deb ...
Distributing the SMACK stack - Kubernetes VS DCOS - Sahil Sawhney (Knoldus Inc.)
Blue Pill / Red Pill : The Matrix of thousands of data streams - Himanshu Gup...
UX in Big Data Analytics - Paramjit Jolly (Guavus)
Simplified Scala Monads And Transformation - Harmeet Singh (Knoldus Inc.)
Micro Frontends Architecture - Jitendra kumawat (Guavus)
Apache CarbonData+Spark to realize data convergence and Unified high performa...
Ad

Recently uploaded (20)

PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Spectroscopy.pptx food analysis technology
PDF
Encapsulation theory and applications.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
1. Introduction to Computer Programming.pptx
Heart disease approach using modified random forest and particle swarm optimi...
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Weekly Chronicles - August'25-Week II
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Univ-Connecticut-ChatGPT-Presentaion.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Mobile App Security Testing_ A Comprehensive Guide.pdf
TLE Review Electricity (Electricity).pptx
OMC Textile Division Presentation 2021.pptx
Tartificialntelligence_presentation.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Assigned Numbers - 2025 - Bluetooth® Document
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
1. Introduction to Computer Programming.pptx

Programmatic Ad Tracking: Let the power of Reactive Microservices do talking

  • 1. Reactive Microservices & Programmatic Ad-tracking Sumita Mudgil Tech Lead - MiQ Digital
  • 2. 2 ❑ Miq & Programmatic Ad-tracking ❑ Monolith & Microlith ❑ What is Reactive Microservice? ❑ Microservices come in and as systems ❑ Event Driven Architecture ❑ Event Driven Services ❑ Event Storming ❑ Summary Agenda
  • 3. 3
  • 4. 4 The use of software to purchase digital advertising. Programmatic can apply to anything from display to digital out-of-home and television.
  • 6. 6 Daily Scale at MiQ 10+ TB Data Avg response time per request < 7ms Real time data processing < 1sec 60+ Data sources integrations 900,000 CPU minutes everyda y 80 Billion Ad Impressi ons 750 million users 600+ advertiser s 2500+ campai gns Tech Stats Volume Scale Variety Velocity
  • 7. 7 So we wanted to slice the Almighty monolith and move towards microservices
  • 8. 8 How do you start your application migration?
  • 9. 9 Are you settling for microlith? Single instance microservice, communicating over blocking protocol Resilient Scalable
  • 10. 10 Why the Reactive Manifesto ?
  • 11. 11 Reactive Microservices Isolate All The things Act Autonomously Do One Thing, Do It Well Own Your state, Exclusively Embrace Asynchronous Message-Passing Stay Mobile, but Addressable
  • 12. 12 Microservices come in systems One microservice is no microservice Discovery Coordination Security Replication Consistency Failover Deployment Integration
  • 13. 13 Event driven architecture is a design paradigm in which a software component executes in response to receiving one or more notifications. - GARTNER Event Driven Architecture To Rescue
  • 14. 14 Event Driven Services Receive and react(or not) to the facts coming its way Publish new facts (as events) to the rest of the world Invert the control flow to minimize the coupling and increase autonomy Go Async, never block Always apply backpressure Fast system should never overload slow system
  • 15. 15 Eventual Consistency Message buses No one wants, it’s an necessary evil AMAZING TEXT Central point of failure AMAZING TEXT Async Communication
  • 16. 16 A CURE FOR CARDINAL SIN Discussing the flow of events in your organization and modelling that flow in an easy to understand way. Event Command Aggregate Input Policy External System Event Storming
  • 17. 17 The Workshop Enter order details Order shipped Order placed Send order confirmation mail Order packed Command Cause events Event Flow Reaction This happens when that happens Policy Flow of events & Reactions Event EventEvent Event
  • 18. 18 Domain Driven Design Aggregate Bounded Context An Account aggregate that logically groups account-related commands and events. bounded contexts group related language, meaning, and culture [bulkheads]
  • 19. 19 Event Sourcing Advantages 2019 Disadvantages ➢ One single source of truth with all history ➢ Allows the memory image - durable in-memory state ➢ Avoids the object relational impedance mismatch ➢ Allows others to subscribe to state change ➢ Unfamiliar model ➢ Versioning of events ➢ Deletion of events (moral or legal reasons)
  • 20. 20 Here we are JARVIS Connect your data & insight
  • 21. 21 Takeaways ❑ Don’t build microliths ❑ Microservice come in/as (distributed) systems ❑ Embrace the reactive principles ❑ Embrace Event Driven Architecture ❑ Embrace Event Driven Persistence ❑ Profit!