SlideShare una empresa de Scribd logo
1 de 38
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Big Data or Fast Data?
Steve Millidge
Director
C2B2
@c2b2consulting
www.c2b2.co.uk
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
About Me
• Founder of C2B2
– Leading Independent Middleware Experts
– Non-functional Experts
• Vendor Neutral
– Red Hat (JBoss), Oracle (Fusion), VMWare
(vFabric), Open Source (Apache)
• 20 Years Middleware Expertise
• 15 years Field Consultancy
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Agenda
• Principles of RASP
• NoSQL and IMDG Characteristics
• Use Cases
–Big Data or Fast Data?
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
“Reliability, Availability, Scalability
and Performance are prerequisites
for functionality!”
They are Priority 1 Requirements
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Reliability
• No Data Loss or Corruption
• Prevents Exploits
• Fraud
• Reputation Risk
• Legal Challenge
Customers need confidence
in their transactions
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Availability
• System is available
for customers to use
• No availability results
in no transactions
• Transactions = £££
• Receive your P45 if
you can’t sort it!
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Multipliers in Availability
System
1
System
2
System
3
99% Availability 99% Availability 99% Availability
Overall Availability = 0.99*0.99*0.99 = 97%
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
HA Techniques
Redundancy Decoupling
System
System
99% Availability
99% Availability
Pair = 1 – (0.01*0.01) = 99.99%
Overall = 0.9999 x 0.9999 x 0.9999 = 99%
System
1
99% Availability
System
2
System
3
99% Availability
99% Availability
Overall = 99%
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Choose Your Poison
• Consistency
– The client perceives that a set of operations has
occurred all at once.
• Availability
– Every operation must terminate in an intended
response.
• Partition Tolerance
– Operations will complete, even if individual
components are unavailable.
http://citeseer.ist.psu.edu/544596.html
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Performance
How fast does a single transaction take to
execute!
• Faster Performance = Happier Customers
• Faster Performance = More Transactions
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Barriers to Performance
• Raw Algorithmic Performance
• Resource Limitations
– Not enough cpu, disk, memory
• Resource Contention
– Locks
• IO Latency
– Network, Disk
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Latency
Time delay in requesting an operation and it
being initiated
• Key factor in large scale distributed
applications
• Typically not taken into account during
development
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Latency Factors
• Network Distance
• Network Reliability
• Data Size
• Operation Granularity
• Resource Contention
• JVM GC
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Scalability
Ability to add more hardware in
response to more demand.
Without a reduction in
performance!
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Scaling Out
Horizontal Scaling
• Add Additional
Servers
• Add Load Balancer
• Distribute traffic
across the servers
• Much Cheaper than
Scale Up
• Has HA benefits
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Linear Scalability
(Nirvana)
0
100
200
300
400
500
600
700
800
900
1 2 3 4
Linear Scalability
Typical Scalability
Users
Cluster Nodes
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
In-Memory Data Grids and
No SQL Stores
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
The Key Value Store
• Basically a big Map!
• Provides Map
Semantics
– put(Key,Object)
– Object get(Key)
• Schema Less
• Decouples Objects
OrderID -> Order
Name -> Person
Postcode -> Address
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Distributed Key Partitioning
Application
Key
Partition
Application
Key
Partition
Application
Key
Partition
Application
Key
Partition
PUTB
B
GETB
B
BC
PUTC
C
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Consistent Hashing
Key Space
Hash Ring
Node 1
Hash
Node 2
Hash
Node 3
Hash
Node 4
Hash
Key
Hash
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Key Partitioning
• Keys Assigned
Partition via Hash
• Nodes Own a
Partition
• Number of Partitions
Fixed
• Number of Nodes
isn’t
Partition
Partition
Partition
Partition
Partition
Partition
Partition
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
HA Key Partitioning
Application
Key
Partition
Application
Key
Partition
Application
Key
Partition
Application
Key
Partition
PUTB
B
BB
NODE
CRASH
!!!
B
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
RASP Benefits
• Linear Scalability
– 2 hops for Read (Worst Case), 1 for client aware consistent hash
– 2 hops for Write (Worst Case), 1 for client aware consistent hash
– More Nodes = More Data
• High Availability
– Configurable Duplicates
• Reliability
– Eventual Consistency and Quorum
• Location Independent Access
– Grid knows where data is
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Performance Issues?
Key Partitioning
Application
Key
Partition
Application
Key
Partition
Application
Key
Partition
Application
Key
partition
Process
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
In Place Processing
Application
Cache
Application
Cache
Application
Cache
Application
Cache
ProcessProcessProcessProcess
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
IMDG and NoSQL
Data Grid
• Stored in Memory
• Optimised for Network IO
NoSQL Store
• Stored on Disk
• Optimised for Disc IO
Application
Keys
Application
Keys
Application
Keys
Application
Keys
Application
Keys
Application
Keys
Data Data Data
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Which to use When?
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
3Vs
Reproduced From:
DIYA SOUBRA
http://www.datasciencecentral.c
om/forum/topics/the-3vs-that-
define-big-data
Key Factors in technology
Selection
• Volume
• Velocity
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Volume
(Big Data)
• Petabytes and Terrabytes
– Suitable for No SQL
– Uses cheap disc
• 100s Gigabytes and below
– Ideal for IMDB
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Velocity
(Fast Data)
• Real and Near Real Time
– In-memory access speeds
– Ideal for IMDB
• Batch and Periodic
– Process large data volumes
– Ideal for NoSQL stores
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Variety
(Fast Data)
• Both Support Unstructured Data
• Data Size is Determinant
• Large Blobs
– Video etc.
– Ideal for NoSQL
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Single Key Retrieval Scenario
• Content Management
– Get Photo
• Personalisation
– Get User Info
• Order Retrieval
– Get Order ID
• IMDB typically Faster
– Depends on Volume
• NoSQL response read
through is typical
Application
Keys
Application
Keys
Application
Keys
G
E
T
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Key Processing Small Result
• Financial Risk Calculation
– Can I book this Order
• Bet Placement
– Can I place this Bet
• Hotel Availability Search
– What hotels are available
• Web Translation
– Gather Translated Text
• IMDB the Best Choice
Application
Keys
Application
Keys
Application
Keys
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Write Lots, Read a Little
• Social Media Dumping
– You Tube
• Log Analysis
– Capture Logs
• SMS Billing
– Capture Events
• Cyber Security
– Capture Packets
• Ideal for NoSQL
Application
Keys
Application
Keys
Application
Keys
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Analytical Intelligence
• Consumer Trend Analysis
– Who orders what when
• Route Optimisation
– Delivery Trucks
• Social Graph Search
– Patterns in social media
graphs
• Fraud Detection
– Transaction analysis
• NoSQL the Best Choice
Application
Keys
Application
Keys
Application
Keys
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Real Time “Tipping”
• Product
Recommendations
– Related products
• Alerting
– Truck has Stopped!
• Financial Position Calc
– Check regs during booking
• Nudge Purchasing
– 5 people are looking at this
hotel
• IMDB the Best Choice
Application
Keys
Application
Keys
Application
Keys
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk
Summary
Fast Data (IMDB)
• 10s Mb – 100s GB
• Few Mb Element Size
• Response Times
– 10ms – few seconds
• Typically in-line with user
request
• Also capable of Push via
Events
Big Data (NoSQL)
• 100sGb – Petabyte
• Size limited by disc
• Response times
– Few s – long batch
• Typically analytical
• Used inline for small
scale direct key retrieval
© C2B2 Consulting Limited 2013
www.c2b2.co.uk
All Rights Reserved
Interested in Hard Core Middleware?
Join us! careers@c2b2.co.uk

