SlideShare a Scribd company logo
Introduction to RFX for
Backend Developer
Reactive Function (X)
the Open Source Framework for solving Fast Data Problem
and reacting to the World with Deep Learning
By Triều Nguyễn, the creator of RFX
http://mc2ads.com (Reactive Big Data Lab)
λ(x)
2008: Java Developer, develop Social Trading Network for a
startup (Yopco)
2011: joined FPT Online, software engineer, worked in banbe.
net social network and VnExpress Mobile Restful API
2012: backend engineer at Greengar Studios
12/2012 to now - back to FPT Online, lead engineer,
developed new version Data Analytics Platform (ad-network
eclick.vn and VnExpress News)
Introduction about myself
1. What is Rfx ?
2. Inception and Ideas
3. How Rfx was born
4. Why is Rfx ?
a. from big picture view (business)
b. from business view
c. from specific problems
5. Concepts and architecture: The BIG picture
6. Coding and tutorials from practical problems
7. Resources for self-studying
Contents of this talk
● A framework for reactive real-time big fast data
● A collection of Open Source Tools
● The mission of RFX
→ “BUILD digital data-driven brain for every company in the
World”
What is RFX or Reactive Function X ?
INCEPTION and Ideas
Ideas when I was student, internship at DRD,
non-profit Organization
More info at http://activefunctor.blogspot.com
Challenges for today computing
Ask bigger questions
http://singularityhub.com/2014/04/20/new-imaging-method-shows-young-neurons-making-connections-exchanging-information/
Complex brain network topology
Digital Brain Topology
Think about
this module
Why Rfx ?
● Ideas since 2007 (from Haskell and Actor model theory)
● R&D and Deployed in Production since 2013
● Open Source: Apache License, Version 2.0
● Full Stack: Front-end and Back-end
● Apply Agile for Analytics and Data Science
● Apply Reactive Lambda Architecture
● Really fast and near-real-time processing
● Tested with 1.000.000 logs / second (1 million in 1 second)
● Simple development model for big data developer
What problems can be solved with Rfx
Domain (in business) where Rfx can be used
● real-time data analytics for digital marketing, advertising
● hospital systems
● personal banking system
● financial institution to detect frauds
● manufacturing plant
● airline systems
● online trading system
● emergency control system
● manufacturing plant management system
● road tolling system detects
● social networking site
Paper: http://vialab.science.uoit.ca/textvis2011/papers/textvis%202011-rohrdantz.pdf
Problem: How to monitor Mobile Web Performance and react
to slow response time
http://sixrevisions.com/mobile/pay-attention-to-mobile-web-performance
Luggage management system, events are produced by the check-in process
and by the various radio-frequency identification (RFID) readers, which emit
events about the movement of the luggage in the system. The events
generated by the event processing system are consumed by the luggage
control system itself, by airport staff, or even by the passengers themselves.
Problem: Monitoring sensor data and real-time security checking
Actor
User, Mobile,
Browser, ...
Reactive Lambda Architecture
System Rfx-
Topology
data + context + metadata
useful (data + relationship)
Database
NoSQL
1. Actor → System
2. System → Database
3. Database → System
4. System → Actor
Concepts
● Each user, who uses the services and creates data, is the
actor in system
● Actor is the source of all events (aka: logs), (click, reading
news, sending message to friends, playing games, ...)
● Functor (aka: neuron) is a computing object, used for
storing, processing data and emitting results to subscribed
functors
● Topology is the directed graph, define how functors that
are connected with stream data and process data
Philosophy and the Architecture
Introduction to RFX for Backend Developer
There are 3 demos, from simple to advanced user story
User story 1: Counting Real-time URL Pageview
User story 2: Monitoring Social Media Statistics
User story 3: Social Ranking for Recommendation Engine
User Story
Domain problem: Reactive Real-time Marketing
User story’s details:
1. User does read news from a website
→ tracking user activities (pageview, time on site)
2. User does login with Facebook Account
3. User clicks on like Facebook button
→ tracking what user liked, commented
4. The marketer/data analyst should see the trending most
read article in real-time
● → Personalized articles for the reader
● → Native advertising in real-time
Introduction to RFX for Backend Developer
Demo user story 1: Counting Real-time URL Pageview
Input:
1. The pageview logs from HTTP
Output:
1. The total number of page-view
2. The total number of page-view per hour
3. The total number of page-view per minute
4. The total number of page-view per second
5. The total number of page-view for URL
Introduction to RFX for Backend Developer
Demo user story 2: Monitoring Social Media Statistics
Input:
1. The pageview logs from HTTP
Output:
The social media statistics from:
1. Facebook: Like, Share, Comment
2. Twitter: Tweet Count
3. LinkedIn: Share Count
4. Geolocation heat-map report
Introduction to RFX for Backend Developer
Demo user story 3:
Social Ranking for Recommendation Engine
Input:
● Data: the URL of article
● Context: where (User's Location), when (time visit), from
where (referer url)
● Metadata: keywords, category of article
Output:
Real-time Statistics about pageview, social media statistics
(Share, Like, Comment), recommended articles
The list of articles are ranked by:
● most liked and same category
● most viewed and same category
● most liked, same category and near user's location
Introduction to RFX for Backend Developer
Reference Resources
Main website for Rfx: http://www.mc2ads.com
Ideas:
● http://journal.frontiersin.org/Journal/10.3389/fninf.2010.00112/full
● http://singularityhub.com/2014/04/20/new-imaging-method-shows-young-neurons-making-
connections-exchanging-information
● http://en.wikipedia.org/wiki/Actor_model_theory
● http://java.dzone.com/articles/introduction-event-processing
● http://www.technologyreview.com/featuredstory/526501/brain-mapping
● http://www.technologyreview.com/featuredstory/513696/deep-learning
Apache Storm: http://storm.incubator.apache.org
Apache Kafka: http://kafka.apache.org
In-memory NoSQL: http://redis.io
Deep Learning for Java: http://deeplearning4j.org
Distributed processing with Actor Model: http://akka.io
Papers:
● Real-Time Visualization of Streaming Text Data
● Hypernetworks for the Science of. Complex Systems
Main Blogs: http://www.mc2ads.org
The end and thank you
https://github.com/mc2ads/rfx
http://www.mc2ads.org
λ(x)

More Related Content

Similar to Introduction to RFX for Backend Developer

Reactive Data System in Practice
Reactive Data System in PracticeReactive Data System in Practice
Reactive Data System in Practice
Trieu Nguyen
 
Building Reactive Real-time Data Pipeline
Building Reactive Real-time Data PipelineBuilding Reactive Real-time Data Pipeline
Building Reactive Real-time Data Pipeline
Trieu Nguyen
 
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
Trieu Nguyen
 
HTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
HTML5 Website vs. Mobile Apps vs. WeChat Mini ProgramsHTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
HTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
Gordon Choi
 
Web2.0 Basics
Web2.0 BasicsWeb2.0 Basics
Web2.0 Basics
Nimish Vohra
 
UX Analytics for Data-driven Product Development
UX Analytics for Data-driven Product DevelopmentUX Analytics for Data-driven Product Development
UX Analytics for Data-driven Product Development
Trieu Nguyen
 
Website farm system development
Website farm system developmentWebsite farm system development
Website farm system development
tarun majumder
 
IRJET- Socially Smart an Aggregation System for Social Media using Web Sc...
IRJET-  	  Socially Smart an Aggregation System for Social Media using Web Sc...IRJET-  	  Socially Smart an Aggregation System for Social Media using Web Sc...
IRJET- Socially Smart an Aggregation System for Social Media using Web Sc...
IRJET Journal
 
A .net developer experiences with web2.0 and social media
A .net developer experiences with web2.0 and social mediaA .net developer experiences with web2.0 and social media
A .net developer experiences with web2.0 and social media
Roy Lachica
 
IRJET- Animal Welfare and Wellness Application using Javascript
IRJET- Animal Welfare and Wellness Application using JavascriptIRJET- Animal Welfare and Wellness Application using Javascript
IRJET- Animal Welfare and Wellness Application using Javascript
IRJET Journal
 
GSOC 2016 mifos
GSOC 2016 mifosGSOC 2016 mifos
GSOC 2016 mifos
Rajan Maurya
 
Prometheus: From technical metrics to business observability
Prometheus: From technical metrics to business observabilityPrometheus: From technical metrics to business observability
Prometheus: From technical metrics to business observability
Julien Pivotto
 
Barcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentBarcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application Development
Hoat Le
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soa
Technology Transfer
 
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUESTUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
IAEME Publication
 
Project Proposel Documentation
Project Proposel  DocumentationProject Proposel  Documentation
Project Proposel Documentation
Abid Afsar Khan Malang Falsafi
 
From Search Engines to Augmented Search Services
From Search Engines to Augmented Search ServicesFrom Search Engines to Augmented Search Services
From Search Engines to Augmented Search Services
Gabriela Bosetti
 
IRJET- IoT based Vending Machine with Cashless Payment
IRJET- IoT based Vending Machine with Cashless PaymentIRJET- IoT based Vending Machine with Cashless Payment
IRJET- IoT based Vending Machine with Cashless Payment
IRJET Journal
 
Mainstream development presentation
Mainstream development presentationMainstream development presentation
Mainstream development presentation
Anna Vyrostak
 
Eurecom уличили приложения для Android в тайной от пользователя активности
Eurecom уличили приложения для Android в тайной от пользователя активностиEurecom уличили приложения для Android в тайной от пользователя активности
Eurecom уличили приложения для Android в тайной от пользователя активности
Sergey Ulankin
 

Similar to Introduction to RFX for Backend Developer (20)

Reactive Data System in Practice
Reactive Data System in PracticeReactive Data System in Practice
Reactive Data System in Practice
 
Building Reactive Real-time Data Pipeline
Building Reactive Real-time Data PipelineBuilding Reactive Real-time Data Pipeline
Building Reactive Real-time Data Pipeline
 
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
 
HTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
HTML5 Website vs. Mobile Apps vs. WeChat Mini ProgramsHTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
HTML5 Website vs. Mobile Apps vs. WeChat Mini Programs
 
Web2.0 Basics
Web2.0 BasicsWeb2.0 Basics
Web2.0 Basics
 
UX Analytics for Data-driven Product Development
UX Analytics for Data-driven Product DevelopmentUX Analytics for Data-driven Product Development
UX Analytics for Data-driven Product Development
 
Website farm system development
Website farm system developmentWebsite farm system development
Website farm system development
 
IRJET- Socially Smart an Aggregation System for Social Media using Web Sc...
IRJET-  	  Socially Smart an Aggregation System for Social Media using Web Sc...IRJET-  	  Socially Smart an Aggregation System for Social Media using Web Sc...
IRJET- Socially Smart an Aggregation System for Social Media using Web Sc...
 
A .net developer experiences with web2.0 and social media
A .net developer experiences with web2.0 and social mediaA .net developer experiences with web2.0 and social media
A .net developer experiences with web2.0 and social media
 
IRJET- Animal Welfare and Wellness Application using Javascript
IRJET- Animal Welfare and Wellness Application using JavascriptIRJET- Animal Welfare and Wellness Application using Javascript
IRJET- Animal Welfare and Wellness Application using Javascript
 
GSOC 2016 mifos
GSOC 2016 mifosGSOC 2016 mifos
GSOC 2016 mifos
 
Prometheus: From technical metrics to business observability
Prometheus: From technical metrics to business observabilityPrometheus: From technical metrics to business observability
Prometheus: From technical metrics to business observability
 
Barcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentBarcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application Development
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soa
 
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUESTUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
STUDY OF DEEP WEB AND A NEW FORM BASED CRAWLING TECHNIQUE
 
Project Proposel Documentation
Project Proposel  DocumentationProject Proposel  Documentation
Project Proposel Documentation
 
From Search Engines to Augmented Search Services
From Search Engines to Augmented Search ServicesFrom Search Engines to Augmented Search Services
From Search Engines to Augmented Search Services
 
IRJET- IoT based Vending Machine with Cashless Payment
IRJET- IoT based Vending Machine with Cashless PaymentIRJET- IoT based Vending Machine with Cashless Payment
IRJET- IoT based Vending Machine with Cashless Payment
 
Mainstream development presentation
Mainstream development presentationMainstream development presentation
Mainstream development presentation
 
Eurecom уличили приложения для Android в тайной от пользователя активности
Eurecom уличили приложения для Android в тайной от пользователя активностиEurecom уличили приложения для Android в тайной от пользователя активности
Eurecom уличили приложения для Android в тайной от пользователя активности
 

More from Trieu Nguyen

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
Trieu Nguyen
 
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
Trieu Nguyen
 
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
Trieu Nguyen
 
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
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
 
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
Trieu Nguyen
 
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
Trieu Nguyen
 
From Dataism to Customer Data Platform
From Dataism to Customer Data PlatformFrom Dataism to Customer Data Platform
From Dataism to Customer Data Platform
Trieu Nguyen
 
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
Trieu Nguyen
 
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
Trieu Nguyen
 
Why is Customer Data Platform (CDP) ?
Why is Customer Data Platform (CDP) ?Why is Customer Data Platform (CDP) ?
Why is Customer Data Platform (CDP) ?
Trieu Nguyen
 
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
Trieu Nguyen
 
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
Trieu Nguyen
 
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)
Trieu Nguyen
 
