SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Reactive Data System
in Practice
Or how to solve Fast Data Problem
and reacting to the World faster
By Triều Nguyễn at http://trieu.xyz
http://www.rfxlab.com (Reactive Data System Lab)
λ(x)
2008: Java Developer, develop Social Trading Network for a
startup (Yopco)
2011: joined FPT Online, software engineer, worked in FPT ID
project and VnExpress Mobile (Backend)
2012: backend engineer at Greengar (Scaling server and real-
time services)
12/2012 to 05/2015: back to FPT Online, lead engineer at
eClick Ad Platform
06/2015 to now: lead engineer at iTVad, a startup project at
FPT for OTT and TV Advertising Solutions
about me
1. Just some concepts
2. Ideas in practice
3. What is RFX framework ?
4. Why is RFX ?
5. How to solve problems with RFX ?
a. Counting pageview of website
b. Counting unique user of website
c. Querying data more reactive and adaptive
6. Final ideas
Contents of this talk
1 - Just some concepts
Fast Data vs Big Data
What is Reactive Data System ?
is a software design approach that uses the
principles of event driven architecture for the
design and implementation of data intensive
applications.
Event Driven Architecture
EDA is a framework that promotes production,
detection, consumption and reaction to the
events. Event based applications will run on
RDS framework.
Why is Reactive Data System
We want to ask bigger questions faster
2 - Ideas in practice
Problem (User Story in Practice)
● User does login with FB Connect at
Ecommerce website
● User does a click on an item, then system
should do the following tasks:
1. Find best items to recommend
2. Find a best item to send email marketing
3. If there are more than 100 users, that click on a item,
run a marketing campaign on Facebook
automatically.
An example from E-Commerce
3 - What is RFX framework ?
● A framework for big fast data problems
● A collection of Open Source Tools from Netty to Spark
● The mission of RFX
1. Build data product quickly with design patterns
2. React to critical events in real-time
What is RFX or Reactive Function X ?
RFX is inspired by the Actor Model Theory
Paper: http://vialab.science.uoit.ca/textvis2011/papers/textvis%202011-rohrdantz.pdf
RFX is designed for startup business
I design RFX because I have to solve following problems both at
FPT and at RFXLab.com
● Marketing Automation
● Product UX personalization
● Real-time Advertising
● System monitoring (frontend and backend)
● Email marketing
● Product Analytics
● Customer Analytics
→ So I build a full-stack framework (a collection of tools for
both backend and frontend)
Philosophy of RFX
Sub modules in RFX framework
4 - Why is RFX framework ?
Why Rfx ?
● Ideas since 2012 (from Actor model theory)
● R&D and Deployed in Production since 2013
● Open Source: Apache License, Version 2.0
● Full Stack: from Frontend to Backend
● Agile for Data Analytics
● Lightweight Lambda Architecture
● Really fast and near-real-time processing
● Tested with 1.000.000 events / second
● Simple development model for data engineer
Roadmap to the future
5 - How to solve problems
with RFX ?
Problems
User story in Digital Marketing:
1. Counting pageview of website
2. Counting unique user of website
3. Real-time marketing
Find rush hour in your system
Which device user reach our content
Solution Architecture
Tracking
(RFX-track)
Event Queue
(Apache Kafka)
Event Processor
(RFX-stream)
RedisMongoDB
Synch Data Jobs
(RFX-job)
Report
(RFX-report) Event Actor
(RFX-actor)
Ad Server
An example topology
6 - Final ideas
Summary
● Fast Data is cool
● Fast data: The next step after big data
● RFX is designed to solve common Fast Data
problems in Digital Marketing and Advertising
https://github.com/rfxlab/rfx
The end and thank you
https://github.com/rfxlab
http://rfxlab.com
λ

Weitere ähnliche Inhalte

Was ist angesagt?

LinkedIn-ATG-SI-2016May22-SE-V5
LinkedIn-ATG-SI-2016May22-SE-V5LinkedIn-ATG-SI-2016May22-SE-V5
LinkedIn-ATG-SI-2016May22-SE-V5
Stefan Ianta
 

Was ist angesagt? (20)

