본문 바로가기
  • Home

A Comparative Performance Study of MongoDB and InfluxDB for Large-Scale Time-Series Data Migration

  • Journal of Internet of Things and Convergence
  • Abbr : JKIOTS
  • 2025, 11(6), 2
  • Publisher : The Korea Internet of Things Society
  • Research Area : Engineering > Computer Science > Internet Information Processing
  • Received : October 12, 2025
  • Accepted : November 13, 2025
  • Published : December 31, 2025

Youngmi Baek 1 Park Jung Kyu 2

1창신대학교
2대진대학교

Accredited

ABSTRACT

This study compares the write throughput and latency characteristics of MongoDB and InfluxDB in large-scale time-series data environments. Modern IoT and log analytics systems increasingly require processing millions of events per second, which traditional relational databases struggle to support efficiently. To reproduce such high-load environments accurately, we implemented a load generator using the Go programming language, which provides lightweight concurrency and efficient parallel execution, enabling stable generation of hundreds of thousands to millions of write operations per second. Four scenarios were evaluated under identical conditions, including MongoDB’s low-durability Write Concern w:1 (acknowledgment only from the primary node) and the stronger durability setting w:majority (acknowledgment from a majority of replica-set members). Experimental results show that InfluxDB achieved 1.54M TPS with a p95 latency of 243 ms, approximately three times higher throughput than MongoDB. MongoDB exhibited increased latency as Write Concern levels strengthened due to replication acknowledgment overhead. These findings highlight the architectural advantages of InfluxDB for high-throughput time-series workloads and offer practical guidance for database selection and tuning in large-scale log and IoT systems.

Citation status

* References for papers published after 2024 are currently being built.