Más contenido relacionado

Más de C2B2 Consulting

Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015C2B2 Consulting
 
Hands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandHands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandC2B2 Consulting
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteC2B2 Consulting
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid C2B2 Consulting
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLSTC2B2 Consulting
 
Hands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceHands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceC2B2 Consulting
 
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!C2B2 Consulting
 
JBoss Clustering on OpenShift
JBoss Clustering on OpenShiftJBoss Clustering on OpenShift
JBoss Clustering on OpenShiftC2B2 Consulting
 
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...C2B2 Consulting
 
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleOracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleC2B2 Consulting
 
Java Middleware Surgery
Java Middleware Surgery Java Middleware Surgery
Java Middleware Surgery C2B2 Consulting
 
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...C2B2 Consulting
 
'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' 'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' C2B2 Consulting
 
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' 'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' C2B2 Consulting
 
'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel DeakinC2B2 Consulting
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webC2B2 Consulting
 
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleJUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleC2B2 Consulting
 

Más de C2B2 Consulting (20)

Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015
 
Hands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandHands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx Poland
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA Suite
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLST
 
Hands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceHands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performance
 
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
 
JBoss Clustering on OpenShift
JBoss Clustering on OpenShiftJBoss Clustering on OpenShift
JBoss Clustering on OpenShift
 
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleOracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
 
