Redis

Redis for AI delivers ultra-low latency for AI workloads with unique differentiators like built-in semantic caching, real-time vector search, feature store, and model serving—all unified in a single, scalable, in-memory platform.

Contact a Red Hatter
Overview

Redis for AI

Redis is the world’s fastest data platform. From its open source origins in 2011 to becoming the #1 cited brand for caching solutions, Redis has helped more than 10,000 customers build, scale, and deploy the apps our world runs on. With cloud and on-prem databases for caching, GenAI, and more, Redis helps digital businesses set a new standard for app speed.

Located in San Francisco, Austin, London, and Tel Aviv, Redis is internationally recognized as the leader in building fast apps fast. Learn more at redis.io. 

By combining semantic routing and caching, we’ve saved time and money while boosting customer satisfaction. This partnership has not only enhanced our performance and scalability, but also solidified our position as a leader in customer service innovation.

Harsh TomarData Scientist, Assurion
SUCCESS STORY

Asurion: Powering world-class customer service with AI-driven Redis solutions on AWS

Asurion turned to Redis on AWS to reimagine its customer service infrastructure, using an event-driven message broker, a real-time caching mechanism for inventory updates, and a session manager.

Get the story

Benefits to working with Redis

High Performance

Redis delivers lightning-fast data access, ensuring your applications run smoothly and efficiently, even under heavy loads.

Scalability

Easily scale your Redis deployment to handle growing data and traffic demands, ensuring your application remains responsive and reliable.

Data Persistence

Redis supports multiple persistence options, ensuring your data is safe and recoverable, even in the event of system failures.

Flexible Data Structures

Redis offers a variety of data structures like strings, hashes, lists, sets, and more, providing flexibility to meet diverse application needs.

Interested in working with this partner?

Contact a Red Hatter
OfferingsResources
  • Redis for AI Explore how Redis enhances AI and machine learning with high-performance, in-memory data structures and modules for real-time processing and analytics.
  • Redis.io Official Redis documentation, providing comprehensive guides, tutorials, and API references to help you get the most out of Redis.
  • Try Redis Free Experience Redis without setup. Try Redis Cloud for free with a managed, scalable, and secure database service. Get started now.
  • Redis Docs Comprehensive guide to Redis, covering installation, configuration, commands, data types, and advanced features for building high-performance applications.
FAQs

How is Redis different from other key-value stores?

Redis has a different evolution path in the key-value DBs where values can contain more complex data types, with atomic operations defined on those data types. Redis data types are closely related to fundamental data structures and are exposed to the programmer as such, without additional abstraction layers. Redis is an in-memory but persistent on disk database, so it represents a different trade off where very high write and read speed is achieved with the limitation of data sets that can't be larger than memory. Another advantage of in-memory databases is that the memory representation of complex data structures is much simpler to manipulate compared to the same data structures on disk, so Redis can do a lot with little internal complexity. At the same time the two on-disk storage formats (RDB and AOF) don't need to be suitable for random access, so they are compact and always generated in an append-only fashion (Even the AOF log rotation is an append-only operation, since the new version is generated from the copy of data in memory). However this design also involves different challenges compared to traditional on-disk stores. Being the main data representation on memory, Redis operations must be carefully handled to make sure there is always an updated version of the data set on disk.

What's the Redis memory footprint?

To give you a few examples (all obtained using 64-bit instances): An empty instance uses ~ 3MB of memory; 1 Million small Keys -> String Value pairs use ~ 85MB of memory; 1 Million Keys -> Hash value, representing an object with 5 fields, use ~ 160 MB of memory. Testing your use case is trivial. Use the redis-benchmark utility to generate random data sets then check the space used with the INFO memory command. 64-bit systems will use considerably more memory than 32-bit systems to store the same keys, especially if the keys and values are small. This is because pointers take 8 bytes in 64-bit systems. But of course the advantage is that you can have a lot of memory in 64-bit systems, so in order to run large Redis servers a 64-bit system is more or less required. The alternative is sharding.

Can you use Redis with a disk-based database?

Yes, a common design pattern involves taking very write-heavy small data in Redis (and data you need the Redis data structures to model your problem in an efficient way), and big blobs of data into an SQL or eventually consistent on-disk database. Similarly sometimes Redis is used in order to take in memory another copy of a subset of the same data stored in the on-disk database. This may look similar to caching, but actually is a more advanced model since normally the Redis dataset is updated together with the on-disk DB dataset, and not refreshed on cache misses.

Why does Redis keep its entire dataset in memory?

In the past the Redis developers experimented with Virtual Memory and other systems in order to allow larger than RAM datasets, but after all we are very happy if we can do one thing well: data served from memory, disk used for storage. So for now there are no plans to create an on disk backend for Redis. Most of what Redis is, after all, a direct result of its current design. If your real problem is not the total RAM needed, but the fact that you need to split your data set into multiple Redis instances, please read the partitioning page in this documentation for more info. Redis Ltd., the company sponsoring Redis development, has developed a "Redis on Flash" solution that uses a mixed RAM/flash approach for larger data sets with a biased access pattern. You may check their offering for more information, however this feature is not part of the Redis Community Edition code base.

Where does the name "Redis" come from?

Redis is an acronym that stands for Remote Dictionary Server.
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.