Ruben Diaz, Vision Banco + Rafael Coss, H2O ai + Luis Armenta, IBM - AI journ...
Ruben Diaz, Vision Banco + Rafael Coss, H2O ai + Luis Armenta, IBM - AI journ...Ruben Diaz, Vision Banco + Rafael Coss, H2O ai + Luis Armenta, IBM - AI journ...
Ruben Diaz, Vision Banco + Rafael Coss, H2O ai + Luis Armenta, IBM - AI journ...
 
Rakuten - Recommendation Platform
Rakuten - Recommendation PlatformRakuten - Recommendation Platform
Rakuten - Recommendation Platform
 
Data Warehousing Trends
Data Warehousing TrendsData Warehousing Trends
Data Warehousing Trends
 
Bringing ML To Production, What Is Missing? AMLD 2020
Bringing ML To Production, What Is Missing? AMLD 2020Bringing ML To Production, What Is Missing? AMLD 2020
Bringing ML To Production, What Is Missing? AMLD 2020
 
Evolutionary Design Patterns for Software Development
Evolutionary Design Patterns for Software Development Evolutionary Design Patterns for Software Development
Evolutionary Design Patterns for Software Development
 
BBBT Watson Data Platform Presentation
BBBT Watson Data Platform PresentationBBBT Watson Data Platform Presentation
BBBT Watson Data Platform Presentation
 
LinkedIn-ATG-SI-2016May22-SE-V5
LinkedIn-ATG-SI-2016May22-SE-V5LinkedIn-ATG-SI-2016May22-SE-V5
LinkedIn-ATG-SI-2016May22-SE-V5
 
London atlassian meetup 31 jan 2016 jira metrics-extract slides
London atlassian meetup 31 jan 2016 jira metrics-extract slidesLondon atlassian meetup 31 jan 2016 jira metrics-extract slides
London atlassian meetup 31 jan 2016 jira metrics-extract slides
 
Analytics Driven UX
Analytics Driven UXAnalytics Driven UX
Analytics Driven UX
 
Misusing MLflow To Help Deduplicate Data At Scale
Misusing MLflow To Help Deduplicate Data At ScaleMisusing MLflow To Help Deduplicate Data At Scale
Misusing MLflow To Help Deduplicate Data At Scale
 
TCP1P.net Meetup Vision, Objectives and Roadmap
TCP1P.net Meetup Vision, Objectives and RoadmapTCP1P.net Meetup Vision, Objectives and Roadmap
TCP1P.net Meetup Vision, Objectives and Roadmap
 
Using H2O for Mobile Transaction Forecasting & Anomaly Detection - Capital One
Using H2O for Mobile Transaction Forecasting & Anomaly Detection - Capital OneUsing H2O for Mobile Transaction Forecasting & Anomaly Detection - Capital One
Using H2O for Mobile Transaction Forecasting & Anomaly Detection - Capital One
 
Evolutionary Machine Intelligence in Smart Markets of microservices
Evolutionary Machine Intelligence in Smart Markets of microservicesEvolutionary Machine Intelligence in Smart Markets of microservices
Evolutionary Machine Intelligence in Smart Markets of microservices
 
Managing mobile apps with ml df2020
Managing mobile apps with ml df2020Managing mobile apps with ml df2020
Managing mobile apps with ml df2020
 
H2O AutoML roadmap - Ray Peck
H2O AutoML roadmap - Ray PeckH2O AutoML roadmap - Ray Peck
H2O AutoML roadmap - Ray Peck
 
Krish Swamy + Balaji Gopalakrishnan, Wells Fargo - Building a World Class Dat...
Krish Swamy + Balaji Gopalakrishnan, Wells Fargo - Building a World Class Dat...Krish Swamy + Balaji Gopalakrishnan, Wells Fargo - Building a World Class Dat...
Krish Swamy + Balaji Gopalakrishnan, Wells Fargo - Building a World Class Dat...
 
Cloud-Native Microservices
Cloud-Native MicroservicesCloud-Native Microservices
Cloud-Native Microservices
 
Dataiku data science studio
Dataiku data science studioDataiku data science studio
Dataiku data science studio
 
