Need advice about which tool to choose?Ask the StackShare community!

InfluxDB

874
904
+ 1
163
StatsD

256
257
+ 1
31
Add tool

InfluxDB vs StatsD: What are the differences?

InfluxDB: An open-source distributed time series database with no external dependencies. InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.; StatsD: Simple daemon for easy stats aggregation. StatsD is a front-end proxy for the Graphite/Carbon metrics server, originally written by Etsy's Erik Kastner. StatsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

InfluxDB can be classified as a tool in the "Databases" category, while StatsD is grouped under "Monitoring Tools".

Some of the features offered by InfluxDB are:

  • Time-Centric Functions
  • Scalable Metrics
  • Events

On the other hand, StatsD provides the following key features:

  • buckets: Each stat is in its own "bucket". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite (periods make folders, etc)
  • values: Each stat will have a value. How it is interpreted depends on modifiers. In general values should be integer.
  • flush: After the flush interval timeout (defined by config.flushInterval, default 10 seconds), stats are aggregated and sent to an upstream backend service.

"Time-series data analysis" is the top reason why over 36 developers like InfluxDB, while over 6 developers mention "Single responsibility" as the leading cause for choosing StatsD.

InfluxDB and StatsD are both open source tools. InfluxDB with 16.7K GitHub stars and 2.39K forks on GitHub appears to be more popular than StatsD with 14.2K GitHub stars and 1.83K GitHub forks.

trivago, Redox Engine, and Thumbtack are some of the popular companies that use InfluxDB, whereas StatsD is used by Lyft, Shopify, and OpenGov. InfluxDB has a broader approval, being mentioned in 120 company stacks & 39 developers stacks; compared to StatsD, which is listed in 72 company stacks and 16 developer stacks.

Advice on InfluxDB and StatsD
Needs advice
on
TimescaleDBTimescaleDBMongoDBMongoDB
and
InfluxDBInfluxDB

We are building an IOT service with heavy write throughput and fewer reads (we need downsampling records). We prefer to have good reliability when comes to data and prefer to have data retention based on policies.

So, we are looking for what is the best underlying DB for ingesting a lot of data and do queries easily

See more
Replies (3)
Yaron Lavi
Recommends
PostgreSQLPostgreSQL

We had a similar challenge. We started with DynamoDB, Timescale, and even InfluxDB and Mongo - to eventually settle with PostgreSQL. Assuming the inbound data pipeline in queued (for example, Kinesis/Kafka -> S3 -> and some Lambda functions), PostgreSQL gave us a We had a similar challenge. We started with DynamoDB, Timescale and even InfluxDB and Mongo - to eventually settle with PostgreSQL. Assuming the inbound data pipeline in queued (for example, Kinesis/Kafka -> S3 -> and some Lambda functions), PostgreSQL gave us better performance by far.

See more
Recommends
DruidDruid

Druid is amazing for this use case and is a cloud-native solution that can be deployed on any cloud infrastructure or on Kubernetes. - Easy to scale horizontally - Column Oriented Database - SQL to query data - Streaming and Batch Ingestion - Native search indexes It has feature to work as TimeSeriesDB, Datawarehouse, and has Time-optimized partitioning.

See more
Ankit Malik
Software Developer at CloudCover · | 3 upvotes · 85.9K views
Recommends
Google BigQueryGoogle BigQuery

if you want to find a serverless solution with capability of a lot of storage and SQL kind of capability then google bigquery is the best solution for that.

See more
Decisions about InfluxDB and StatsD
Benoit Larroque
Principal Engineer at Sqreen · | 2 upvotes · 58K views

I chose TimescaleDB because to be the backend system of our production monitoring system. We needed to be able to keep track of multiple high cardinality dimensions.

The drawbacks of this decision are our monitoring system is a bit more ad hoc than it used to (New Relic Insights)

We are combining this with Grafana for display and Telegraf for data collection

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of InfluxDB
Pros of StatsD
  • 51
    Time-series data analysis
  • 28
    Easy setup, no dependencies
  • 24
    Fast, scalable & open source
  • 21
    Open source
  • 18
    Real-time analytics
  • 6
    Continuous Query support
  • 5
    Easy Query Language
  • 4
    HTTP API
  • 4
    Out-of-the-box, automatic Retention Policy
  • 1
    Offers Enterprise version
  • 1
    Free Open Source version
  • 9
    Open source
  • 7
    Single responsibility
  • 5
    Efficient wire format
  • 3
    Loads of integrations
  • 3
    Handles aggregation
  • 1
    Many implementations
  • 1
    Scales well
  • 1
    Simple to use
  • 1
    NodeJS

Sign up to add or upvote prosMake informed product decisions

Cons of InfluxDB
Cons of StatsD
  • 4
    Instability
  • 1
    HA or Clustering is only in paid version
  • 1
    No authentication; cannot be used over Internet

Sign up to add or upvote consMake informed product decisions

What is InfluxDB?

InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.

What is StatsD?

It is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

Need advice about which tool to choose?Ask the StackShare community!

What companies use InfluxDB?
What companies use StatsD?
See which teams inside your own company are using InfluxDB or StatsD.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with InfluxDB?
What tools integrate with StatsD?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

JavaScriptGitHubNode.js+29
15
11532
GitHubPythonReact+42
47
39415
GitHubSlackNGINX+15
28
20112
JavaScriptGitHubPython+42
52
19917
What are some alternatives to InfluxDB and StatsD?
TimescaleDB
TimescaleDB: An open-source database built for analyzing time-series data with the power and convenience of SQL — on premise, at the edge, or in the cloud.
Redis
Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Elasticsearch
Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
Prometheus
Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
See all alternatives