SlideShare une entreprise Scribd logo
1  sur  31
Big Data Analytics
Strategy and Roadmap
Srinath Perera
Director, Research, WSO2
(srinath@wso2.com,
@srinath_perera)
•Once Upon a time, there lived a wise Boy
•The king being unhappy with the Boy, asked
him a “Big Data question”
•We had Big data problems though time,
although could not solve them
•Early examples
–Census at Egypt (3000 BC)
–Census at Egypt (AD 144) that counted 49.73
million
A day in your life
 Think about a day in your life?
–What is the best road to take?
–Would there be any bad weather?
–How to invest my money?
–How is my health?
 There are many decisions that you can
do better if only you can access the
data and process them.
http://www.flickr.com/photos/kcolwell/5
512461652/ CC licence
Data Avalanche (Moore’s law of data)
• We are now collecting and converting large amount of data to
digital forms
• 90% of the data in the world today was created within the past two
years.
• Amount of data we have doubles very fast
Internet of Things
•Currently physical world and
software worlds are detached
•Internet of things promises to
bridge this
– It is about sensors and actuators
everywhere
– In your fridge, in your blanket, in
your chair, in your carpet.. Yes
even in your socks
– Google IO pressure mats
What can we do with Big Data?
• Optimize
– 1% saving in Airplanes and turbines
can save more than 1B$ each year
(GE talk, Strata 2014). Sri Lanka’s
total export 9B year
• Save lives
– Weather, Disease identification,
Personalized treatment
• Technology advancement
– Most high tech work are done via
simulations
Big Data Reference Architecture
Why Big Data is hard?
• How to store? Assuming 1TB bytes it takes
1000 computers to store a 1PB
• How to move? Assuming 10Gb network, it takes
2 hours to copy 1TB, or 83 days to copy a 1PB
• How to search? Assuming each record is 1KB
and one machine can process 1000 records per
sec, it needs 277CPU days to process a 1TB
and 785 CPU years to process a 1 PB
• How to process?
– Convert algorithms to work in large size
– Create new algorithms http://www.susanica.com/photo/9
Big data Processing Technologies
Making Sense of Data
•To know what happened?
(hindsight + oversight)
– Basic analytics + visualizations
(min, max, average, histogram,
distribution)
– Interactive drill down
•To explain why?(Insight)
– Data mining, classifications,
building models, clustering
•To forecast (Foresight)
– Neural networks, decision models
New Developments
•Internet of things (IoT)
–Building a bridge between
software and real world.
•Lambda Architecture
–Merging realtime and batch
processing in a same model
•Machine Learning
–Next Generation decisions (e.g.
Deep Learning)
WSO2 Big Data Platform
Data Collection
• Can receive events via
SOAP, HTTP, JMS, ..
• WSO2 Events is highly
optimized version (400K
events TPS)
• Default Agents and you
can write custom
agents.
Agent agent = new Agent(agentConfiguration);
publisher = new AsyncDataPublisher(
"tcp://localhost:7612", .. );
StreamDefinition definition =
new StreamDefinition(STREAM_NAME,
VERSION);
definition.addPayloadData("sid", STRING);
...
publisher.addStreamDefinition(definition);
...
Event event = new Event();
event.setPayloadData(eventData);
publisher.publish(STREAM_NAME, VERSION, event);
Business Activity Monitor
Complex Event Processor
What is new?
CEP High Availability
ACM DEBS Grand Challenge 2014
• DEBS (Distributed Event Based Systems) is
a premier academic conference, which post
yearly event processing challenge
• Smart Home electricity data: 2000 sensors,
40 houses, 4 Billion events
• WSO2 CEP based solution is one of the four
finalists (Others Dresden University of
Technology and Fraunhofer Institute
(Germany), and Imperial College London)
• We posted fastest single node solution
measured (400K events/sec) and close to
one million distributed throughput.
Dashboard Wizard for BAM and CEP
•We have been asking you to write
bit of code to get visualizations up
•But we have now added a wizard,
that guide you though the process
– Think it as a “New Servlet” menu, you can
customize what it is generated.
•Already in latest CEP and BAM
•Currently only DBs as data
sources, and simple graphs, but
that will grow!
Lambda Architecture with WSO2 Products
What keeping
us busy?
Scaling Complex Event Processing
• “CEP vs. Stream Processing”
is like Hive vs. Hadoop.
Former let users write SQL like
queries without implementing
things from ground up
• However scaling is the main
challenge
• We have written a Siddhi bolt
for Storm. Now you can do
distributed processing by
connecting Siddhi bolts
together!
SiddhiBolt siddhiBolt1 = new
SiddhiBolt( .. siddhi queries ..);
SiddhiBolt siddhiBolt2 = new SiddhiBolt( ..
siddhi queries .. );
TopologyBuilder builder = new
TopologyBuilder();
builder.setSpout("source", new PlayStream(),
1);
builder.setBolt("node1", siddhiBolt1, 1)
.shuffleGrouping("source",
"PlayStream1");
..
builder.setBolt("LeafEacho",
new EchoBolt(), 1)
.shuffleGrouping("node1",
"LongAdvanceStream");
..
cluster.submitTopology("word-count", conf,
builder.createTopology());
CEP Query => Distributed Execution
• Extend Siddhi language to include parallel constructs
partitions, pipelines, distributed operators
• Compile queries to a Storm cluster running Siddhi bolts
• Assign each partition to a different node, and partition the
data accordingly
• Some scenarios need results rearranged.
define partition on Palyer.sid{
from Player#window(30s)select avg(v)as v insert into AvgSpeedByPlayer;
}
from AvgSpeedByPlayer avg(v) insert into AvgSpeed;
Scaling CEP
• Think like MapReduce! ask user to define partitions: parallel and
non parallel parts of computations.
• Each node as Storm bolt, communication and HA via storm
Machine Learning Team
•We are building a machine learning
team
•To give first class support for
machine learning within WSO2
platform, specially in Big Data
solutions
– Idea is to guide you though the process of
finding and applying the best model for you
dataset and scenario
•We will reuse best opensource tools
and create what is missing
Domain Toolboxes
•Time Series Toolbox
– Forecasts and outlier detection
with cycle support
•Fraud Detection
– Set of common fraud detection
pattern implementations pointing
out how you can extend them
•GIS support
– Operations: within, inside, touches
– Geo Fencing
– Tracking
– Integration with GIS databases
Conclusion
•Introduction to Big Data, why and how?
•WSO2 Big Data platform
•What is new in the platform?
•What keeps us busy?
•Interested
–All the software we discussed are Open source under
Apache License. Visit http://wso2.com/.
–Like to integrate with us, help, or join? Talk to us at Big
Data booth or architecture@wso2.org
Thank You

