# Introducing Protector - a Circuit Breaker for Time Series Databases

DevFeed: [Introducing Protector - a Circuit Breaker for Time Series Databases](<https://devfeed.tech/articles/introducing-protector-a-circuit-breaker-for-time-series-databases-27941.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2016-02-23-protector/>)

Author: Matthias Endler

Published: 2016-02-23T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>), [realtime](<https://devfeed.tech/topics/realtime.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [browser](<https://devfeed.tech/tags/browser.md>), [data](<https://devfeed.tech/tags/data.md>), [databases](<https://devfeed.tech/tags/databases.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [metric](<https://devfeed.tech/tags/metric.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [security](<https://devfeed.tech/tags/security.md>), [sql](<https://devfeed.tech/tags/sql.md>), [time-series](<https://devfeed.tech/tags/time-series.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

trivago describes Protector, an open-source circuit breaker for time series databases. The tool blocks potentially expensive InfluxDB queries and limits CPU and memory usage to help prevent database, browser, and metrics-backend overload.

## Source excerpt

At trivago we store a subset of our realtime metric data in InfluxDB and we are quite impressed by the load it can handle. Despite all the joy, we had to learn some lessons the hard way. It is pretty easy to overload the database or the web browser by executing queries that return too many datapoints.