Open OTT - Video Content Platform
Open OTT - Video Content PlatformOpen OTT - Video Content Platform
Open OTT - Video Content Platform
Trieu Nguyen
 
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
Trieu Nguyen
 
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)
Trieu Nguyen
 
Introduction to Recommendation Systems
Introduction to Recommendation SystemsIntroduction to Recommendation Systems
Introduction to Recommendation Systems
Trieu Nguyen
 
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễnGiới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
Trieu Nguyen
 
Vietnam E-commerce Report 2016
Vietnam E-commerce Report 2016Vietnam E-commerce Report 2016
Vietnam E-commerce Report 2016
Trieu Nguyen
 

More from 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 - 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
 
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
 
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)
 
Introduction to Recommendation Systems
Introduction to Recommendation SystemsIntroduction to Recommendation Systems
Introduction to Recommendation Systems
 
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễnGiới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
Giới thiệu cơ bản về Big Data và các ứng dụng thực tiễn
 
Vietnam E-commerce Report 2016
Vietnam E-commerce Report 2016Vietnam E-commerce Report 2016
Vietnam E-commerce Report 2016
 

Recently uploaded

Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
deepikakumaridk25
 
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptx
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptxParcel Delivery - Intel Segmentation and Last Mile Opt.pptx
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptx
AltanAtabarut
 
Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635
HeidiLivengood
 
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
femim26318
 
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdf
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdfParcel Delivery - Intel Segmentation and Last Mile Opt.pdf
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdf
AltanAtabarut
 
