SlideShare a Scribd company logo
Deconstructing
Lambda
Architectures
Felix Crisan, Co-Founder & CTO,
NETOPIA
Then...
...and now
Meaning of NoSQL
1970 = We have no SQL
1980 = Know SQL
2000 = No SQL!
2005 = Not only SQL
2015 = No, SQL
(slide adapted from @markmadsen)
λ - Architecture - Why?
● Robust & Fault Tolerant system
● Multiple workloads
● Ad-hoc queries
● Scalable (out rather than up)
● Extensible
λ - Architecture - So?
● In a nutshell - storage is cheap
● Data is generated (retrieved,
stored) in time increments
● Data tends to be immutable
(especially events)
Relational Algebra
queryresult = f(all data)
f is a composite of one or more σ(select), Π
(projection), U(reunion), X(product), -
(difference - setwise)
CAP - Pick Any Two
Consistency Availability
Partition
Tolerance
No system can be in this region
You can find systems here
λ-Arch - Who/When?
● Nathan Marz
● Oct 2011
● “How To Beat the CAP
theorem” http://nathanmarz.
com/blog/how-to-beat-the-cap-theorem.
html
λ-Architecture - What?
(Big)Data
Source
Batch Layer
Speed Layer
Serving
Layer
λ-Architecture
Layer Holds Characteristics
Batch Deep Global Truth High Throughput/High Latency
Speed Relevant Local Truth Medium Throughput/Low Latency
Serving Data for Rapid Retrieval Low Throughput/Low Latency
Batch Layer
● de-normalized data inputs/master
dataset
● append-only
● scalable
● idempotent calculations
● AP
Usual suspects
● HDFS/Hadoop
● MapReduce (MRv1), YARN (MRv2)
● Spark/SparkSQL
● Hive
● Pig
● ...and others
Speed/Realtime Layer
● Realtime is actually Near Real Time
● Compensates latency in Batch Layer
● Continuous computation/Limited
window
Usual Suspects
● Storm (http://storm.apache.org/)
● Spark Streaming (http://spark.apache.org/)
● Samza (http://samza.apache.org/)
● S4 (http://incubator.apache.org/s4/)
● MQ (0MQ,RabbitMQ/AMQP etc)
Serving Layer
● Indexes and exposes views into data
● Sometimes split into Speed Serving
and Batch Serving
● Supports ad-hoc queries
(Non)Usual suspects
● Drill (http://drill.apache.org/)
● ElephantDB (https://github.com/nathanmarz/elephantdb)
● Voldemort (http://www.project-voldemort.
com/voldemort/)
● ElasticSearch/Solr/Lucene (https://www.
elastic.co/)
● Cassandra sstables (http://cassandra.apache.
org/)
● Cloudera Impala (http://www.cloudera.com/ )
Takeaways
● Immutability
● (P)Re-computation
● Human fault-tolerance
● No One-Size-Fits-All
● YMMV
● ψ-Architectures?

More Related Content

PPTX
Game sense
PDF
society and Daily Life in Mogul India
PDF
PDF
PPTX
Power poin programacion
PPTX
請敘述Cpu的執行過程或步驟
PDF
Give Dairy Farmers A Market
PDF
2015-OBDC-Organizational-Report
Game sense
society and Daily Life in Mogul India
Power poin programacion
請敘述Cpu的執行過程或步驟
Give Dairy Farmers A Market
2015-OBDC-Organizational-Report

Viewers also liked (14)

PDF
Brochure (1)
PDF
Mashing the data
PDF
Presentation for the first Bucharest Big data meetup
PDF
NoSQL solutions
PPTX
JULIAN STEVEN MAZUERA CICLO 6 A
PPT
優力鈣
PPS
แด่คุณครู..
PDF
Estado de minas 20 de julho de 2011 - capa chico lobo
PPTX
Colaboración recíproca
PDF
テストです。すいません・・・。
PDF
Learn about Visplay! Here's what we are all about!
PPT
РОБОТ - КОНСУЛЬТАНТ
DOCX
페이스북 매거진
PPS
ملوك العراق
Brochure (1)
Mashing the data
Presentation for the first Bucharest Big data meetup
NoSQL solutions
JULIAN STEVEN MAZUERA CICLO 6 A
優力鈣
แด่คุณครู..
Estado de minas 20 de julho de 2011 - capa chico lobo
Colaboración recíproca
テストです。すいません・・・。
Learn about Visplay! Here's what we are all about!
РОБОТ - КОНСУЛЬТАНТ
페이스북 매거진
ملوك العراق
Ad

Similar to Deconstructing Lambda architectures (20)

ODP
Lambda Architecture with Spark
PPTX
2014 09-12 lambda-architecture-at-indix
PPTX
Strata NY 2018: The deconstructed database
PDF
A real-time (lambda) architecture using Hadoop & Storm (NoSQL Matters Cologne...
PDF
Lambda Architecture and open source technology stack for real time big data
PPT
6269441.ppt
PPT
NO SQL: What, Why, How
PPTX
Introduction to NoSQL
PPTX
Web Scale with NoSQL
PPTX
Sergejus Barinovas
PPTX
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
PPTX
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
PDF
Using Hazelcast in the Kappa architecture
PDF
PDF
Oracle's Take On NoSQL
PDF
Lambda architecture for real time big data
PDF
JOSA TechTalk - Lambda architecture and real-time processing
PPTX
To SQL or NoSQL, that is the question
PDF
Big data real time architectures
PDF
From flat files to deconstructed database
Lambda Architecture with Spark
2014 09-12 lambda-architecture-at-indix
Strata NY 2018: The deconstructed database
A real-time (lambda) architecture using Hadoop & Storm (NoSQL Matters Cologne...
Lambda Architecture and open source technology stack for real time big data
6269441.ppt
NO SQL: What, Why, How
Introduction to NoSQL
Web Scale with NoSQL
Sergejus Barinovas
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Using Hazelcast in the Kappa architecture
Oracle's Take On NoSQL
Lambda architecture for real time big data
JOSA TechTalk - Lambda architecture and real-time processing
To SQL or NoSQL, that is the question
Big data real time architectures
From flat files to deconstructed database
Ad

More from Felix Crisan (12)

PDF
Big data uservices
PDF
Bitcoin:Next
PPTX
BigData in BlockChains
PDF
Lightning Network
PDF
Smart contracts using web3.js
PDF
Smart contracts in Solidity
PDF
Big(data) in block(chains)
PDF
Enablers for o commerce
PDF
mcommad
PDF
402 @ Mobile next
PDF
Data analysis with Pandas and Spark
PDF
TCP/IP of money
Big data uservices
Bitcoin:Next
BigData in BlockChains
Lightning Network
Smart contracts using web3.js
Smart contracts in Solidity
Big(data) in block(chains)
Enablers for o commerce
mcommad
402 @ Mobile next
Data analysis with Pandas and Spark
TCP/IP of money

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
sap open course for s4hana steps from ECC to s4
Advanced methodologies resolving dimensionality complications for autism neur...
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Deconstructing Lambda architectures