SlideShare a Scribd company logo
Humberto Rodríguez Avila, Wolfgang de Meuter, Elisa González Boix
Reactive Databases for BigData Applications
Graph-TA 4th Edition
Barcelona, 2016
Context
1REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
Reactive Programming
2
Server-Side
REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
Behaviours
8
5
7
15
+2 *2
+
Dependency graphExpression
x =#(a+2)
y =#(b*2)
z =#x#+#y a
x y
z
Sub<expressions
4 b
NO application in Database Contexts
Databases
3REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
PubNub
Pusher
Databases
4REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
r.table(“users”).filter(	
  
	
  	
  	
  	
  	
  r.row(“age”).lt(18)	
  
	
  	
  	
  	
  .changes().run(conn,	
  function(err,	
  cursor)	
  {	
  
	
  	
  	
  	
  	
  	
  	
  //	
  update	
  application	
  layer	
  
})
• Collaborative web and mobile apps
• Streaming analytics apps
• Multiplayer games
• Realtime marketplaces
• Connected devices
Limited reactive capabilities
Notifications through callbacks
Changefeeds

example
NO shares intermediate results
5REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
Reactive Programming
Databases
Reactive BigData applications
+
Architecture overview
6REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
Front-end Component Back-end Component
Reactive Language
Language
Integrated
Query
Graph
Dependency
Manager
Reactive
Database
NoSQL Store
Rules Engine Notification
Manager
BigData Analysis
Front-end component
8REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
var dbBooks = from b in R.Books
where b.tag = “database”
select b;
var reactDbBooks = from b in R.Books
where b.tag = “database”
select b
observe as “database books”;
DataSource
Declarative syntax
1
2
Reactive Query
3 var response = R.unregisterQuery(“database books”); true | Error
Reactive Language
Language
Integrated
Query
Graph
Dependency
Manager
Back-end component
7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
Rules Engine
Working Memory
RuleSet
NoSQL
In-Memory
Database
Persistent
- Rete-based
- Node sharing
- Accumulate functions
NoSQL Store
1
2
Notification
Manager
Socket-based
3
triggers
Graph
Dependency
Manager
Reactive Language
BigData Analysis
4
Back-end component
7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
var reactDbBooks = from c in R.Customer
join!a!in R.Account
on c.id == a.id_costumer
where c.age < 20
and a.balance <= 100
select c
observe as “customers C”;
1 2 Top node
Customer Account
age < 20 balance <= 100
age < 20 & balance <= 100
Object-type node
Alpha node
Join node
Terminal node
Future Work
7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
- Implement of garbage collector in the rule engine
- Apply query optimisations techniques to the Rete-Graph
- Integration of our Riak extension with Apache Spark
- Implementation of reactive constructs for Apache Spark
- Finish the implementation of our reactive-query language
Garbage
collector
Apache
Spark
…
reactive
constr…
Query
optimi…
Contact
Humberto Rodríguez Avila
rhumbert@vub.ac.be
Prof. Dr. Elisa Gonzalez Boix
egonzale@vub.ac.be
Prof. Dr. Wolfgang De Meuter
wdmeuter@vub.ac.be
14
http://soft.vub.ac.be http://vub.ac.be
Humberto Rodríguez Avila, Wolfgang de Meuter, Elisa González Boix
Reactive Databases for BigData Applications
Graph-TA 4th Edition
Barcelona, 2016

More Related Content

PDF
Graphalytics: A big data benchmark for graph-processing platforms
PDF
Graphalytics: A big data benchmark for graph processing platforms
PDF
Build your own Real Time Analytics and Visualization, Enable Complex Event Pr...
PDF
Spatial Statistics on the Geospatial Web
PDF
GDB in SV_1st_meetup_09082016
PPTX
Chek mate geolocation analyzer
PDF
Resume 2017
PPTX
Geolocation analysis using HiveQL
Graphalytics: A big data benchmark for graph-processing platforms
Graphalytics: A big data benchmark for graph processing platforms
Build your own Real Time Analytics and Visualization, Enable Complex Event Pr...
Spatial Statistics on the Geospatial Web
GDB in SV_1st_meetup_09082016
Chek mate geolocation analyzer
Resume 2017
Geolocation analysis using HiveQL

What's hot (19)

DOCX
Data_Size_statistics
PDF
Maps with leafletR
PDF
Using python to analyze spatial data
ODP
Graphs are everywhere! Distributed graph computing with Spark GraphX
PPTX
Dr Richard Fry - Using R as a GIS
PPTX
SexTant: Visualizing Time-Evolving Linked Geospatial Data
PDF
Benchmarking Tool for Graph Algorithms
PPTX
Gdal introduction
PPTX
Graph Databases
PPTX
Importing Data From Other Statistical Packages
ODP
Spatial Data Integrator - Software Presentation and Use Cases
PPTX
DECK36 - Log everything! and Realtime Datastream Analytics with Storm
PPTX
Introduction To R
PDF
Perceval, Graal and Arthur: The Quest for Software Project Data
PDF
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
PDF
Map-Side Merge Joins for Scalable SPARQL BGP Processing
PDF
Building real apps on serverless
PDF
GI2016 ppt shi (big data analytics on the internet)
PDF
Data Gathering with The Web Observatory
Data_Size_statistics
Maps with leafletR
Using python to analyze spatial data
Graphs are everywhere! Distributed graph computing with Spark GraphX
Dr Richard Fry - Using R as a GIS
SexTant: Visualizing Time-Evolving Linked Geospatial Data
Benchmarking Tool for Graph Algorithms
Gdal introduction
Graph Databases
Importing Data From Other Statistical Packages
Spatial Data Integrator - Software Presentation and Use Cases
DECK36 - Log everything! and Realtime Datastream Analytics with Storm
Introduction To R
Perceval, Graal and Arthur: The Quest for Software Project Data
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Map-Side Merge Joins for Scalable SPARQL BGP Processing
Building real apps on serverless
GI2016 ppt shi (big data analytics on the internet)
Data Gathering with The Web Observatory
Ad

Viewers also liked (20)

PDF
Computing on Event-sourced Graphs
PDF
Holistic Benchmarking of Big Linked Data: HOBBIT
PDF
Modelling the Clustering Coefficient of a Random graph
PDF
Benchmarking Versioning for Big Linked Data
PDF
Use of Graphs for Cloud Service Selection in Multi-Cloud Environments
PDF
Polyglot Graph Databases using OCL as pivot
PDF
Identifiability in Dynamic Casual Networks
PDF
The scarcity of crossing dependencies: a direct outcome of a specific constra...
PDF
Using Evolutionary Computing for Feature-driven Graph generation
PDF
Synthetic Data Generation using exponential random Graph modeling
PPT
​Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io
PDF
Spark - Alexis Seigneurin (English)
PDF
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
DOCX
REACTIVOS DE INFORMATICA I DE LA PRIMERA 1 UNIDAD
PDF
Lessons Learned: Using Spark and Microservices
PDF
Building Reactive Distributed Systems For Streaming Big Data, Analytics & Mac...
PPT
Expressões mudas e sons
PDF
Rio
DOCX
Nationalization
PDF
Шість міських сервісів на базі open source: як відкриває дані Польща
Computing on Event-sourced Graphs
Holistic Benchmarking of Big Linked Data: HOBBIT
Modelling the Clustering Coefficient of a Random graph
Benchmarking Versioning for Big Linked Data
Use of Graphs for Cloud Service Selection in Multi-Cloud Environments
Polyglot Graph Databases using OCL as pivot
Identifiability in Dynamic Casual Networks
The scarcity of crossing dependencies: a direct outcome of a specific constra...
Using Evolutionary Computing for Feature-driven Graph generation
Synthetic Data Generation using exponential random Graph modeling
​Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io
Spark - Alexis Seigneurin (English)
Reactive Reatime Big Data with Open Source Lambda Architecture - TechCampVN 2014
REACTIVOS DE INFORMATICA I DE LA PRIMERA 1 UNIDAD
Lessons Learned: Using Spark and Microservices
Building Reactive Distributed Systems For Streaming Big Data, Analytics & Mac...
Expressões mudas e sons
Rio
Nationalization
Шість міських сервісів на базі open source: як відкриває дані Польща
Ad

Similar to Reactive Databases for Big Data applications (20)

PDF
BDM39: HP Vertica BI: Sub-second big data analytics your users and developers...
PDF
Creating PostgreSQL-as-a-Service at Scale
PPTX
Big Data Use Cases
PPTX
MADlib Architecture and Functional Demo on How to Use MADlib/PivotalR
PPTX
PDF
Big Data: hype or necessity?
PDF
Pivotal Greenplum 次世代マルチクラウド・データ分析プラットフォーム
PDF
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
PPTX
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
PDF
TDWI Accelerate, Seattle, Oct 16, 2017: Distributed and In-Database Analytics...
PDF
TWDI Accelerate Seattle, Oct 16, 2017: Distributed and In-Database Analytics ...
PDF
Concept to production Nationwide Insurance BigInsights Journey with Telematics
PDF
Functional Web Development
PPTX
Introduction to R2DBC
PPTX
PayPal merchant ecosystem using Apache Spark, Hive, Druid, and HBase
PPTX
05. sap architecture final and os concepts (1)
PDF
Breaking a monolith: In-place refactoring with service-oriented architecture ...
PDF
LF_APIStrat17_Breaking a Monolith: In-Place Refactoring with Service-Oriented...
PPTX
Analyzing Big data in R and Scala using Apache Spark 17-7-19
PPT
Asko Oja Moskva Architecture Highload
BDM39: HP Vertica BI: Sub-second big data analytics your users and developers...
Creating PostgreSQL-as-a-Service at Scale
Big Data Use Cases
MADlib Architecture and Functional Demo on How to Use MADlib/PivotalR
Big Data: hype or necessity?
Pivotal Greenplum 次世代マルチクラウド・データ分析プラットフォーム
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
TDWI Accelerate, Seattle, Oct 16, 2017: Distributed and In-Database Analytics...
TWDI Accelerate Seattle, Oct 16, 2017: Distributed and In-Database Analytics ...
Concept to production Nationwide Insurance BigInsights Journey with Telematics
Functional Web Development
Introduction to R2DBC
PayPal merchant ecosystem using Apache Spark, Hive, Druid, and HBase
05. sap architecture final and os concepts (1)
Breaking a monolith: In-place refactoring with service-oriented architecture ...
LF_APIStrat17_Breaking a Monolith: In-Place Refactoring with Service-Oriented...
Analyzing Big data in R and Scala using Apache Spark 17-7-19
Asko Oja Moskva Architecture Highload

More from Graph-TA (16)

PPTX
RDF Graph Data Management in Oracle Database and NoSQL Platforms
PPTX
GRAPHITE — An Extensible Graph Traversal Framework for RDBMS
PPTX
On the Discovery of Novel Drug-Target Interactions from Dense SubGraphs
PDF
Autograph: an evolving lightweight graph tool
PPTX
Understanding Graph Structure in Knowledge Bases
PDF
Finding patterns of chronic disease and medication prescriptions from a large...
PDF
Recent Updates on IBM System G — GraphBIG and Temporal Data
PDF
Analysing the degree distribution of real graphs by means of several probabil...
PPTX
SPIMBENCH: A Scalable, Schema-Aware Instance Matching Benchmark for the Seman...
PDF
Generating synthetic online social network graph data and topologies
PPTX
Deriving an Emergent Relational Schema from RDF Data
PDF
Managing RDF data with graph databases
PDF
Graph Based Word Spotting Approach for Large Document Collections
PDF
Use of graphs for political analysis
PPTX
Graphium Chrysalis: Exploiting Graph Database
PDF
Langford sequences through a product of labeled digraphs
RDF Graph Data Management in Oracle Database and NoSQL Platforms
GRAPHITE — An Extensible Graph Traversal Framework for RDBMS
On the Discovery of Novel Drug-Target Interactions from Dense SubGraphs
Autograph: an evolving lightweight graph tool
Understanding Graph Structure in Knowledge Bases
Finding patterns of chronic disease and medication prescriptions from a large...
Recent Updates on IBM System G — GraphBIG and Temporal Data
Analysing the degree distribution of real graphs by means of several probabil...
SPIMBENCH: A Scalable, Schema-Aware Instance Matching Benchmark for the Seman...
Generating synthetic online social network graph data and topologies
Deriving an Emergent Relational Schema from RDF Data
Managing RDF data with graph databases
Graph Based Word Spotting Approach for Large Document Collections
Use of graphs for political analysis
Graphium Chrysalis: Exploiting Graph Database
Langford sequences through a product of labeled digraphs

Recently uploaded (20)

PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
introduction to datamining and warehousing
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
737-MAX_SRG.pdf student reference guides
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Mechanical Engineering MATERIALS Selection
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
additive manufacturing of ss316l using mig welding
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Fundamentals of safety and accident prevention -final (1).pptx
UNIT 4 Total Quality Management .pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
introduction to datamining and warehousing
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
737-MAX_SRG.pdf student reference guides
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mechanical Engineering MATERIALS Selection
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Foundation to blockchain - A guide to Blockchain Tech
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Current and future trends in Computer Vision.pptx
Sustainable Sites - Green Building Construction
additive manufacturing of ss316l using mig welding
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

Reactive Databases for Big Data applications

  • 1. Humberto Rodríguez Avila, Wolfgang de Meuter, Elisa González Boix Reactive Databases for BigData Applications Graph-TA 4th Edition Barcelona, 2016
  • 2. Context 1REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA
  • 3. Reactive Programming 2 Server-Side REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA Behaviours 8 5 7 15 +2 *2 + Dependency graphExpression x =#(a+2) y =#(b*2) z =#x#+#y a x y z Sub<expressions 4 b NO application in Database Contexts
  • 4. Databases 3REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA PubNub Pusher
  • 5. Databases 4REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA r.table(“users”).filter(            r.row(“age”).lt(18)          .changes().run(conn,  function(err,  cursor)  {                //  update  application  layer   }) • Collaborative web and mobile apps • Streaming analytics apps • Multiplayer games • Realtime marketplaces • Connected devices Limited reactive capabilities Notifications through callbacks Changefeeds example NO shares intermediate results
  • 6. 5REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA Reactive Programming Databases Reactive BigData applications +
  • 7. Architecture overview 6REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA Front-end Component Back-end Component Reactive Language Language Integrated Query Graph Dependency Manager Reactive Database NoSQL Store Rules Engine Notification Manager BigData Analysis
  • 8. Front-end component 8REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA var dbBooks = from b in R.Books where b.tag = “database” select b; var reactDbBooks = from b in R.Books where b.tag = “database” select b observe as “database books”; DataSource Declarative syntax 1 2 Reactive Query 3 var response = R.unregisterQuery(“database books”); true | Error Reactive Language Language Integrated Query Graph Dependency Manager
  • 9. Back-end component 7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA Rules Engine Working Memory RuleSet NoSQL In-Memory Database Persistent - Rete-based - Node sharing - Accumulate functions NoSQL Store 1 2 Notification Manager Socket-based 3 triggers Graph Dependency Manager Reactive Language BigData Analysis 4
  • 10. Back-end component 7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA var reactDbBooks = from c in R.Customer join!a!in R.Account on c.id == a.id_costumer where c.age < 20 and a.balance <= 100 select c observe as “customers C”; 1 2 Top node Customer Account age < 20 balance <= 100 age < 20 & balance <= 100 Object-type node Alpha node Join node Terminal node
  • 11. Future Work 7REACTIVE DATABASES FOR BIGDATA APPLICATIONS/HUMBERTO RODRIGUEZ AVILA - Implement of garbage collector in the rule engine - Apply query optimisations techniques to the Rete-Graph - Integration of our Riak extension with Apache Spark - Implementation of reactive constructs for Apache Spark - Finish the implementation of our reactive-query language Garbage collector Apache Spark … reactive constr… Query optimi…
  • 12. Contact Humberto Rodríguez Avila [email protected] Prof. Dr. Elisa Gonzalez Boix [email protected] Prof. Dr. Wolfgang De Meuter [email protected] 14 http://soft.vub.ac.be http://vub.ac.be
  • 13. Humberto Rodríguez Avila, Wolfgang de Meuter, Elisa González Boix Reactive Databases for BigData Applications Graph-TA 4th Edition Barcelona, 2016