Histology of Muscle types histology o.ppt
Histology of Muscle types histology o.pptHistology of Muscle types histology o.ppt
Histology of Muscle types histology o.ppt
SamanArshad11
 
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
Milind Agarwal
 
SFBA Splunk Usergroup meeting July 17, 2024
SFBA Splunk Usergroup meeting July 17, 2024SFBA Splunk Usergroup meeting July 17, 2024
SFBA Splunk Usergroup meeting July 17, 2024
Becky Burwell
 
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
weiwchu
 
The Rise of Python in Finance,Automating Trading Strategies: _.pdf
The Rise of Python in Finance,Automating Trading Strategies: _.pdfThe Rise of Python in Finance,Automating Trading Strategies: _.pdf
The Rise of Python in Finance,Automating Trading Strategies: _.pdf
Riya Sen
 
Data Analytics for Decision Making By District 11 Solutions
Data Analytics for Decision Making By District 11 SolutionsData Analytics for Decision Making By District 11 Solutions
Data Analytics for Decision Making By District 11 Solutions
District 11 Solutions
 
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop ServiceCal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
Deepikakumari457585
 
Where to order Frederick Community College diploma?
Where to order Frederick Community College diploma?Where to order Frederick Community College diploma?
Where to order Frederick Community College diploma?
SomalyEng
 
