SlideShare a Scribd company logo
Build your own Real Time Analytics and
Visualization, Enable Complex Event
Processing, Event Patterns and Aggregates




Ramesh / Vishnu
Supply Chain - Platform Team
Tom admiring his
  handywork !
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Database   Application Server
Elastic
           Search


                        Graylog2



                        Logstash



Database             Application Server
Elastic
                                StatsD
           Search


                        Graylog2



                        Logstash



Database             Application Server
Elastic
                                StatsD
           Search

                                          graphite
                        Graylog2



                        Logstash



Database             Application Server
Search




           Elastic
                                StatsD
           Search

                                          graphite
                        Graylog2



                        Logstash



Database             Application Server
Search    CEP




           Elastic
                                StatsD
           Search

                                          graphite
                        Graylog2



                        Logstash



Database             Application Server
Complex Event Processing
 ●   ElasticSearch as a Storage or Alternate DB
      ○  Faster on Lookup Queries than RDBMS
      ○  Can do simple predicate queries
      ○  Does not need multiple indexes (full text indexing)
      ○  Create fields out of interesting values

 ●   Statsd layer is a sliding window counter
      ○  Within a sliding window we can do regex patterns
      ○  Aggregates
      ○  Deviations
      ○  This is a Key aspect of the SOA Monitoring System (Complex
         patterns which need action)

Push the complex pattern back to ES or as a trigger for action
Use cases
● Every PO has a matching SO?

● Has a shelf in the warehouse just gone
  empty?

● Where is the current pile up happening?

● Is the SLA being breached?
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Search    CEP




           Elastic
                                StatsD
           Search

                                          graphite
                        Graylog2



                        Logstash



Database             Application Server
Are logs the only source of events?

● No - The database can be used as well.

● Events can be generated by capturing the
  Updates/Inserts/Deletes being made to the
  tables.

● These events can be published to an MQ to
  speed up replication (batch processing) or sent
  to the CEP engine.
Search    CEP




              Elastic
                                   StatsD
              Search

                                             graphite
                           Graylog2
Change Data
Capture
                           Logstash



 Database               Application Server
Distribute
                  Replication                        Search    CEP
 General
                   Events
Query Log



                                Elastic
             MQ                                      StatsD
                                Search

                                                               graphite
                                             Graylog2
                  Change Data
                  Capture
                                             Logstash


        log.cc
                    Database              Application Server
Elasticsearch
Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates
Time to Sing
                             Mood of Mysql




Note:image is from http://www.technocation.org
Mood of Mysql

● Music is the best way to express how one feels.

● Well, Mysql has a soul too, it has a mood :)

● Mysql can sing through each query(good/bad) it gets.

● Every query, Mysql gets, is intercepted in log.cc and
  sent acrross to an MQ Server. Subscribers to the
  queue ,on receiving a message play a musical note
  depending on the query they get.
Use case: Divide & Conquer General
query log
● Alternative to enabling general query log, which grows very
  fast in size and disk space becomes a concern on the master
  database.

● The queries are sent out to a queue on an MQ Server and an
  army of subscribers who listen to the queue , log the query
  on receiving a message.

● The general query log can now be distributed (among the
  subscribers).

● More number of subscribers => smaller the log & easy to
  rotate.
References

http://bazaar.launchpad.net/~mysql/mysql-replication-
listener/trunk

https://github.com/etsy/statsd/

https://launchpad.net/graphite

http://www.elasticsearch.org/

http://www.oscon.
com/oscon2011/public/schedule/detail/18785

http://technocation.org/
Thank you




 vishnuhr@flipkart.com
rameshpy@flipkart.com
Ad

Recommended

Reactive Databases for Big Data applications
Reactive Databases for Big Data applications
Graph-TA
 
Xanadu Based Big Data CBIR System:Automated Astronomical Objects Classificati...
Xanadu Based Big Data CBIR System:Automated Astronomical Objects Classificati...
Alex G. Lee, Ph.D. Esq. CLP
 
Pig on spark
Pig on spark
Sigmoid
 
Pig on Spark
Pig on Spark
mortardata
 
Intro elasticsearch taswarbhatti
Intro elasticsearch taswarbhatti
Taswar Bhatti
 