Java Middleware Surgery
Java Middleware Surgery Java Middleware Surgery
Java Middleware Surgery
 
Jax London 2013
Jax London 2013Jax London 2013
Jax London 2013
 
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
 
'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' 'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker'
 
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' 'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
 
'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-web
 
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleJUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
 

Último

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

Big Data or Fast Data - CONFESS_2013

  • 1. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Big Data or Fast Data? Steve Millidge Director C2B2 @c2b2consulting www.c2b2.co.uk
  • 2. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk About Me • Founder of C2B2 – Leading Independent Middleware Experts – Non-functional Experts • Vendor Neutral – Red Hat (JBoss), Oracle (Fusion), VMWare (vFabric), Open Source (Apache) • 20 Years Middleware Expertise • 15 years Field Consultancy
  • 3. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Agenda • Principles of RASP • NoSQL and IMDG Characteristics • Use Cases –Big Data or Fast Data?
  • 4. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk “Reliability, Availability, Scalability and Performance are prerequisites for functionality!” They are Priority 1 Requirements
  • 5. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Reliability • No Data Loss or Corruption • Prevents Exploits • Fraud • Reputation Risk • Legal Challenge Customers need confidence in their transactions
  • 6. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Availability • System is available for customers to use • No availability results in no transactions • Transactions = £££ • Receive your P45 if you can’t sort it!
  • 7. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Multipliers in Availability System 1 System 2 System 3 99% Availability 99% Availability 99% Availability Overall Availability = 0.99*0.99*0.99 = 97%
  • 8. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk HA Techniques Redundancy Decoupling System System 99% Availability 99% Availability Pair = 1 – (0.01*0.01) = 99.99% Overall = 0.9999 x 0.9999 x 0.9999 = 99% System 1 99% Availability System 2 System 3 99% Availability 99% Availability Overall = 99%
  • 9. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Choose Your Poison • Consistency – The client perceives that a set of operations has occurred all at once. • Availability – Every operation must terminate in an intended response. • Partition Tolerance – Operations will complete, even if individual components are unavailable. http://citeseer.ist.psu.edu/544596.html
  • 10. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Performance How fast does a single transaction take to execute! • Faster Performance = Happier Customers • Faster Performance = More Transactions
  • 11. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Barriers to Performance • Raw Algorithmic Performance • Resource Limitations – Not enough cpu, disk, memory • Resource Contention – Locks • IO Latency – Network, Disk
  • 12. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Latency Time delay in requesting an operation and it being initiated • Key factor in large scale distributed applications • Typically not taken into account during development
  • 13. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Latency Factors • Network Distance • Network Reliability • Data Size • Operation Granularity • Resource Contention • JVM GC
  • 14. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Scalability Ability to add more hardware in response to more demand. Without a reduction in performance!
  • 15. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Scaling Out Horizontal Scaling • Add Additional Servers • Add Load Balancer • Distribute traffic across the servers • Much Cheaper than Scale Up • Has HA benefits
  • 16. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Linear Scalability (Nirvana) 0 100 200 300 400 500 600 700 800 900 1 2 3 4 Linear Scalability Typical Scalability Users Cluster Nodes
  • 17. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk In-Memory Data Grids and No SQL Stores
  • 18. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk The Key Value Store • Basically a big Map! • Provides Map Semantics – put(Key,Object) – Object get(Key) • Schema Less • Decouples Objects OrderID -> Order Name -> Person Postcode -> Address
  • 19. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Distributed Key Partitioning Application Key Partition Application Key Partition Application Key Partition Application Key Partition PUTB B GETB B BC PUTC C
  • 20. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Consistent Hashing Key Space Hash Ring Node 1 Hash Node 2 Hash Node 3 Hash Node 4 Hash Key Hash
  • 21. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Key Partitioning • Keys Assigned Partition via Hash • Nodes Own a Partition • Number of Partitions Fixed • Number of Nodes isn’t Partition Partition Partition Partition Partition Partition Partition
  • 22. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk HA Key Partitioning Application Key Partition Application Key Partition Application Key Partition Application Key Partition PUTB B BB NODE CRASH !!! B
  • 23. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk RASP Benefits • Linear Scalability – 2 hops for Read (Worst Case), 1 for client aware consistent hash – 2 hops for Write (Worst Case), 1 for client aware consistent hash – More Nodes = More Data • High Availability – Configurable Duplicates • Reliability – Eventual Consistency and Quorum • Location Independent Access – Grid knows where data is
  • 24. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Performance Issues? Key Partitioning Application Key Partition Application Key Partition Application Key Partition Application Key partition Process
  • 25. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk In Place Processing Application Cache Application Cache Application Cache Application Cache ProcessProcessProcessProcess
  • 26. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk IMDG and NoSQL Data Grid • Stored in Memory • Optimised for Network IO NoSQL Store • Stored on Disk • Optimised for Disc IO Application Keys Application Keys Application Keys Application Keys Application Keys Application Keys Data Data Data
  • 27. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Which to use When?
  • 28. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk 3Vs Reproduced From: DIYA SOUBRA http://www.datasciencecentral.c om/forum/topics/the-3vs-that- define-big-data Key Factors in technology Selection • Volume • Velocity
  • 29. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Volume (Big Data) • Petabytes and Terrabytes – Suitable for No SQL – Uses cheap disc • 100s Gigabytes and below – Ideal for IMDB
  • 30. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Velocity (Fast Data) • Real and Near Real Time – In-memory access speeds – Ideal for IMDB • Batch and Periodic – Process large data volumes – Ideal for NoSQL stores
  • 31. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Variety (Fast Data) • Both Support Unstructured Data • Data Size is Determinant • Large Blobs – Video etc. – Ideal for NoSQL
  • 32. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Single Key Retrieval Scenario • Content Management – Get Photo • Personalisation – Get User Info • Order Retrieval – Get Order ID • IMDB typically Faster – Depends on Volume • NoSQL response read through is typical Application Keys Application Keys Application Keys G E T
  • 33. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Key Processing Small Result • Financial Risk Calculation – Can I book this Order • Bet Placement – Can I place this Bet • Hotel Availability Search – What hotels are available • Web Translation – Gather Translated Text • IMDB the Best Choice Application Keys Application Keys Application Keys
  • 34. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Write Lots, Read a Little • Social Media Dumping – You Tube • Log Analysis – Capture Logs • SMS Billing – Capture Events • Cyber Security – Capture Packets • Ideal for NoSQL Application Keys Application Keys Application Keys
  • 35. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Analytical Intelligence • Consumer Trend Analysis – Who orders what when • Route Optimisation – Delivery Trucks • Social Graph Search – Patterns in social media graphs • Fraud Detection – Transaction analysis • NoSQL the Best Choice Application Keys Application Keys Application Keys
  • 36. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Real Time “Tipping” • Product Recommendations – Related products • Alerting – Truck has Stopped! • Financial Position Calc – Check regs during booking • Nudge Purchasing – 5 people are looking at this hotel • IMDB the Best Choice Application Keys Application Keys Application Keys
  • 37. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk Summary Fast Data (IMDB) • 10s Mb – 100s GB • Few Mb Element Size • Response Times – 10ms – few seconds • Typically in-line with user request • Also capable of Push via Events Big Data (NoSQL) • 100sGb – Petabyte • Size limited by disc • Response times – Few s – long batch • Typically analytical • Used inline for small scale direct key retrieval
  • 38. © C2B2 Consulting Limited 2013 www.c2b2.co.uk All Rights Reserved Interested in Hard Core Middleware? Join us! careers@c2b2.co.uk