Contenu connexe

Tendances

Data Architecture for Solutions.pdf
Data Architecture for Solutions.pdfData Architecture for Solutions.pdf
Data Architecture for Solutions.pdf
Alan McSweeney
 
Data modeling for the business 09282010
Data modeling for the business  09282010Data modeling for the business  09282010
Data modeling for the business 09282010
ERwin Modeling
 

Tendances (20)

Best Practices for Killer Data Visualization
Best Practices for Killer Data VisualizationBest Practices for Killer Data Visualization
Best Practices for Killer Data Visualization
 
Enterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureEnterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data Architecture
 
Data Strategy
Data StrategyData Strategy
Data Strategy
 
Data Governance — Aligning Technical and Business Approaches
Data Governance — Aligning Technical and Business ApproachesData Governance — Aligning Technical and Business Approaches
Data Governance — Aligning Technical and Business Approaches
 
Data Architecture for Solutions.pdf
Data Architecture for Solutions.pdfData Architecture for Solutions.pdf
Data Architecture for Solutions.pdf
 
Data Governance and Metadata Management
Data Governance and Metadata ManagementData Governance and Metadata Management
Data Governance and Metadata Management
 
Data modelling 101
Data modelling 101Data modelling 101
Data modelling 101
 
Data modeling for the business
Data modeling for the businessData modeling for the business
Data modeling for the business
 
Data Governance Takes a Village (So Why is Everyone Hiding?)
Data Governance Takes a Village (So Why is Everyone Hiding?)Data Governance Takes a Village (So Why is Everyone Hiding?)
Data Governance Takes a Village (So Why is Everyone Hiding?)
 
Data Governance
Data GovernanceData Governance
Data Governance
 
Data Quality Best Practices
Data Quality Best PracticesData Quality Best Practices
Data Quality Best Practices
 
Developing a Data Strategy
Developing a Data StrategyDeveloping a Data Strategy
Developing a Data Strategy
 
Building a Winning Roadmap for Analytics
Building a Winning Roadmap for AnalyticsBuilding a Winning Roadmap for Analytics
Building a Winning Roadmap for Analytics
 
DAS Slides: Data Governance - Combining Data Management with Organizational ...
DAS Slides: Data Governance -  Combining Data Management with Organizational ...DAS Slides: Data Governance -  Combining Data Management with Organizational ...
DAS Slides: Data Governance - Combining Data Management with Organizational ...
 