PRODUCT | RESEARCH-PRESENTATION-1.1.pptx
PRODUCT | RESEARCH-PRESENTATION-1.1.pptxPRODUCT | RESEARCH-PRESENTATION-1.1.pptx
PRODUCT | RESEARCH-PRESENTATION-1.1.pptx
amazenolmedojeruel
 
Technology used in Ott data analysis project
Technology used in Ott data analysis  projectTechnology used in Ott data analysis  project
Technology used in Ott data analysis project
49AkshitYadav
 
Aws MLOps Interview Questions with answers
Aws MLOps Interview Questions  with answersAws MLOps Interview Questions  with answers
Aws MLOps Interview Questions with answers
Sathiakumar Chandr
 
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
Ladislau5
 
Selcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdfSelcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdf
SelcukTOPAL2
 
Systane Global education training centre
Systane Global education training centreSystane Global education training centre
Systane Global education training centre
AkhinaRomdoni
 
future-of-asset-management-future-of-asset-management
future-of-asset-management-future-of-asset-managementfuture-of-asset-management-future-of-asset-management
future-of-asset-management-future-of-asset-management
Aadee4
 

Recently uploaded (20)

Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
 
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptx
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptxParcel Delivery - Intel Segmentation and Last Mile Opt.pptx
Parcel Delivery - Intel Segmentation and Last Mile Opt.pptx
 
Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635
 
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
 
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdf
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdfParcel Delivery - Intel Segmentation and Last Mile Opt.pdf
Parcel Delivery - Intel Segmentation and Last Mile Opt.pdf
 