HUGIreland_CronanMcNamara_DataScience_ExpertModels.pdf
HUGIreland_CronanMcNamara_DataScience_ExpertModels.pdf
John Mulhall
 
Graphalytics: A big data benchmark for graph processing platforms
Graphalytics: A big data benchmark for graph processing platforms
Graph-TA
 
The Future of Real-Time in Spark
The Future of Real-Time in Spark
Reynold Xin
 
Spark Streaming Intro @KTech
Spark Streaming Intro @KTech
Oleg Korolenko
 
An Intro to Elasticsearch and Kibana
An Intro to Elasticsearch and Kibana
ObjectRocket
 
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
Spark Summit
 
Building real time analytics applications using pinot : A LinkedIn case study
Building real time analytics applications using pinot : A LinkedIn case study
Kishore Gopalakrishna
 
Big linked geospatial data tools in ExtremeEarth-phiweek19
Big linked geospatial data tools in ExtremeEarth-phiweek19
ExtremeEarth
 
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Databricks
 
Dataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLS
Alasdair Gray
 
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Citus Data
 
ISNCC 2017
ISNCC 2017
Rim Moussa
 
Monitoring pg with_graphite_grafana
Monitoring pg with_graphite_grafana
Jan Wieck
 
BDE SC3.3 Workshop - BDE Platform: Technical overview
BDE SC3.3 Workshop - BDE Platform: Technical overview
BigData_Europe
 
Perceval, Graal and Arthur: The Quest for Software Project Data
Perceval, Graal and Arthur: The Quest for Software Project Data
Valerio Cosentino
 
What's new in spark 2.0?
What's new in spark 2.0?
Örjan Lundberg
 
ER 2016 Tutorial
ER 2016 Tutorial
Rim Moussa
 
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
Altinity Ltd
 
Javantura v3 - Logs – the missing gold mine – Franjo Žilić
Javantura v3 - Logs – the missing gold mine – Franjo Žilić
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Exploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better Together
ObjectRocket
 
Info gdal 20150915
Info gdal 20150915
GeoMedeelel
 
Production Machine Learning
Production Machine Learning
Osama Khan
 
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Osama Khan
 
a wild Supposition: can MySQL be Kafka ?
a wild Supposition: can MySQL be Kafka ?
vishnu rao
 
Punch clock for debugging apache storm
Punch clock for debugging apache storm
vishnu rao
 

More Related Content

What's hot (20)

Spark Streaming Intro @KTech
Spark Streaming Intro @KTech
Oleg Korolenko
 
An Intro to Elasticsearch and Kibana
An Intro to Elasticsearch and Kibana
ObjectRocket
 
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
Spark Summit
 
Building real time analytics applications using pinot : A LinkedIn case study
Building real time analytics applications using pinot : A LinkedIn case study
Kishore Gopalakrishna
 
Big linked geospatial data tools in ExtremeEarth-phiweek19
Big linked geospatial data tools in ExtremeEarth-phiweek19
ExtremeEarth
 
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Databricks
 
Dataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLS
Alasdair Gray
 
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Citus Data
 
ISNCC 2017
ISNCC 2017
Rim Moussa
 
Monitoring pg with_graphite_grafana
Monitoring pg with_graphite_grafana
Jan Wieck
 
BDE SC3.3 Workshop - BDE Platform: Technical overview
BDE SC3.3 Workshop - BDE Platform: Technical overview
BigData_Europe
 
Perceval, Graal and Arthur: The Quest for Software Project Data
Perceval, Graal and Arthur: The Quest for Software Project Data
Valerio Cosentino
 
What's new in spark 2.0?
What's new in spark 2.0?
Örjan Lundberg
 
ER 2016 Tutorial
ER 2016 Tutorial
Rim Moussa
 
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
Altinity Ltd
 
Javantura v3 - Logs – the missing gold mine – Franjo Žilić
Javantura v3 - Logs – the missing gold mine – Franjo Žilić
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Exploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better Together
ObjectRocket
 
Info gdal 20150915
Info gdal 20150915
GeoMedeelel
 
Production Machine Learning
Production Machine Learning
Osama Khan
 
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Osama Khan
 
Spark Streaming Intro @KTech
Spark Streaming Intro @KTech
Oleg Korolenko
 