sMART Store of Cypher-Annotated Microservices
sMART Store of Cypher-Annotated MicroservicessMART Store of Cypher-Annotated Microservices
sMART Store of Cypher-Annotated Microservices
 
Nadine Schöne, Dataiku. The Complete Data Value Chain in a Nutshell
Nadine Schöne, Dataiku. The Complete Data Value Chain in a NutshellNadine Schöne, Dataiku. The Complete Data Value Chain in a Nutshell
Nadine Schöne, Dataiku. The Complete Data Value Chain in a Nutshell
 

Andere mochten auch

Where is my next jobs in the age of Big Data and Automation
Where is my next jobs in the age of Big Data and AutomationWhere is my next jobs in the age of Big Data and Automation
Where is my next jobs in the age of Big Data and Automation
Trieu Nguyen
 
Hadoop trong triển khai Big Data
Hadoop trong triển khai Big DataHadoop trong triển khai Big Data
Hadoop trong triển khai Big Data
Nguyễn Duy Nhân
 
Nhom 16 big data
Nhom 16 big dataNhom 16 big data
Nhom 16 big data
Duy Phan
 

Andere mochten auch (20)

Where is my next jobs in the age of Big Data and Automation
Where is my next jobs in the age of Big Data and AutomationWhere is my next jobs in the age of Big Data and Automation
Where is my next jobs in the age of Big Data and Automation
 
2016 Data Science Salary Survey
2016 Data Science Salary Survey2016 Data Science Salary Survey
2016 Data Science Salary Survey
 
Experience economy
Experience economyExperience economy
Experience economy
 
Introduction to Human Data Theory for Digital Economy
Introduction to Human Data Theory for Digital EconomyIntroduction to Human Data Theory for Digital Economy
Introduction to Human Data Theory for Digital Economy
 
Application-oriented ping-pong benchmarking: how to assess the real communica...
Application-oriented ping-pong benchmarking: how to assess the real communica...Application-oriented ping-pong benchmarking: how to assess the real communica...
Application-oriented ping-pong benchmarking: how to assess the real communica...
 
A Day in the Life of a Hadoop Administrator
A Day in the Life of a Hadoop AdministratorA Day in the Life of a Hadoop Administrator
A Day in the Life of a Hadoop Administrator
 
Fast Data processing with RFX
Fast Data processing with RFXFast Data processing with RFX
Fast Data processing with RFX
 
Slide 2 collecting, storing and analyzing big data
Slide 2 collecting, storing and analyzing big dataSlide 2 collecting, storing and analyzing big data
Slide 2 collecting, storing and analyzing big data
 
Upgrade Without the Headache: Best Practices for Upgrading Hadoop in Production
Upgrade Without the Headache: Best Practices for Upgrading Hadoop in ProductionUpgrade Without the Headache: Best Practices for Upgrading Hadoop in Production
Upgrade Without the Headache: Best Practices for Upgrading Hadoop in Production
 
Luan van hadoop-final
Luan van hadoop-finalLuan van hadoop-final
Luan van hadoop-final
 
How to build a data driven business in big data age
How to build a data driven business in big data ageHow to build a data driven business in big data age
How to build a data driven business in big data age
 
Hadoop trong triển khai Big Data
Hadoop trong triển khai Big DataHadoop trong triển khai Big Data
Hadoop trong triển khai Big Data
 
TỔNG QUAN VỀ DỮ LIỆU LỚN (BIGDATA)
TỔNG QUAN VỀ DỮ LIỆU LỚN (BIGDATA)TỔNG QUAN VỀ DỮ LIỆU LỚN (BIGDATA)
TỔNG QUAN VỀ DỮ LIỆU LỚN (BIGDATA)
 
Building Netty Servers
Building Netty ServersBuilding Netty Servers
Building Netty Servers
 
Netty Cookbook - Chapter 1
Netty Cookbook - Chapter 1Netty Cookbook - Chapter 1
Netty Cookbook - Chapter 1
 
Netty Cookbook - Chapter 2
Netty Cookbook - Chapter 2Netty Cookbook - Chapter 2
Netty Cookbook - Chapter 2
 
