SlideShare a Scribd company logo
How Bevi Uses InfluxDB and Grafana to
Improve Predictive Maintenance and
Reduce Carbon Footprint
Spencer Gagnon
Lead Software Engineer
August 2023
Bevi is making the beverage
industry sustainable
©2023 Bevi Confidential
The Beverage Industry Today
• >100 billion plastic bottles are
produced each year
• Less than 1/3rd
of bottles are
recycled
• Nearly as much energy is used
to transport beverage bottles
as to produce them
©2023 Bevi Confidential
Most bottled beverages are
97-100% filtered tap water
©2023 Bevi Confidential
Centralized Beverage Production
Beverage Ingredients
Packaging Materials
Tap Water
Bottling Plant Wholesale Facility Retail Location
Cost $0.15 $0.20 $0.55 $1.20
©2023 Bevi Confidential
Distributed Beverage Production
Beverage Ingredients
Bevi
Tap Water
Cost $0.15 $0.20
Residential Commercial
Water Only
Sparkling & flavored
water
?
First Target Market: Offices
©2023 Bevi Confidential
Product Line-Up
Machines
Up to 8 flavors &
enhancements, multiple
carbonation levels,
multiple temperatures
Flavors &
Enhancements
14 natural flavors
3 natural enhancements
Software
Cloud logistics platform
Touchscreen app
Machine sensors &
controls
Software powers the
Bevi experience
● Inventory tracking and
forecasting of
concentrates, CO2, and
filters to enable just in
time service
● Remote troubleshooting
capabilities
● Touchless dispensing
and individual user
tracking via web app
©2023 Bevi Confidential
Benefits to Commercial Customers
Time Savings
No one has to spend time stocking
refrigerators with bottles and cans.
Personalization
We make it fun to stay hydrated by letting
users mix & match high-quality
ingredients.
Environmental Responsibility
We help customers avoid thousands of
single-use bottles and cans.
Affordability
We cut customers’ beverage budgets by
more than 50%.
©2023 Bevi Confidential
Hospitality
Technology
Pharma / Biotech
Property Management Financial Services
Some of our 5,000+ Customers
Healthcare
A Brief History
2014: Initial InfluxDB usage - version 0.8
2017: First InfluxDB x Bevi webinar (6 years ago!)
2021 Q1: Upgraded to InfluxDB 2.0 OSS
2021 Q4: Began batching InfluxDB persistence w/ Redpanda + Telegraf
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint
By The Numbers
Bevi Machines send
Event POST requests: ~150-200/second
Events: ~2500/second
All of which flow through Redpanda + Telegraf before ending up in
InfluxDB
19
Debugging with InfluxDB
20
Debugging with InfluxDB
Challenges
Problem
Bevi Events are truly untyped “schemaless” key value pairs. New fields are frequently added in the
Dispense App
InfluxDB requires types (number, boolean) to be declared in advance for query aggregation and
visualization via grafana, and will fail to persist wrong-type columns in the same shard
Solution
Schema for all measurements/fields is defined by our backend server, non-matching fields are
persisted in _overflow_data field as raw key/value pairs
Prevents accidental persisting of improper types, enforces well defined schema for queries
Challenges
Problem
InfluxDB 2.0 does not handle high throughput small batch writes well
Thousands of Bevi machines sending events regularly (around 200 requests/second with only 10 rows per request)
and persisting to InfluxDB synchronously was causing performance issues, thread overuse, and unexpected
crashes
Solution
Publish events to Redpanda in sync with Bevi requests, Telegraf subscribes and batches events from all Bevi
machines
Resulted in reduced load on Influx, reduced thread usage on the Bevi backend, faster response times for Bevis,
and no more crashes
Increased trust and stronger relationship with the InfluxDB support team
Looking Forward
No Complaints!
Bevi + InfluxDB 2.0 have been running without issue since late 2021
Potential Improvements
InfluxDB 3.0 and Managed options
Data lifecycle configuration:
Currently storing all event data for all Bevis since 2014 in InfluxDB, most is unused and will
never be used
Q + A

More Related Content