An Intro to Elasticsearch and Kibana
An Intro to Elasticsearch and Kibana
ObjectRocket
 
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
ggplot2.SparkR: Rebooting ggplot2 for Scalable Big Data Visualization by Jong...
Spark Summit
 
Building real time analytics applications using pinot : A LinkedIn case study
Building real time analytics applications using pinot : A LinkedIn case study
Kishore Gopalakrishna
 
Big linked geospatial data tools in ExtremeEarth-phiweek19
Big linked geospatial data tools in ExtremeEarth-phiweek19
ExtremeEarth
 
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Deep Dive Into Catalyst: Apache Spark 2.0’s Optimizer
Databricks
 
Dataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLS
Alasdair Gray
 
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Distributed Point-in-Time Recovery with Postgres | PGConf.Russia 2018 | Eren ...
Citus Data
 
Monitoring pg with_graphite_grafana
Monitoring pg with_graphite_grafana
Jan Wieck
 
BDE SC3.3 Workshop - BDE Platform: Technical overview
BDE SC3.3 Workshop - BDE Platform: Technical overview
BigData_Europe
 
Perceval, Graal and Arthur: The Quest for Software Project Data
Perceval, Graal and Arthur: The Quest for Software Project Data
Valerio Cosentino
 
What's new in spark 2.0?
What's new in spark 2.0?
Örjan Lundberg
 
ER 2016 Tutorial
ER 2016 Tutorial
Rim Moussa
 
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
ClickHouse Analytical DBMS: Introduction and Case Studies, by Alexander Zaitsev
Altinity Ltd
 
Exploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better Together
ObjectRocket
 
Info gdal 20150915
Info gdal 20150915
GeoMedeelel
 
Production Machine Learning
Production Machine Learning
Osama Khan
 
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Big Data & Machine Learning Pipelines: A Tale of Lambdas, Kappas and Pancakes
Osama Khan
 

Viewers also liked (15)

a wild Supposition: can MySQL be Kafka ?
a wild Supposition: can MySQL be Kafka ?
vishnu rao
 
Punch clock for debugging apache storm
Punch clock for debugging apache storm
vishnu rao
 
Do you need microservices architecture?
Do you need microservices architecture?
Manu Pk
 
Demystifying datastores
Demystifying datastores
vishnu rao
 
Visualising Basic Concepts of Docker
Visualising Basic Concepts of Docker
vishnu rao
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
 
Let's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
Drools 6.0 (Red Hat Summit)
Drools 6.0 (Red Hat Summit)
Mark Proctor
 
Software Design in Practice (with Java examples)
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
Microservices with Spring Boot
Microservices with Spring Boot
Joshua Long
 
Microservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring Cloud
Eberhard Wolff
 
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Eberhard Wolff
 
Bangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
Docker by Example - Basics
Docker by Example - Basics
Ganesh Samarthyam
 
Spring boot
Spring boot
sdeeg
 
a wild Supposition: can MySQL be Kafka ?
a wild Supposition: can MySQL be Kafka ?
vishnu rao
 
Punch clock for debugging apache storm
Punch clock for debugging apache storm
vishnu rao
 
Do you need microservices architecture?
Do you need microservices architecture?
Manu Pk
 
Demystifying datastores
Demystifying datastores
vishnu rao
 
Visualising Basic Concepts of Docker
Visualising Basic Concepts of Docker
vishnu rao
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
 
Let's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
Drools 6.0 (Red Hat Summit)
Drools 6.0 (Red Hat Summit)
Mark Proctor
 
Software Design in Practice (with Java examples)
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
Microservices with Spring Boot
Microservices with Spring Boot
Joshua Long
 
Microservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring Cloud
Eberhard Wolff
 
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Eberhard Wolff
 
Bangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
Spring boot
Spring boot
sdeeg
 
Ad

Similar to Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates (20)

Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
Rick Bilodeau
 
Case Study: Elasticsearch Ingest Using StreamSets @ Cisco Intercloud
Case Study: Elasticsearch Ingest Using StreamSets @ Cisco Intercloud
Streamsets Inc.
 
Nebula Graph nMeetup in Shanghai - Meet with Graph Technology Enthusiasts
Nebula Graph nMeetup in Shanghai - Meet with Graph Technology Enthusiasts
Nebula Graph
 