Netty Cookbook - Table of contents
Netty Cookbook - Table of contentsNetty Cookbook - Table of contents
Netty Cookbook - Table of contents
 
Netty Notes Part 2 - Transports and Buffers
Netty Notes Part 2 - Transports and BuffersNetty Notes Part 2 - Transports and Buffers
Netty Notes Part 2 - Transports and Buffers
 
Nhom 16 big data
Nhom 16 big dataNhom 16 big data
Nhom 16 big data
 
Crossroads of Asynchrony and Graceful Degradation
Crossroads of Asynchrony and Graceful DegradationCrossroads of Asynchrony and Graceful Degradation
Crossroads of Asynchrony and Graceful Degradation
 

Ähnlich wie Reactive Data System in Practice

Khaled el sheikh curriculum vitae
Khaled el sheikh curriculum vitaeKhaled el sheikh curriculum vitae
Khaled el sheikh curriculum vitae
Khaled El Sheikh
 
The SharePoint Journey
The SharePoint JourneyThe SharePoint Journey
The SharePoint Journey
Robin McManus
 
Li Yufeng Resume
Li Yufeng ResumeLi Yufeng Resume
Li Yufeng Resume
Li Yufeng
 

Ähnlich wie Reactive Data System in Practice (20)

Introduction to RFX for Backend Developer
Introduction to RFX for Backend DeveloperIntroduction to RFX for Backend Developer
Introduction to RFX for Backend Developer
 
Building Reactive Real-time Data Pipeline
Building Reactive Real-time Data PipelineBuilding Reactive Real-time Data Pipeline
Building Reactive Real-time Data Pipeline
 
Building Dynamic Web Applications on i5 with PHP
Building Dynamic Web Applications on i5 with PHPBuilding Dynamic Web Applications on i5 with PHP
Building Dynamic Web Applications on i5 with PHP
 
Khaled el sheikh curriculum vitae
Khaled el sheikh curriculum vitaeKhaled el sheikh curriculum vitae
Khaled el sheikh curriculum vitae
 
Lambda architecture for real time big data
Lambda architecture for real time big dataLambda architecture for real time big data
Lambda architecture for real time big data
 
Documentation of Online jobs for BCA last sem on PHP.
Documentation of Online jobs for BCA last sem on PHP.Documentation of Online jobs for BCA last sem on PHP.
Documentation of Online jobs for BCA last sem on PHP.
 
Top 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web developmentTop 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web development
 
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsEnterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and Apps
 
mjpaguio-resume
mjpaguio-resumemjpaguio-resume
mjpaguio-resume
 
The SharePoint Journey
The SharePoint JourneyThe SharePoint Journey
The SharePoint Journey
 
priti_resume
priti_resumepriti_resume
priti_resume
 
Custom ERPNext Solutions
Custom ERPNext SolutionsCustom ERPNext Solutions
Custom ERPNext Solutions
 
Full Stack Web Development Basics to Know.pdf
Full Stack Web Development Basics to Know.pdfFull Stack Web Development Basics to Know.pdf
Full Stack Web Development Basics to Know.pdf
 
Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...
 
Logesh Kumaran M
Logesh Kumaran MLogesh Kumaran M
Logesh Kumaran M
 
Resume
ResumeResume
Resume
 
Hatem Nada CV
Hatem Nada CVHatem Nada CV
Hatem Nada CV
 
Li Yufeng Resume
Li Yufeng ResumeLi Yufeng Resume
Li Yufeng Resume
 
Diganta Goswami Resume
Diganta Goswami ResumeDiganta Goswami Resume
Diganta Goswami Resume
 
Integrating Workday with the Rest of the Enterprise
Integrating Workday with the Rest of the EnterpriseIntegrating Workday with the Rest of the Enterprise
Integrating Workday with the Rest of the Enterprise
 

Mehr von Trieu Nguyen

[Notes] Customer 360 Analytics with LEO CDP
[Notes] Customer 360 Analytics with LEO CDP[Notes] Customer 360 Analytics with LEO CDP
[Notes] Customer 360 Analytics with LEO CDP
Trieu Nguyen
 

