dot Stop testing, start deploying your AI apps. See how with MIT Technology Review’s latest research.

Download now

Redis Enterprise and MongoDB

Achieve Sub-millisecond Performance on MongoDB with Redis Enterprise

Super powers for your real-time applications

Redis Enterprise is an in-memory real-time data platform that provides sub-millisecond performance by holding the working data set in DRAM instead of slower storage, thereby dramatically improving response times. Developers use Redis Enterprise to cache their MongoDB queries to meet customer expectations for a real-time response. MongoDB provides sub-millisecond performance with Redis Enterprise.

How Redis Enterprise accelerates MongoDB with enterprise caching

Cache-aside (Lazy-loading) for MongoDB

If the data is not found in Redis Enterprise, the application gets the data from MongoDB and puts it into the Redis Enterprise for subsequent reads. Data is loaded to Redis Enterprise only when necessary. Read-heavy applications can significantly benefit from implementing a cache-aside approach.

Redis Enterprise accelerates MongoDB

Query optimization

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.

Session management

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.

Data ingestion

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. 

Redis Enterprise as the primary database for sub-millisecond JSON performance

There are situations when you need better performance from your document storage than the levels MongoDB can provide you with. This is when you should use Redis Enterprise as opposed to MongoDB. Redis Enterprise natively supports high-performance JSON access and manipulation, enabling you to build modern real-time applications for gaming, financial services, e-commerce, and other areas using a hierarchical JSON document model. For the use cases where it is required, RedisJSON offers superior performance compared to MongoDB.

Use cases

Customer 360

With RedisJSON, you can search, find, and store critical customer information for a product/service, profile, and history to match specific profiles and behaviors for better support.

Claims processing

Fast Healthcare Interoperability Resources (FHIR) is the standard for data formats in exchanging electronic health records and natively supports the JSON format. Power your digital claims processing with RedisJSON.

Products catalog

RedisJSON allows you to manage and search thousands of products with different SKUs and attributes.

Related resources

Redis

RedisJSON: Performance Benchmarking

RedisJSON* (powered by RediSearch) is now available as a public preview. See its performance benchmarks against MongoDB and ElasticSearch.

Learn More

caching-at-scale-redis-ebook-card

Caching at Scale with Redis 

What is caching, why caching is needed, and how to optimize application performance with Redis caching at scale.

Read Here