Managing your black friday logs - Code Europe
Managing your black friday logs - Code Europe
David Pilato
 
YOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at Netflix
Brendan Gregg
 
Open source log analytics
Open source log analytics
Vinod Nayal
 
ALM Search Presentation for the VSS Arch Council
ALM Search Presentation for the VSS Arch Council
Sunita Shrivastava
 
Managing your Black Friday Logs NDC Oslo
Managing your Black Friday Logs NDC Oslo
David Pilato
 
Stream Processing – Concepts and Frameworks
Stream Processing – Concepts and Frameworks
Guido Schmutz
 
Centralized Logging System Using ELK Stack
Centralized Logging System Using ELK Stack
Rohit Sharma
 
Big data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on docker
Federico Palladoro
 
Jack Gudenkauf sparkug_20151207_7
Jack Gudenkauf sparkug_20151207_7
Jack Gudenkauf
 
A noETL Parallel Streaming Transformation Loader using Spark, Kafka­ & Ver­tica
A noETL Parallel Streaming Transformation Loader using Spark, Kafka­ & Ver­tica
Data Con LA
 
Log management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_search
Rishav Rohit
 
Cloud Lambda Architecture Patterns
Cloud Lambda Architecture Patterns
Asis Mohanty
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
SolarWinds Loggly
 
RasterFrames + STAC
RasterFrames + STAC
Simeon Fitch
 
20190909_PGconf.ASIA_KaiGai
20190909_PGconf.ASIA_KaiGai
Kohei KaiGai
 
PGConf.ASIA 2019 Bali - Full-throttle Running on Terabytes Log-data - Kohei K...
PGConf.ASIA 2019 Bali - Full-throttle Running on Terabytes Log-data - Kohei K...
Equnix Business Solutions
 
Real World Storage in Treasure Data
Real World Storage in Treasure Data
Kai Sasaki
 
Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
Rick Bilodeau
 
Case Study: Elasticsearch Ingest Using StreamSets @ Cisco Intercloud
Case Study: Elasticsearch Ingest Using StreamSets @ Cisco Intercloud
Streamsets Inc.
 
Nebula Graph nMeetup in Shanghai - Meet with Graph Technology Enthusiasts
Nebula Graph nMeetup in Shanghai - Meet with Graph Technology Enthusiasts
Nebula Graph
 
Managing your black friday logs - Code Europe
Managing your black friday logs - Code Europe
David Pilato
 
YOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at Netflix
Brendan Gregg
 
Open source log analytics
Open source log analytics
Vinod Nayal
 
ALM Search Presentation for the VSS Arch Council
ALM Search Presentation for the VSS Arch Council
Sunita Shrivastava
 
Managing your Black Friday Logs NDC Oslo
Managing your Black Friday Logs NDC Oslo
David Pilato
 
Stream Processing – Concepts and Frameworks
Stream Processing – Concepts and Frameworks
Guido Schmutz
 
Centralized Logging System Using ELK Stack
Centralized Logging System Using ELK Stack
Rohit Sharma
 
Big data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on docker
Federico Palladoro
 
Jack Gudenkauf sparkug_20151207_7
Jack Gudenkauf sparkug_20151207_7
Jack Gudenkauf
 
A noETL Parallel Streaming Transformation Loader using Spark, Kafka­ & Ver­tica
A noETL Parallel Streaming Transformation Loader using Spark, Kafka­ & Ver­tica
Data Con LA
 
Log management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_search
Rishav Rohit
 
Cloud Lambda Architecture Patterns
Cloud Lambda Architecture Patterns
Asis Mohanty
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
SolarWinds Loggly
 
RasterFrames + STAC
RasterFrames + STAC
Simeon Fitch
 
20190909_PGconf.ASIA_KaiGai
20190909_PGconf.ASIA_KaiGai
Kohei KaiGai
 
PGConf.ASIA 2019 Bali - Full-throttle Running on Terabytes Log-data - Kohei K...
PGConf.ASIA 2019 Bali - Full-throttle Running on Terabytes Log-data - Kohei K...
Equnix Business Solutions
 
Real World Storage in Treasure Data
Real World Storage in Treasure Data
Kai Sasaki
 
Ad

More from vishnu rao (7)