Mehr von Trieu Nguyen (20)

Building Your Customer Data Platform with LEO CDP in Travel Industry.pdf
Building Your Customer Data Platform with LEO CDP in Travel Industry.pdfBuilding Your Customer Data Platform with LEO CDP in Travel Industry.pdf
Building Your Customer Data Platform with LEO CDP in Travel Industry.pdf
 
Building Your Customer Data Platform with LEO CDP - Spa and Hotel Business
Building Your Customer Data Platform with LEO CDP - Spa and Hotel BusinessBuilding Your Customer Data Platform with LEO CDP - Spa and Hotel Business
Building Your Customer Data Platform with LEO CDP - Spa and Hotel Business
 
Building Your Customer Data Platform with LEO CDP
Building Your Customer Data Platform with LEO CDP Building Your Customer Data Platform with LEO CDP
Building Your Customer Data Platform with LEO CDP
 
How to track and improve Customer Experience with LEO CDP
How to track and improve Customer Experience with LEO CDPHow to track and improve Customer Experience with LEO CDP
How to track and improve Customer Experience with LEO CDP
 
[Notes] Customer 360 Analytics with LEO CDP
[Notes] Customer 360 Analytics with LEO CDP[Notes] Customer 360 Analytics with LEO CDP
[Notes] Customer 360 Analytics with LEO CDP
 
Leo CDP - Pitch Deck
Leo CDP - Pitch DeckLeo CDP - Pitch Deck
Leo CDP - Pitch Deck
 
LEO CDP - What's new in 2022
LEO CDP  - What's new in 2022LEO CDP  - What's new in 2022
LEO CDP - What's new in 2022
 
Lộ trình triển khai LEO CDP cho ngành bất động sản
Lộ trình triển khai LEO CDP cho ngành bất động sảnLộ trình triển khai LEO CDP cho ngành bất động sản
Lộ trình triển khai LEO CDP cho ngành bất động sản
 
Why is LEO CDP important for digital business ?
Why is LEO CDP important for digital business ?Why is LEO CDP important for digital business ?
Why is LEO CDP important for digital business ?
 
From Dataism to Customer Data Platform
From Dataism to Customer Data PlatformFrom Dataism to Customer Data Platform
From Dataism to Customer Data Platform
 
Data collection, processing & organization with USPA framework
Data collection, processing & organization with USPA frameworkData collection, processing & organization with USPA framework
Data collection, processing & organization with USPA framework
 
Part 1: Introduction to digital marketing technology
Part 1: Introduction to digital marketing technologyPart 1: Introduction to digital marketing technology
Part 1: Introduction to digital marketing technology
 
Why is Customer Data Platform (CDP) ?
Why is Customer Data Platform (CDP) ?Why is Customer Data Platform (CDP) ?
Why is Customer Data Platform (CDP) ?
 
How to build a Personalized News Recommendation Platform
How to build a Personalized News Recommendation PlatformHow to build a Personalized News Recommendation Platform
How to build a Personalized News Recommendation Platform
 
How to grow your business in the age of digital marketing 4.0
How to grow your business  in the age of digital marketing 4.0How to grow your business  in the age of digital marketing 4.0
How to grow your business in the age of digital marketing 4.0
 
Video Ecosystem and some ideas about video big data
Video Ecosystem and some ideas about video big dataVideo Ecosystem and some ideas about video big data
Video Ecosystem and some ideas about video big data
 
Concepts, use cases and principles to build big data systems (1)
Concepts, use cases and principles to build big data systems (1)Concepts, use cases and principles to build big data systems (1)
Concepts, use cases and principles to build big data systems (1)
 
Open OTT - Video Content Platform
Open OTT - Video Content PlatformOpen OTT - Video Content Platform
Open OTT - Video Content Platform
 
Apache Hadoop and Spark: Introduction and Use Cases for Data Analysis
Apache Hadoop and Spark: Introduction and Use Cases for Data AnalysisApache Hadoop and Spark: Introduction and Use Cases for Data Analysis
Apache Hadoop and Spark: Introduction and Use Cases for Data Analysis
 
