RedisJSON Performance Benchmark Compared with MongoDB and ElasticSearch
This article presents a detailed performance benchmark of RedisJSON (RediSearch) against MongoDB and ElasticSearch, showing RedisJSON’s superior throughput and latency across isolated writes, reads, and mixed workloads, supported by YCSB test results and extensive latency analysis.
Overview
Recent official reports demonstrate that RedisJSON (RedisSearch) dramatically outperforms other NoSQL databases. Isolated writes are 5.4× faster than MongoDB and over 200× faster than ElasticSearch; isolated reads are 12.7× faster than MongoDB and over 500× faster than ElasticSearch.
In mixed workloads, RedisJSON maintains stable search and read performance while ElasticSearch degrades.
RedisJSON delivers roughly 50× higher operations/second than MongoDB and 7× higher than ElasticSearch, with latency 90× lower than MongoDB and 23.7× lower than ElasticSearch.
Query Engine
The development of reresearch and RedisJSON emphasizes performance, with version 2.2 improving load and query speed by 1.7× over 2.0, along with better throughput and reduced data‑load latency.
Loading Optimization
Benchmark graphs from the New York City taxi dataset illustrate consistent performance gains across new reresearch releases.
Full‑Text Search Optimization
Indexing 5.9 million Wikipedia abstracts and executing full‑text queries shows substantial improvements in write, read, and search latency when moving from v2.0 to v2.2.
Comparison with Other Frameworks
RedisJSON is compared against MongoDB v5.0.3 and ElasticSearch 7.15 using the YCSB benchmark on identical AWS m5d.8xlarge VM clusters (one client + three database servers).
MongoDB 5.0.3 : three‑member replica set with text index.
ElasticSearch 7.15 : 15 shards, query cache enabled, RAID‑0 NVMe SSDs.
RedisJSON* : RediSearch 2.2 + RedisJSON 2.0 on a 27‑shard Redis Cluster v6.2.6.
100% Write Benchmark
RedisJSON* ingests data 8.8× faster than ElasticSearch and 1.8× faster than MongoDB, maintaining sub‑millisecond latency with 99% of requests completing under 1.5 ms.
100% Read Benchmark
RedisJSON outperforms ElasticSearch by 15.8× and MongoDB by 2.8× in read throughput, keeping latency in the sub‑millisecond range.
Mixed Read/Write/Search Benchmark
In a realistic 65% search / 35% read workload, RedisJSON’s throughput remains stable even as write ratios increase, whereas ElasticSearch’s throughput drops dramatically.
Comprehensive Latency Analysis
Latency percentiles show RedisJSON* consistently below 2.61 ms (p99) compared to ElasticSearch’s 10.28 ms and MongoDB’s 5.01 ms. Under sustained loads of 250 ops/sec and 6000 ops/sec, RedisJSON maintains lower latency and higher stability.
Top Architect
Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.