PPT
Rain water harvesting
PPTX
Defrag 2014 - Hybrid clouds with containers
PDF
Kafka used at scale to deliver real-time notifications
PDF
Sapphire 2013 Presentation - Streamlining SAP Transactions for Barcode Scanne...
PPTX
Innoplanner Product Showcase Slides
PDF
Hive et Hadoop Usage chez Square
PDF
HostBridge CICS web services demo July 2020
PPTX
JLove conference 2020 - Reacting to an Event-Driven World
Rain water harvesting
Defrag 2014 - Hybrid clouds with containers
Kafka used at scale to deliver real-time notifications
Sapphire 2013 Presentation - Streamlining SAP Transactions for Barcode Scanne...
Innoplanner Product Showcase Slides
Hive et Hadoop Usage chez Square
HostBridge CICS web services demo July 2020
JLove conference 2020 - Reacting to an Event-Driven World

Similar to How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint (20)

PDF
Scaling Web Applications with Background
PDF
Increasing velocity via serless semantics
PPT
Best practices for upgrading vb 6.0 projects to vb.net
PDF
Akka Streams - An Adobe data-intensive story
PDF
Reacting to an Event-Driven World (Kate Stanley & Grace Jansen, IBM) Kafka Su...
PDF
Jon Arne Sæterås - Give Responsive Design a mobile performance boost
PPTX
Green IO Conference at apidays Paris 2024 - We've Lost 10% of Leboncoin's Tra...
PPTX
Metrics-Driven DevOps: Delivering Software Like the Unicorn
PDF
Meet BibeCoffee!
PPTX
Thinking Serverless (AWS re:Invent 2019 chalk talk SVS213). Solutions slides.
PDF
DevOps and Cloud Native
PDF
Refacoring vs Rewriting WixStores
PDF
Kuoll pitch-deck
PDF
Design Microservice Architectures the Right Way
PPTX
VJUG - Reacting to an event driven world
PPTX
AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...
PPTX
Organise dop’s in the building chain
PDF
Building Event-Driven Microservices using Kafka Streams (Stathis Souris, Thou...
PDF
TAUS Post-editing webinar. Spanish-to-English Module
PDF
Scaling Web Applications with Background
Increasing velocity via serless semantics
Best practices for upgrading vb 6.0 projects to vb.net
Akka Streams - An Adobe data-intensive story
Reacting to an Event-Driven World (Kate Stanley & Grace Jansen, IBM) Kafka Su...
Jon Arne Sæterås - Give Responsive Design a mobile performance boost
Green IO Conference at apidays Paris 2024 - We've Lost 10% of Leboncoin's Tra...
Metrics-Driven DevOps: Delivering Software Like the Unicorn
Meet BibeCoffee!
Thinking Serverless (AWS re:Invent 2019 chalk talk SVS213). Solutions slides.
DevOps and Cloud Native
Refacoring vs Rewriting WixStores
Kuoll pitch-deck
Design Microservice Architectures the Right Way
VJUG - Reacting to an event driven world
AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...
Organise dop’s in the building chain
Building Event-Driven Microservices using Kafka Streams (Stathis Souris, Thou...
TAUS Post-editing webinar. Spanish-to-English Module
Ad

More from InfluxData (20)

PPTX
Announcing InfluxDB Clustered
PDF
Best Practices for Leveraging the Apache Arrow Ecosystem
PDF
Power Your Predictive Analytics with InfluxDB
PDF
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
PDF
Build an Edge-to-Cloud Solution with the MING Stack
PDF
Meet the Founders: An Open Discussion About Rewriting Using Rust
PDF
Introducing InfluxDB Cloud Dedicated
PDF
Gain Better Observability with OpenTelemetry and InfluxDB
PPTX
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
PDF
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
PPTX
Introducing InfluxDB’s New Time Series Database Storage Engine
PDF
Start Automating InfluxDB Deployments at the Edge with balena
PDF
Understanding InfluxDB’s New Storage Engine
PDF
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
PPTX
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
PDF
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
PDF
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Announcing InfluxDB Clustered
Best Practices for Leveraging the Apache Arrow Ecosystem
Power Your Predictive Analytics with InfluxDB
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
Build an Edge-to-Cloud Solution with the MING Stack
Meet the Founders: An Open Discussion About Rewriting Using Rust
Introducing InfluxDB Cloud Dedicated
Gain Better Observability with OpenTelemetry and InfluxDB
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
Introducing InfluxDB’s New Time Series Database Storage Engine
Start Automating InfluxDB Deployments at the Edge with balena
Understanding InfluxDB’s New Storage Engine
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Ad

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Modernizing your data center with Dell and AMD
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Dropbox Q2 2025 Financial Results & Investor Presentation
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
MYSQL Presentation for SQL database connectivity
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Monthly Chronicles - July 2025
Modernizing your data center with Dell and AMD

How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint

  • 1. How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Reduce Carbon Footprint Spencer Gagnon Lead Software Engineer August 2023
  • 2. Bevi is making the beverage industry sustainable
  • 3. ©2023 Bevi Confidential The Beverage Industry Today • >100 billion plastic bottles are produced each year • Less than 1/3rd of bottles are recycled • Nearly as much energy is used to transport beverage bottles as to produce them
  • 4. ©2023 Bevi Confidential Most bottled beverages are 97-100% filtered tap water
  • 5. ©2023 Bevi Confidential Centralized Beverage Production Beverage Ingredients Packaging Materials Tap Water Bottling Plant Wholesale Facility Retail Location Cost $0.15 $0.20 $0.55 $1.20
  • 6. ©2023 Bevi Confidential Distributed Beverage Production Beverage Ingredients Bevi Tap Water Cost $0.15 $0.20
  • 7. Residential Commercial Water Only Sparkling & flavored water ? First Target Market: Offices
  • 8. ©2023 Bevi Confidential Product Line-Up Machines Up to 8 flavors & enhancements, multiple carbonation levels, multiple temperatures Flavors & Enhancements 14 natural flavors 3 natural enhancements Software Cloud logistics platform Touchscreen app Machine sensors & controls
  • 9. Software powers the Bevi experience ● Inventory tracking and forecasting of concentrates, CO2, and filters to enable just in time service ● Remote troubleshooting capabilities ● Touchless dispensing and individual user tracking via web app
  • 10. ©2023 Bevi Confidential Benefits to Commercial Customers Time Savings No one has to spend time stocking refrigerators with bottles and cans. Personalization We make it fun to stay hydrated by letting users mix & match high-quality ingredients. Environmental Responsibility We help customers avoid thousands of single-use bottles and cans. Affordability We cut customers’ beverage budgets by more than 50%.
  • 11. ©2023 Bevi Confidential Hospitality Technology Pharma / Biotech Property Management Financial Services Some of our 5,000+ Customers Healthcare
  • 12. A Brief History 2014: Initial InfluxDB usage - version 0.8 2017: First InfluxDB x Bevi webinar (6 years ago!) 2021 Q1: Upgraded to InfluxDB 2.0 OSS 2021 Q4: Began batching InfluxDB persistence w/ Redpanda + Telegraf
  • 18. By The Numbers Bevi Machines send Event POST requests: ~150-200/second Events: ~2500/second All of which flow through Redpanda + Telegraf before ending up in InfluxDB
  • 21. Challenges Problem Bevi Events are truly untyped “schemaless” key value pairs. New fields are frequently added in the Dispense App InfluxDB requires types (number, boolean) to be declared in advance for query aggregation and visualization via grafana, and will fail to persist wrong-type columns in the same shard Solution Schema for all measurements/fields is defined by our backend server, non-matching fields are persisted in _overflow_data field as raw key/value pairs Prevents accidental persisting of improper types, enforces well defined schema for queries
  • 22. Challenges Problem InfluxDB 2.0 does not handle high throughput small batch writes well Thousands of Bevi machines sending events regularly (around 200 requests/second with only 10 rows per request) and persisting to InfluxDB synchronously was causing performance issues, thread overuse, and unexpected crashes Solution Publish events to Redpanda in sync with Bevi requests, Telegraf subscribes and batches events from all Bevi machines Resulted in reduced load on Influx, reduced thread usage on the Bevi backend, faster response times for Bevis, and no more crashes Increased trust and stronger relationship with the InfluxDB support team
  • 23. Looking Forward No Complaints! Bevi + InfluxDB 2.0 have been running without issue since late 2021 Potential Improvements InfluxDB 3.0 and Managed options Data lifecycle configuration: Currently storing all event data for all Bevis since 2014 in InfluxDB, most is unused and will never be used
  • 24. Q + A