Introduction to Recommendation Systems (Vietnam Web Submit)
Introduction to Recommendation Systems (Vietnam Web Submit)Introduction to Recommendation Systems (Vietnam Web Submit)
Introduction to Recommendation Systems (Vietnam Web Submit)
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

Reactive Data System in Practice

  • 1. Reactive Data System in Practice Or how to solve Fast Data Problem and reacting to the World faster By Triều Nguyễn at http://trieu.xyz http://www.rfxlab.com (Reactive Data System Lab) λ(x)
  • 2. 2008: Java Developer, develop Social Trading Network for a startup (Yopco) 2011: joined FPT Online, software engineer, worked in FPT ID project and VnExpress Mobile (Backend) 2012: backend engineer at Greengar (Scaling server and real- time services) 12/2012 to 05/2015: back to FPT Online, lead engineer at eClick Ad Platform 06/2015 to now: lead engineer at iTVad, a startup project at FPT for OTT and TV Advertising Solutions about me
  • 3. 1. Just some concepts 2. Ideas in practice 3. What is RFX framework ? 4. Why is RFX ? 5. How to solve problems with RFX ? a. Counting pageview of website b. Counting unique user of website c. Querying data more reactive and adaptive 6. Final ideas Contents of this talk
  • 4. 1 - Just some concepts
  • 5. Fast Data vs Big Data
  • 6. What is Reactive Data System ? is a software design approach that uses the principles of event driven architecture for the design and implementation of data intensive applications. Event Driven Architecture EDA is a framework that promotes production, detection, consumption and reaction to the events. Event based applications will run on RDS framework.
  • 7. Why is Reactive Data System We want to ask bigger questions faster
  • 8. 2 - Ideas in practice
  • 9. Problem (User Story in Practice) ● User does login with FB Connect at Ecommerce website ● User does a click on an item, then system should do the following tasks: 1. Find best items to recommend 2. Find a best item to send email marketing 3. If there are more than 100 users, that click on a item, run a marketing campaign on Facebook automatically.
  • 10. An example from E-Commerce
  • 11. 3 - What is RFX framework ?
  • 12. ● A framework for big fast data problems ● A collection of Open Source Tools from Netty to Spark ● The mission of RFX 1. Build data product quickly with design patterns 2. React to critical events in real-time What is RFX or Reactive Function X ?
  • 13. RFX is inspired by the Actor Model Theory
  • 15. RFX is designed for startup business I design RFX because I have to solve following problems both at FPT and at RFXLab.com ● Marketing Automation ● Product UX personalization ● Real-time Advertising ● System monitoring (frontend and backend) ● Email marketing ● Product Analytics ● Customer Analytics → So I build a full-stack framework (a collection of tools for both backend and frontend)
  • 17. Sub modules in RFX framework
  • 18. 4 - Why is RFX framework ?
  • 19. Why Rfx ? ● Ideas since 2012 (from Actor model theory) ● R&D and Deployed in Production since 2013 ● Open Source: Apache License, Version 2.0 ● Full Stack: from Frontend to Backend ● Agile for Data Analytics ● Lightweight Lambda Architecture ● Really fast and near-real-time processing ● Tested with 1.000.000 events / second ● Simple development model for data engineer
  • 20. Roadmap to the future
  • 21. 5 - How to solve problems with RFX ?
  • 22. Problems User story in Digital Marketing: 1. Counting pageview of website 2. Counting unique user of website 3. Real-time marketing
  • 23. Find rush hour in your system
  • 24. Which device user reach our content
  • 25. Solution Architecture Tracking (RFX-track) Event Queue (Apache Kafka) Event Processor (RFX-stream) RedisMongoDB Synch Data Jobs (RFX-job) Report (RFX-report) Event Actor (RFX-actor) Ad Server
  • 26.
  • 28. 6 - Final ideas
  • 29. Summary ● Fast Data is cool ● Fast data: The next step after big data ● RFX is designed to solve common Fast Data problems in Digital Marketing and Advertising
  • 31. The end and thank you https://github.com/rfxlab http://rfxlab.com λ