Most Common Data Governance Challenges in the Digital Economy
Most Common Data Governance Challenges in the Digital EconomyMost Common Data Governance Challenges in the Digital Economy
Most Common Data Governance Challenges in the Digital Economy
 
Data Modeling & Data Integration
Data Modeling & Data IntegrationData Modeling & Data Integration
Data Modeling & Data Integration
 
Data-Ed: Data-centric Strategy & Roadmap
Data-Ed: Data-centric Strategy & RoadmapData-Ed: Data-centric Strategy & Roadmap
Data-Ed: Data-centric Strategy & Roadmap
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
 
Data modeling for the business 09282010
Data modeling for the business  09282010Data modeling for the business  09282010
Data modeling for the business 09282010
 
Data lake
Data lakeData lake
Data lake
 

Similaire à Big Data Analytics Strategy and Roadmap

Building your big data solution
Building your big data solution Building your big data solution
Building your big data solution
WSO2
 
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
ALTER WAY
 

Similaire à Big Data Analytics Strategy and Roadmap (20)

Introduction to Cloud computing and Big Data-Hadoop
Introduction to Cloud computing and  Big Data-HadoopIntroduction to Cloud computing and  Big Data-Hadoop
Introduction to Cloud computing and Big Data-Hadoop
 
Building your big data solution
Building your big data solution Building your big data solution
Building your big data solution
 
Data analytics introduction
Data analytics introductionData analytics introduction
Data analytics introduction
 
Introduction to Cloud Computing and Big Data
Introduction to Cloud Computing and Big DataIntroduction to Cloud Computing and Big Data
Introduction to Cloud Computing and Big Data
 
Data analytics & its Trends
Data analytics & its TrendsData analytics & its Trends
Data analytics & its Trends
 
SKILLWISE-BIGDATA ANALYSIS
SKILLWISE-BIGDATA ANALYSISSKILLWISE-BIGDATA ANALYSIS
SKILLWISE-BIGDATA ANALYSIS
 
Big Data in Action : Operations, Analytics and more
Big Data in Action : Operations, Analytics and moreBig Data in Action : Operations, Analytics and more
Big Data in Action : Operations, Analytics and more
 
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
 
Big Data Analysis : Deciphering the haystack
Big Data Analysis : Deciphering the haystack Big Data Analysis : Deciphering the haystack
Big Data Analysis : Deciphering the haystack
 
Big data.ppt
Big data.pptBig data.ppt
Big data.ppt
 
Lecture1
Lecture1Lecture1
Lecture1
 
Big data
Big dataBig data
Big data
 
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
 
Hadoop Master Class : A concise overview
Hadoop Master Class : A concise overviewHadoop Master Class : A concise overview
Hadoop Master Class : A concise overview
 
bigdata.pdf
bigdata.pdfbigdata.pdf
bigdata.pdf
 
Big Data
Big Data Big Data
Big Data
 
Big data4businessusers
Big data4businessusersBig data4businessusers
Big data4businessusers
 
Big Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-AriBig Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-Ari
 
Big Data with IOT approach and trends with case study
Big Data with IOT approach and trends with case studyBig Data with IOT approach and trends with case study
Big Data with IOT approach and trends with case study
 
Bigdata analytics
Bigdata analyticsBigdata analytics
Bigdata analytics
 

Plus de Srinath Perera

Plus de Srinath Perera (20)

Book: Software Architecture and Decision-Making
Book: Software Architecture and Decision-MakingBook: Software Architecture and Decision-Making
Book: Software Architecture and Decision-Making
 
Data science Applications in the Enterprise
Data science Applications in the EnterpriseData science Applications in the Enterprise
Data science Applications in the Enterprise
 
An Introduction to APIs
An Introduction to APIs An Introduction to APIs
An Introduction to APIs
 
An Introduction to Blockchain for Finance Professionals
An Introduction to Blockchain for Finance ProfessionalsAn Introduction to Blockchain for Finance Professionals
An Introduction to Blockchain for Finance Professionals
 
AI in the Real World: Challenges, and Risks and how to handle them?
AI in the Real World: Challenges, and Risks and how to handle them?AI in the Real World: Challenges, and Risks and how to handle them?
AI in the Real World: Challenges, and Risks and how to handle them?
 
Healthcare + AI: Use cases & Challenges
Healthcare + AI: Use cases & ChallengesHealthcare + AI: Use cases & Challenges
Healthcare + AI: Use cases & Challenges
 