Histology of Muscle types histology o.ppt
Histology of Muscle types histology o.pptHistology of Muscle types histology o.ppt
Histology of Muscle types histology o.ppt
 
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
From Signals to Solutions: Effective Strategies for CDR Analysis in Fraud Det...
 
SFBA Splunk Usergroup meeting July 17, 2024
SFBA Splunk Usergroup meeting July 17, 2024SFBA Splunk Usergroup meeting July 17, 2024
SFBA Splunk Usergroup meeting July 17, 2024
 
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
Harnessing Wild and Untamed (Publicly Available) Data for the Cost efficient ...
 
The Rise of Python in Finance,Automating Trading Strategies: _.pdf
The Rise of Python in Finance,Automating Trading Strategies: _.pdfThe Rise of Python in Finance,Automating Trading Strategies: _.pdf
The Rise of Python in Finance,Automating Trading Strategies: _.pdf
 
Data Analytics for Decision Making By District 11 Solutions
Data Analytics for Decision Making By District 11 SolutionsData Analytics for Decision Making By District 11 Solutions
Data Analytics for Decision Making By District 11 Solutions
 
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop ServiceCal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
Cal Girls Hotel Safari Jaipur | | Girls Call Free Drop Service
 
Where to order Frederick Community College diploma?
Where to order Frederick Community College diploma?Where to order Frederick Community College diploma?
Where to order Frederick Community College diploma?
 
PRODUCT | RESEARCH-PRESENTATION-1.1.pptx
PRODUCT | RESEARCH-PRESENTATION-1.1.pptxPRODUCT | RESEARCH-PRESENTATION-1.1.pptx
PRODUCT | RESEARCH-PRESENTATION-1.1.pptx
 
Technology used in Ott data analysis project
Technology used in Ott data analysis  projectTechnology used in Ott data analysis  project
Technology used in Ott data analysis project
 
Aws MLOps Interview Questions with answers
Aws MLOps Interview Questions  with answersAws MLOps Interview Questions  with answers
Aws MLOps Interview Questions with answers
 
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
393947940-The-Dell-EMC-PowerMax-Family-Overview.pdf
 
Selcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdfSelcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdf
 
Systane Global education training centre
Systane Global education training centreSystane Global education training centre
Systane Global education training centre
 
future-of-asset-management-future-of-asset-management
future-of-asset-management-future-of-asset-managementfuture-of-asset-management-future-of-asset-management
future-of-asset-management-future-of-asset-management
 

