MongoDB was designed for functionality rather than speed at scale. Redis Enterprise is often used to store copies of the replies to costly queries from MongoDB to reduce latency and significantly increase throughput. Redis Enterprise enables MongoDB to be always available and easily scale.
Caching user session data is integral to building scalable and responsive applications. Because every user interaction requires access to the session’s data, keeping that data in Redis Enterprise increases the response time to the application user. Redis Enterprise enables real-time response at scale to compliment MongoDB’s flexible schema and development speed.
Using Redis Enterprise with MongoDB as the primary data store can address data ingestion challenges in the Internet of Things (IoT), e-commerce, retail, and financial services. To manage extreme data velocity and gain insights faster with MongoDB, you need a data ingest buffer, such as Redis Enterprise, to streamline the input process.
We previously used MongoDB as the document store for our security service, but migrated to RedisJSON, improving slow writes and high read latencies by up to 4 times; in addition to reducing the number of platforms we use in development. We are in the process of migrating our primary database for Electronic Medical Records from MySQL 8 to Redis Enterprise Cloud with RediSearch and RedisJSON to enable highly available, real-time access to medical data and records.
Director of Technology at Global Inovasi Cahaya
At HackerRank we use Redis Pub/Sub as a pipeline to help all developers practicing on HackerRank to see the results of their code submission in near real-time. We use RedisJSON heavily in this pipeline to detect the status of all submissions and inform our users so they can better compete in our programming challenges. This has worked very well for us for several years without any issues at an extremely large scale to meet our need to process thousands of code submissions per minute.
Engineering Manager, HackerRank