How would AI shape Future Integrations?
How would AI shape Future Integrations?How would AI shape Future Integrations?
How would AI shape Future Integrations?
 
The Role of Blockchain in Future Integrations
The Role of Blockchain in Future IntegrationsThe Role of Blockchain in Future Integrations
The Role of Blockchain in Future Integrations
 
Future of Serverless
Future of ServerlessFuture of Serverless
Future of Serverless
 
Blockchain: Where are we? Where are we going?
Blockchain: Where are we? Where are we going? Blockchain: Where are we? Where are we going?
Blockchain: Where are we? Where are we going?
 
Few thoughts about Future of Blockchain
Few thoughts about Future of BlockchainFew thoughts about Future of Blockchain
Few thoughts about Future of Blockchain
 
A Visual Canvas for Judging New Technologies
A Visual Canvas for Judging New TechnologiesA Visual Canvas for Judging New Technologies
A Visual Canvas for Judging New Technologies
 
Privacy in Bigdata Era
Privacy in Bigdata  EraPrivacy in Bigdata  Era
Privacy in Bigdata Era
 
Blockchain, Impact, Challenges, and Risks
Blockchain, Impact, Challenges, and RisksBlockchain, Impact, Challenges, and Risks
Blockchain, Impact, Challenges, and Risks
 
Today's Technology and Emerging Technology Landscape
Today's Technology and Emerging Technology LandscapeToday's Technology and Emerging Technology Landscape
Today's Technology and Emerging Technology Landscape
 
An Emerging Technologies Timeline
An Emerging Technologies TimelineAn Emerging Technologies Timeline
An Emerging Technologies Timeline
 
The Rise of Streaming SQL and Evolution of Streaming Applications
The Rise of Streaming SQL and Evolution of Streaming ApplicationsThe Rise of Streaming SQL and Evolution of Streaming Applications
The Rise of Streaming SQL and Evolution of Streaming Applications
 
Analytics and AI: The Good, the Bad and the Ugly
Analytics and AI: The Good, the Bad and the UglyAnalytics and AI: The Good, the Bad and the Ugly
Analytics and AI: The Good, the Bad and the Ugly
 
Transforming a Business Through Analytics
Transforming a Business Through AnalyticsTransforming a Business Through Analytics
Transforming a Business Through Analytics
 