Introduction to RFX for Backend Developer

  • 1. Introduction to RFX for Backend Developer Reactive Function (X) the Open Source Framework for solving Fast Data Problem and reacting to the World with Deep Learning By Triều Nguyễn, the creator of RFX http://mc2ads.com (Reactive Big Data Lab) λ(x)
  • 2. 2008: Java Developer, develop Social Trading Network for a startup (Yopco) 2011: joined FPT Online, software engineer, worked in banbe. net social network and VnExpress Mobile Restful API 2012: backend engineer at Greengar Studios 12/2012 to now - back to FPT Online, lead engineer, developed new version Data Analytics Platform (ad-network eclick.vn and VnExpress News) Introduction about myself
  • 3. 1. What is Rfx ? 2. Inception and Ideas 3. How Rfx was born 4. Why is Rfx ? a. from big picture view (business) b. from business view c. from specific problems 5. Concepts and architecture: The BIG picture 6. Coding and tutorials from practical problems 7. Resources for self-studying Contents of this talk
  • 4. ● A framework for reactive real-time big fast data ● A collection of Open Source Tools ● The mission of RFX → “BUILD digital data-driven brain for every company in the World” What is RFX or Reactive Function X ?
  • 5. INCEPTION and Ideas Ideas when I was student, internship at DRD, non-profit Organization More info at http://activefunctor.blogspot.com
  • 6. Challenges for today computing Ask bigger questions
  • 11. Why Rfx ? ● Ideas since 2007 (from Haskell and Actor model theory) ● R&D and Deployed in Production since 2013 ● Open Source: Apache License, Version 2.0 ● Full Stack: Front-end and Back-end ● Apply Agile for Analytics and Data Science ● Apply Reactive Lambda Architecture ● Really fast and near-real-time processing ● Tested with 1.000.000 logs / second (1 million in 1 second) ● Simple development model for big data developer
  • 12. What problems can be solved with Rfx
  • 13. Domain (in business) where Rfx can be used ● real-time data analytics for digital marketing, advertising ● hospital systems ● personal banking system ● financial institution to detect frauds ● manufacturing plant ● airline systems ● online trading system ● emergency control system ● manufacturing plant management system ● road tolling system detects ● social networking site
  • 15. Problem: How to monitor Mobile Web Performance and react to slow response time http://sixrevisions.com/mobile/pay-attention-to-mobile-web-performance
  • 16. Luggage management system, events are produced by the check-in process and by the various radio-frequency identification (RFID) readers, which emit events about the movement of the luggage in the system. The events generated by the event processing system are consumed by the luggage control system itself, by airport staff, or even by the passengers themselves. Problem: Monitoring sensor data and real-time security checking
  • 17. Actor User, Mobile, Browser, ... Reactive Lambda Architecture System Rfx- Topology data + context + metadata useful (data + relationship) Database NoSQL 1. Actor → System 2. System → Database 3. Database → System 4. System → Actor
  • 18. Concepts ● Each user, who uses the services and creates data, is the actor in system ● Actor is the source of all events (aka: logs), (click, reading news, sending message to friends, playing games, ...) ● Functor (aka: neuron) is a computing object, used for storing, processing data and emitting results to subscribed functors ● Topology is the directed graph, define how functors that are connected with stream data and process data
  • 19. Philosophy and the Architecture
  • 21. There are 3 demos, from simple to advanced user story User story 1: Counting Real-time URL Pageview User story 2: Monitoring Social Media Statistics User story 3: Social Ranking for Recommendation Engine
  • 22. User Story Domain problem: Reactive Real-time Marketing User story’s details: 1. User does read news from a website → tracking user activities (pageview, time on site) 2. User does login with Facebook Account 3. User clicks on like Facebook button → tracking what user liked, commented 4. The marketer/data analyst should see the trending most read article in real-time ● → Personalized articles for the reader ● → Native advertising in real-time
  • 24. Demo user story 1: Counting Real-time URL Pageview Input: 1. The pageview logs from HTTP Output: 1. The total number of page-view 2. The total number of page-view per hour 3. The total number of page-view per minute 4. The total number of page-view per second 5. The total number of page-view for URL
  • 26. Demo user story 2: Monitoring Social Media Statistics Input: 1. The pageview logs from HTTP Output: The social media statistics from: 1. Facebook: Like, Share, Comment 2. Twitter: Tweet Count 3. LinkedIn: Share Count 4. Geolocation heat-map report
  • 28. Demo user story 3: Social Ranking for Recommendation Engine Input: ● Data: the URL of article ● Context: where (User's Location), when (time visit), from where (referer url) ● Metadata: keywords, category of article Output: Real-time Statistics about pageview, social media statistics (Share, Like, Comment), recommended articles The list of articles are ranked by: ● most liked and same category ● most viewed and same category ● most liked, same category and near user's location
  • 30. Reference Resources Main website for Rfx: http://www.mc2ads.com Ideas: ● http://journal.frontiersin.org/Journal/10.3389/fninf.2010.00112/full ● http://singularityhub.com/2014/04/20/new-imaging-method-shows-young-neurons-making- connections-exchanging-information ● http://en.wikipedia.org/wiki/Actor_model_theory ● http://java.dzone.com/articles/introduction-event-processing ● http://www.technologyreview.com/featuredstory/526501/brain-mapping ● http://www.technologyreview.com/featuredstory/513696/deep-learning Apache Storm: http://storm.incubator.apache.org Apache Kafka: http://kafka.apache.org In-memory NoSQL: http://redis.io Deep Learning for Java: http://deeplearning4j.org Distributed processing with Actor Model: http://akka.io Papers: ● Real-Time Visualization of Streaming Text Data ● Hypernetworks for the Science of. Complex Systems Main Blogs: http://www.mc2ads.org
  • 31. The end and thank you https://github.com/mc2ads/rfx http://www.mc2ads.org λ(x)