InfluxDB vs MongoDB

InfluxDB
InfluxDB

416
193
109
MongoDB
MongoDB

14.5K
2.9K
3.8K
Add tool

InfluxDB vs MongoDB: 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.; MongoDB: The database for giant ideas. 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.

InfluxDB and MongoDB can be categorized as "Databases" tools.

"Time-series data analysis" is the top reason why over 35 developers like InfluxDB, while over 788 developers mention "Document-oriented storage" as the leading cause for choosing MongoDB.

InfluxDB and MongoDB are both open source tools. It seems that InfluxDB with 16.6K GitHub stars and 2.37K forks on GitHub has more adoption than MongoDB with 16.2K GitHub stars and 4.08K GitHub forks.

According to the StackShare community, MongoDB has a broader approval, being mentioned in 2175 company stacks & 2143 developers stacks; compared to InfluxDB, which is listed in 116 company stacks and 38 developer stacks.

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 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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose InfluxDB?
Why do developers choose MongoDB?
What are the cons of using InfluxDB?
What are the cons of using MongoDB?
What companies use InfluxDB?
What companies use MongoDB?
What are some alternatives to InfluxDB and MongoDB?
TimescaleDB
TimescaleDB is the only open-source time-series database that natively supports full-SQL at scale, combining the power, reliability, and ease-of-use of a relational database with the scalability typically seen in NoSQL databases.
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.
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.
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).
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
See all alternatives
What tools integrate with InfluxDB?
What tools integrate with MongoDB?
    No integrations found
      No integrations found
      Decisions about InfluxDB and MongoDB
      No stack decisions found
      Interest over time
      Reviews of InfluxDB and MongoDB
      Review ofInfluxDBInfluxDB

      Influx doesn't currently natively support horizontal distribution. Hard to recommend it until they implement that.

      Avatar of YaronWittenstein
      Computer Science
      Review ofInfluxDBInfluxDB

      InfluxDB is a game changer

      How developers use InfluxDB and MongoDB
      Avatar of Tarun Singh
      Tarun Singh uses MongoDBMongoDB

      Used MongoDB as primary database. It holds trip data of NYC taxis for the year 2013. It is a huge dataset and it's primary feature is geo coordinates with pickup and drop off locations. Also used MongoDB's map reduce to process this large dataset for aggregation. This aggregated result was then used to show visualizations.

      Avatar of Trello
      Trello uses MongoDBMongoDB

      MongoDB fills our more traditional database needs. We knew we wanted Trello to be blisteringly fast. One of the coolest and most performance-obsessed teams we know is our next-door neighbor and sister company StackExchange. Talking to their dev lead David at lunch one day, I learned that even though they use SQL Server for data storage, they actually primarily store a lot of their data in a denormalized format for performance, and normalize only when they need to.

      Avatar of Foursquare
      Foursquare uses MongoDBMongoDB

      Nearly all of our backend storage is on MongoDB. This has also worked out pretty well. It's enabled us to scale up faster/easier than if we had rolled our own solution on top of PostgreSQL (which we were using previously). There have been a few roadbumps along the way, but the team at 10gen has been a big help with thing.

      Avatar of ShadowICT
      ShadowICT uses InfluxDBInfluxDB

      We use InfluxDB as a store for our data that gets fed into Grafana. It's ideal for this as it's a lightweight storage engine that can be modified on the fly by scripts without having to log into the server itself and manage tables. The HTTP API also makes it ideal for integrating with frontend services.

      Avatar of AngeloR
      AngeloR uses MongoDBMongoDB

      We are testing out MongoDB at the moment. Currently we are only using a small EC2 setup for a delayed job queue backed by agenda. If it works out well we might look to see where it could become a primary document storage engine for us.

      Avatar of Matt Welke
      Matt Welke uses MongoDBMongoDB

      Used for proofs of concept and personal projects with a document data model, especially with need for strong geographic queries. Often not chosen in long term apps due to chance data model can end up relational as needs develop.

      Avatar of Goyoboard
      Goyoboard uses InfluxDBInfluxDB

      To track time-series of course, utilizing few retention rules and continuous queries to keep time-series data fast and maintanable

      Avatar of sapslaj
      sapslaj uses InfluxDBInfluxDB

      InfluxDB ingests information from various sources (mostly Telegraf instances) into one place for monitoring purposes.

      Avatar of Chris Hartwig
      Chris Hartwig uses InfluxDBInfluxDB

      All our metrics go through InfluxDB, both applicative and system

      How much does InfluxDB cost?
      How much does MongoDB cost?
      Pricing unavailable