SoC Keynote:The State of the Art in Integration Technology
SoC Keynote:The State of the Art in Integration TechnologySoC Keynote:The State of the Art in Integration Technology
SoC Keynote:The State of the Art in Integration Technology
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Big Data Analytics Strategy and Roadmap

  • 1. Big Data Analytics Strategy and Roadmap Srinath Perera Director, Research, WSO2 (srinath@wso2.com, @srinath_perera)
  • 2. •Once Upon a time, there lived a wise Boy •The king being unhappy with the Boy, asked him a “Big Data question” •We had Big data problems though time, although could not solve them •Early examples –Census at Egypt (3000 BC) –Census at Egypt (AD 144) that counted 49.73 million
  • 3. A day in your life  Think about a day in your life? –What is the best road to take? –Would there be any bad weather? –How to invest my money? –How is my health?  There are many decisions that you can do better if only you can access the data and process them. http://www.flickr.com/photos/kcolwell/5 512461652/ CC licence
  • 4.
  • 5. Data Avalanche (Moore’s law of data) • We are now collecting and converting large amount of data to digital forms • 90% of the data in the world today was created within the past two years. • Amount of data we have doubles very fast
  • 6. Internet of Things •Currently physical world and software worlds are detached •Internet of things promises to bridge this – It is about sensors and actuators everywhere – In your fridge, in your blanket, in your chair, in your carpet.. Yes even in your socks – Google IO pressure mats
  • 7. What can we do with Big Data? • Optimize – 1% saving in Airplanes and turbines can save more than 1B$ each year (GE talk, Strata 2014). Sri Lanka’s total export 9B year • Save lives – Weather, Disease identification, Personalized treatment • Technology advancement – Most high tech work are done via simulations
  • 8. Big Data Reference Architecture
  • 9. Why Big Data is hard? • How to store? Assuming 1TB bytes it takes 1000 computers to store a 1PB • How to move? Assuming 10Gb network, it takes 2 hours to copy 1TB, or 83 days to copy a 1PB • How to search? Assuming each record is 1KB and one machine can process 1000 records per sec, it needs 277CPU days to process a 1TB and 785 CPU years to process a 1 PB • How to process? – Convert algorithms to work in large size – Create new algorithms http://www.susanica.com/photo/9
  • 10. Big data Processing Technologies
  • 11. Making Sense of Data •To know what happened? (hindsight + oversight) – Basic analytics + visualizations (min, max, average, histogram, distribution) – Interactive drill down •To explain why?(Insight) – Data mining, classifications, building models, clustering •To forecast (Foresight) – Neural networks, decision models
  • 12. New Developments •Internet of things (IoT) –Building a bridge between software and real world. •Lambda Architecture –Merging realtime and batch processing in a same model •Machine Learning –Next Generation decisions (e.g. Deep Learning)
  • 13. WSO2 Big Data Platform
  • 14. Data Collection • Can receive events via SOAP, HTTP, JMS, .. • WSO2 Events is highly optimized version (400K events TPS) • Default Agents and you can write custom agents. Agent agent = new Agent(agentConfiguration); publisher = new AsyncDataPublisher( "tcp://localhost:7612", .. ); StreamDefinition definition = new StreamDefinition(STREAM_NAME, VERSION); definition.addPayloadData("sid", STRING); ... publisher.addStreamDefinition(definition); ... Event event = new Event(); event.setPayloadData(eventData); publisher.publish(STREAM_NAME, VERSION, event);
  • 18.
  • 20. ACM DEBS Grand Challenge 2014 • DEBS (Distributed Event Based Systems) is a premier academic conference, which post yearly event processing challenge • Smart Home electricity data: 2000 sensors, 40 houses, 4 Billion events • WSO2 CEP based solution is one of the four finalists (Others Dresden University of Technology and Fraunhofer Institute (Germany), and Imperial College London) • We posted fastest single node solution measured (400K events/sec) and close to one million distributed throughput.
  • 21. Dashboard Wizard for BAM and CEP •We have been asking you to write bit of code to get visualizations up •But we have now added a wizard, that guide you though the process – Think it as a “New Servlet” menu, you can customize what it is generated. •Already in latest CEP and BAM •Currently only DBs as data sources, and simple graphs, but that will grow!
  • 22. Lambda Architecture with WSO2 Products
  • 23.
  • 25. Scaling Complex Event Processing • “CEP vs. Stream Processing” is like Hive vs. Hadoop. Former let users write SQL like queries without implementing things from ground up • However scaling is the main challenge • We have written a Siddhi bolt for Storm. Now you can do distributed processing by connecting Siddhi bolts together! SiddhiBolt siddhiBolt1 = new SiddhiBolt( .. siddhi queries ..); SiddhiBolt siddhiBolt2 = new SiddhiBolt( .. siddhi queries .. ); TopologyBuilder builder = new TopologyBuilder(); builder.setSpout("source", new PlayStream(), 1); builder.setBolt("node1", siddhiBolt1, 1) .shuffleGrouping("source", "PlayStream1"); .. builder.setBolt("LeafEacho", new EchoBolt(), 1) .shuffleGrouping("node1", "LongAdvanceStream"); .. cluster.submitTopology("word-count", conf, builder.createTopology());
  • 26. CEP Query => Distributed Execution • Extend Siddhi language to include parallel constructs partitions, pipelines, distributed operators • Compile queries to a Storm cluster running Siddhi bolts • Assign each partition to a different node, and partition the data accordingly • Some scenarios need results rearranged. define partition on Palyer.sid{ from Player#window(30s)select avg(v)as v insert into AvgSpeedByPlayer; } from AvgSpeedByPlayer avg(v) insert into AvgSpeed;
  • 27. Scaling CEP • Think like MapReduce! ask user to define partitions: parallel and non parallel parts of computations. • Each node as Storm bolt, communication and HA via storm
  • 28. Machine Learning Team •We are building a machine learning team •To give first class support for machine learning within WSO2 platform, specially in Big Data solutions – Idea is to guide you though the process of finding and applying the best model for you dataset and scenario •We will reuse best opensource tools and create what is missing
  • 29. Domain Toolboxes •Time Series Toolbox – Forecasts and outlier detection with cycle support •Fraud Detection – Set of common fraud detection pattern implementations pointing out how you can extend them •GIS support – Operations: within, inside, touches – Geo Fencing – Tracking – Integration with GIS databases
  • 30. Conclusion •Introduction to Big Data, why and how? •WSO2 Big Data platform •What is new in the platform? •What keeps us busy? •Interested –All the software we discussed are Open source under Apache License. Visit http://wso2.com/. –Like to integrate with us, help, or join? Talk to us at Big Data booth or architecture@wso2.org