Assessing Data Pipeline Quality & Sanity with Data Angiograms.pdf
Assessing Data Pipeline Quality & Sanity with Data Angiograms.pdf
vishnu rao
 
A talk on mysql & aurora
A talk on mysql & aurora
vishnu rao
 
Introduction to Apache Kafka
Introduction to Apache Kafka
vishnu rao
 
Mysql Relay log - the unsung hero
Mysql Relay log - the unsung hero
vishnu rao
 
simple introduction to hadoop
simple introduction to hadoop
vishnu rao
 
Druid beginner performance tips
Druid beginner performance tips
vishnu rao
 
StormWars - when the data stream shrinks
StormWars - when the data stream shrinks
vishnu rao
 
Assessing Data Pipeline Quality & Sanity with Data Angiograms.pdf
Assessing Data Pipeline Quality & Sanity with Data Angiograms.pdf
vishnu rao
 
A talk on mysql & aurora
A talk on mysql & aurora
vishnu rao
 
Introduction to Apache Kafka
Introduction to Apache Kafka
vishnu rao
 
Mysql Relay log - the unsung hero
Mysql Relay log - the unsung hero
vishnu rao
 
simple introduction to hadoop
simple introduction to hadoop
vishnu rao
 
Druid beginner performance tips
Druid beginner performance tips
vishnu rao
 
StormWars - when the data stream shrinks
StormWars - when the data stream shrinks
vishnu rao
 

Recently uploaded (20)

9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
 
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
 
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
 
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
 
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 

Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates

  • 1. Build your own Real Time Analytics and Visualization, Enable Complex Event Processing, Event Patterns and Aggregates Ramesh / Vishnu Supply Chain - Platform Team
  • 2. Tom admiring his handywork !
  • 4. Database Application Server
  • 5. Elastic Search Graylog2 Logstash Database Application Server
  • 6. Elastic StatsD Search Graylog2 Logstash Database Application Server
  • 7. Elastic StatsD Search graphite Graylog2 Logstash Database Application Server
  • 8. Search Elastic StatsD Search graphite Graylog2 Logstash Database Application Server
  • 9. Search CEP Elastic StatsD Search graphite Graylog2 Logstash Database Application Server
  • 10. Complex Event Processing ● ElasticSearch as a Storage or Alternate DB ○ Faster on Lookup Queries than RDBMS ○ Can do simple predicate queries ○ Does not need multiple indexes (full text indexing) ○ Create fields out of interesting values ● Statsd layer is a sliding window counter ○ Within a sliding window we can do regex patterns ○ Aggregates ○ Deviations ○ This is a Key aspect of the SOA Monitoring System (Complex patterns which need action) Push the complex pattern back to ES or as a trigger for action
  • 11. Use cases ● Every PO has a matching SO? ● Has a shelf in the warehouse just gone empty? ● Where is the current pile up happening? ● Is the SLA being breached?
  • 21. Search CEP Elastic StatsD Search graphite Graylog2 Logstash Database Application Server
  • 22. Are logs the only source of events? ● No - The database can be used as well. ● Events can be generated by capturing the Updates/Inserts/Deletes being made to the tables. ● These events can be published to an MQ to speed up replication (batch processing) or sent to the CEP engine.
  • 23. Search CEP Elastic StatsD Search graphite Graylog2 Change Data Capture Logstash Database Application Server
  • 24. Distribute Replication Search CEP General Events Query Log Elastic MQ StatsD Search graphite Graylog2 Change Data Capture Logstash log.cc Database Application Server
  • 27. Time to Sing Mood of Mysql Note:image is from http://www.technocation.org
  • 28. Mood of Mysql ● Music is the best way to express how one feels. ● Well, Mysql has a soul too, it has a mood :) ● Mysql can sing through each query(good/bad) it gets. ● Every query, Mysql gets, is intercepted in log.cc and sent acrross to an MQ Server. Subscribers to the queue ,on receiving a message play a musical note depending on the query they get.
  • 29. Use case: Divide & Conquer General query log ● Alternative to enabling general query log, which grows very fast in size and disk space becomes a concern on the master database. ● The queries are sent out to a queue on an MQ Server and an army of subscribers who listen to the queue , log the query on receiving a message. ● The general query log can now be distributed (among the subscribers). ● More number of subscribers => smaller the log & easy to rotate.