SlideShare a Scribd company logo
FastNetMonandMetrics
Hello
2
I’m Pavel Odintsov, the author of FastNetMon: https://fastnetmon.com
Ways to contact me:
● linkedin.com/in/podintsov
● github.com/pavel-odintsov
● twitter.com/odintsov_pavel
● IRC, Libera Chat, pavel_odintsov
● pavel@fastnetmon.com
What is FastNetMon
3
● DDoS detection Tool
● Amazon AWS VPC Flow Analytics
● Google Compute VPC Flow Analytics
● BGP Blackhole Automation Tool
● BGP Automation Tool
● Traffic Visibility Tool
● Network Automation Tool
● Network Traffic Engineering Tool
How It Works
4
How It Looks
5
FastNetMon: Detection Logic
6
Detection type:
• Threshold based (based on host’s average traffic)
THRESHOLD TYPES:
• USING TOTAL TRAFFIC
• USING TOTAL PPS RATE
• PER PROTOCOL
FastNetMon: Tra ic Reports in Grafana
7
FastNetMon: More Tra ic Reports in Grafana
8
What is the
problem?
9
Our Challenges with Metrics
10
● Cardinality: medium sized network has ~1m IPv4 hosts with 32
metrics each
● Value range from 0 to UINT64_MAX: traffic in mbit / s or packet /s
● 1s precision
● Insert in very large batches
● Customers love top-k queries
Graphite As Storage for Metrics, 2015
11
● “.” as delimiter. IPs and prefixes look ugly: 10_1_2_3 , 10_1_2_3_24
● Limited by performance of single CPU core
● Disk space hungry datastore format
● Whisper is simple and easy to implement
● Graphite is not well maintained and broken in recent Debian /
Ubuntu
Graphite Web: World Before Grafana
12
Graphite: Carbon-cache, 200k/s
13
Graphite: GoCarbon, 200k/s
14
InfluxDB As Storage for Metrics, 2016
15
● Allows “.” in metric names
● Pretty compact datastore format
● Automated retention
● Native Grafana support
● Can use multiple CPU cores
● Easy installation, just single binary
● May need tens of minutes for loading with large database
● Uses lots of memory
● Top-k query is extremely slow
● Does not scale after 2m metrics per second
● Queries over few days of data are very slow
ClickHouse As Storage for Metrics, 2022
16
● Allows “.” in metric names
● Pretty compact datastore format
● Automated retention
● Plugin for Grafana
● Can use multiple CPU cores
● Requires SSE 4.2 :(
● Top-k query is pretty fast
● Supports unlimited cardinality
● Queries over few days of data can be finished in reasonable time
● Ability to store flows!
Clickhouse vs InfluxDB
17
InfluxDB ClickHouse
Cardinality < 1m of unique series Battle tested with 16m+ unique series
Metrics / s < 1m per second 10m+ per second
Top-k performance Extremely slow Good
Data format Inefficient, text Very Efficient, binary
Query syntax Counterintuitive Well known SQL
Multi CPU support Limited Brilliant, scales linearly
Grafana Native Plugin based
Roadblock with CLickHouse
18
ClickHouse as Flow Storage
19
Bu ering problem
20
Can We Retrieve Flows?
21
Can We Show Flows?
22
FastNetMon: our community
23
● Site: https://fastnetmon.com
● GitHub: https://github.com/pavel-odintsov/fastnetmon
● IRC: #fastnetmon at Libra Chat
● Telegram: https://t.me/fastnetmon
● Slack: http://bit.ly/2o5Idx8
● LinkedIN: https://www.linkedin.com/company/fastnetmon/
● Facebook: https://www.facebook.com/fastnetmon/
● WhatsApp:
https://chat.whatsapp.com/JjwF855pwZvIIasTUsZ7EO
THANKS!
ANY QUESTIONS?
You can find me at:
⬥ @odintsov_pavel
⬥ pavel@fastnetmon.com
⬥ linkedin.com/in/podintsov
24

More Related Content

PDF
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
PDF
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
PDF
Timeseries - data visualization in Grafana
PPTX
FastNetMon Advanced DDoS detection tool
PDF
Monitoring with Clickhouse
PDF
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
PDF
Care and Feeding of Large Scale Graphite Installations - DevOpsDays Austin 2013
KEY
Trending with Purpose
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
Timeseries - data visualization in Grafana
FastNetMon Advanced DDoS detection tool
Monitoring with Clickhouse
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
Care and Feeding of Large Scale Graphite Installations - DevOpsDays Austin 2013
Trending with Purpose

Similar to FastNetMon and Metrics (20)

PDF
OSDC 2014: Devdas Bhagat - Graphite: Graphs for the modern age
PDF
Deep into Prometheus
PDF
Optimizing Time Series Performance in the Real World
PDF
Kentik Network@Scale (Dan Ellis)
PDF
How to measure everything - a million metrics per second with minimal develop...
PPTX
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...
PDF
Measure All the Things! - Austin Data Day 2014
PPTX
Scaling Graphite At Yelp
PDF
Optimizing InfluxDB Performance in the Real World | Sam Dillard | InfluxData
PDF
Jon Nield FastNetMon
PDF
FOSDEM 2019: M3, Prometheus and Graphite with metrics and monitoring in an in...
PDF
Traffic Matrices and its measurement
PDF
Beautiful Monitoring With Grafana and InfluxDB
PDF
The Perfect Fit: Scalable Graph for Big Data
PDF
Optimizing InfluxDB Performance in the Real World by Dean Sheehan, Senior Dir...
PDF
app/server monitoring
PDF
Graphs & Big Data - Philip Rathle and Andreas Kollegger @ Big Data Science Me...
PPTX
Time to say goodbye to your Nagios based setup
PDF
OSMC 2014: Time to say goodbye to your Nagios setup | Oliver Jan
OSDC 2014: Devdas Bhagat - Graphite: Graphs for the modern age
Deep into Prometheus
Optimizing Time Series Performance in the Real World
Kentik Network@Scale (Dan Ellis)
How to measure everything - a million metrics per second with minimal develop...
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...
Measure All the Things! - Austin Data Day 2014
Scaling Graphite At Yelp
Optimizing InfluxDB Performance in the Real World | Sam Dillard | InfluxData
Jon Nield FastNetMon
FOSDEM 2019: M3, Prometheus and Graphite with metrics and monitoring in an in...
Traffic Matrices and its measurement
Beautiful Monitoring With Grafana and InfluxDB
The Perfect Fit: Scalable Graph for Big Data
Optimizing InfluxDB Performance in the Real World by Dean Sheehan, Senior Dir...
app/server monitoring
Graphs & Big Data - Philip Rathle and Andreas Kollegger @ Big Data Science Me...
Time to say goodbye to your Nagios based setup
OSMC 2014: Time to say goodbye to your Nagios setup | Oliver Jan
Ad

More from Altinity Ltd (20)

PPTX
Building an Analytic Extension to MySQL with ClickHouse and Open Source.pptx
PDF
Cloud Native ClickHouse at Scale--Using the Altinity Kubernetes Operator-2022...
PPTX
Building an Analytic Extension to MySQL with ClickHouse and Open Source
PDF
Fun with ClickHouse Window Functions-2021-08-19.pdf
PDF
Cloud Native Data Warehouses - Intro to ClickHouse on Kubernetes-2021-07.pdf
PDF
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
PDF
Own your ClickHouse data with Altinity.Cloud Anywhere-2023-01-17.pdf
PDF
ClickHouse ReplacingMergeTree in Telecom Apps
PDF
Adventures with the ClickHouse ReplacingMergeTree Engine
PDF
Building a Real-Time Analytics Application with Apache Pulsar and Apache Pinot
PDF
Altinity Webinar: Introduction to Altinity.Cloud-Platform for Real-Time Data.pdf
PDF
OSA Con 2022 - What Data Engineering Can Learn from Frontend Engineering - Pe...
PDF
OSA Con 2022 - Welcome to OSA CON Version 2022 - Robert Hodges - Altinity.pdf
PDF
OSA Con 2022 - Using ClickHouse Database to Power Analytics and Customer Enga...
PDF
OSA Con 2022 - Tips and Tricks to Keep Your Queries under 100ms with ClickHou...
PDF
OSA Con 2022 - The Open Source Analytic Universe, Version 2022 - Robert Hodge...
PDF
OSA Con 2022 - Switching Jaeger Distributed Tracing to ClickHouse to Enable A...
PDF
OSA Con 2022 - Streaming Data Made Easy - Tim Spann & David Kjerrumgaard - St...
PDF
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
PDF
OSA Con 2022 - Specifics of data analysis in Time Series Databases - Roman Kh...
Building an Analytic Extension to MySQL with ClickHouse and Open Source.pptx
Cloud Native ClickHouse at Scale--Using the Altinity Kubernetes Operator-2022...
Building an Analytic Extension to MySQL with ClickHouse and Open Source
Fun with ClickHouse Window Functions-2021-08-19.pdf
Cloud Native Data Warehouses - Intro to ClickHouse on Kubernetes-2021-07.pdf
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Own your ClickHouse data with Altinity.Cloud Anywhere-2023-01-17.pdf
ClickHouse ReplacingMergeTree in Telecom Apps
Adventures with the ClickHouse ReplacingMergeTree Engine
Building a Real-Time Analytics Application with Apache Pulsar and Apache Pinot
Altinity Webinar: Introduction to Altinity.Cloud-Platform for Real-Time Data.pdf
OSA Con 2022 - What Data Engineering Can Learn from Frontend Engineering - Pe...
OSA Con 2022 - Welcome to OSA CON Version 2022 - Robert Hodges - Altinity.pdf
OSA Con 2022 - Using ClickHouse Database to Power Analytics and Customer Enga...
OSA Con 2022 - Tips and Tricks to Keep Your Queries under 100ms with ClickHou...
OSA Con 2022 - The Open Source Analytic Universe, Version 2022 - Robert Hodge...
OSA Con 2022 - Switching Jaeger Distributed Tracing to ClickHouse to Enable A...
OSA Con 2022 - Streaming Data Made Easy - Tim Spann & David Kjerrumgaard - St...
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
OSA Con 2022 - Specifics of data analysis in Time Series Databases - Roman Kh...
Ad

Recently uploaded (20)

PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPT
Quality review (1)_presentation of this 21
PDF
Lecture1 pattern recognition............
PDF
annual-report-2024-2025 original latest.
PPTX
1_Introduction to advance data techniques.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
Business Acumen Training GuidePresentation.pptx
climate analysis of Dhaka ,Banglades.pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Reliability_Chapter_ presentation 1221.5784
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Quality review (1)_presentation of this 21
Lecture1 pattern recognition............
annual-report-2024-2025 original latest.
1_Introduction to advance data techniques.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Data_Analytics_and_PowerBI_Presentation.pptx
oil_refinery_comprehensive_20250804084928 (1).pptx
Clinical guidelines as a resource for EBP(1).pdf
IBA_Chapter_11_Slides_Final_Accessible.pptx

FastNetMon and Metrics

  • 2. Hello 2 I’m Pavel Odintsov, the author of FastNetMon: https://fastnetmon.com Ways to contact me: ● linkedin.com/in/podintsov ● github.com/pavel-odintsov ● twitter.com/odintsov_pavel ● IRC, Libera Chat, pavel_odintsov ● pavel@fastnetmon.com
  • 3. What is FastNetMon 3 ● DDoS detection Tool ● Amazon AWS VPC Flow Analytics ● Google Compute VPC Flow Analytics ● BGP Blackhole Automation Tool ● BGP Automation Tool ● Traffic Visibility Tool ● Network Automation Tool ● Network Traffic Engineering Tool
  • 6. FastNetMon: Detection Logic 6 Detection type: • Threshold based (based on host’s average traffic) THRESHOLD TYPES: • USING TOTAL TRAFFIC • USING TOTAL PPS RATE • PER PROTOCOL
  • 7. FastNetMon: Tra ic Reports in Grafana 7
  • 8. FastNetMon: More Tra ic Reports in Grafana 8
  • 10. Our Challenges with Metrics 10 ● Cardinality: medium sized network has ~1m IPv4 hosts with 32 metrics each ● Value range from 0 to UINT64_MAX: traffic in mbit / s or packet /s ● 1s precision ● Insert in very large batches ● Customers love top-k queries
  • 11. Graphite As Storage for Metrics, 2015 11 ● “.” as delimiter. IPs and prefixes look ugly: 10_1_2_3 , 10_1_2_3_24 ● Limited by performance of single CPU core ● Disk space hungry datastore format ● Whisper is simple and easy to implement ● Graphite is not well maintained and broken in recent Debian / Ubuntu
  • 12. Graphite Web: World Before Grafana 12
  • 15. InfluxDB As Storage for Metrics, 2016 15 ● Allows “.” in metric names ● Pretty compact datastore format ● Automated retention ● Native Grafana support ● Can use multiple CPU cores ● Easy installation, just single binary ● May need tens of minutes for loading with large database ● Uses lots of memory ● Top-k query is extremely slow ● Does not scale after 2m metrics per second ● Queries over few days of data are very slow
  • 16. ClickHouse As Storage for Metrics, 2022 16 ● Allows “.” in metric names ● Pretty compact datastore format ● Automated retention ● Plugin for Grafana ● Can use multiple CPU cores ● Requires SSE 4.2 :( ● Top-k query is pretty fast ● Supports unlimited cardinality ● Queries over few days of data can be finished in reasonable time ● Ability to store flows!
  • 17. Clickhouse vs InfluxDB 17 InfluxDB ClickHouse Cardinality < 1m of unique series Battle tested with 16m+ unique series Metrics / s < 1m per second 10m+ per second Top-k performance Extremely slow Good Data format Inefficient, text Very Efficient, binary Query syntax Counterintuitive Well known SQL Multi CPU support Limited Brilliant, scales linearly Grafana Native Plugin based
  • 19. ClickHouse as Flow Storage 19
  • 21. Can We Retrieve Flows? 21
  • 22. Can We Show Flows? 22
  • 23. FastNetMon: our community 23 ● Site: https://fastnetmon.com ● GitHub: https://github.com/pavel-odintsov/fastnetmon ● IRC: #fastnetmon at Libra Chat ● Telegram: https://t.me/fastnetmon ● Slack: http://bit.ly/2o5Idx8 ● LinkedIN: https://www.linkedin.com/company/fastnetmon/ ● Facebook: https://www.facebook.com/fastnetmon/ ● WhatsApp: https://chat.whatsapp.com/JjwF855pwZvIIasTUsZ7EO
  • 24. THANKS! ANY QUESTIONS? You can find me at: ⬥ @odintsov_pavel ⬥ pavel@fastnetmon.com ⬥ linkedin.com/in/podintsov 24