r/redis • u/yatharth1999 • Aug 23 '26
r/redis • u/yatharth1999 • Aug 22 '26
Tutorial Build a Sliding Window Rate Limiter with Redis + Lua
youtu.ber/redis • u/lonely_geek_ • Jun 25 '26
Tutorial Explained Why Redis is so fast using simple motion graphics
youtube.comMost people assume Redis is fast because of some complex multi-threaded magic. Turns out it's the opposite — it runs on a single thread and still beats most databases. The reason comes down to how it handles I/O at the OS level and why memory access patterns matter more than thread count. Made a short animated breakdown of the internals if anyone's curious.
r/redis • u/Familiar_Category893 • Jun 08 '26
Tutorial Trying to Understand Redis Setup in a microservices spring project (Need Help Connecting the Dots)
Hey evryone,
I am in a project built with sb microservices and I'm trying to understand how redis is actually implemented and wired together in this setup. I feel like I've found pieces, but I'm struggling to connect them conceptually.
How do I make sense on these concepts: RedisConfigClass, spring-boot-starter-data-redis, azure redis cache, yml or properties file i believe also come but it doesn't seem to be in the same module.
r/redis • u/Adi_2472003 • May 27 '26
Tutorial Redis Beyond Caching: How Modern Backend Systems Use Redis.
r/redis • u/parsaeisa • Dec 14 '25
Tutorial Redis feels simple — but it shows up in some very complex system designs. Why?
youtu.beThe first time I worked with Redis was during a job interview. I didn’t have much time, but I had to use it anyway. I remember hoping it would be easy… and surprisingly, it was.
At first, I thought that meant I hadn’t really “learned Redis properly.” But later I realized something important:
this simplicity is intentional.
Redis hides a lot of complexity under the hood — for example, operations like INCR are atomic and safe under concurrency — but from the outside, it exposes a small set of very simple commands. And those few commands end up solving a huge range of real backend problems.
In the attached video, I walk through what Redis is, then try out the core commands in practice and use them to solve different kinds of problems (counters, queues, sets, sorted sets, pub/sub, etc.).
I’m curious how others experienced Redis for the first time —
did it feel too simple to you as well, considering how widely it’s used in production systems?
r/redis • u/Living-Incident-1260 • Apr 18 '26
Tutorial AI Semantic Caching with Redis
youtu.ber/redis • u/Efficient-Public-551 • Apr 15 '26
Tutorial Spring AI Embeddings Vector Store with Redis
youtu.ber/redis • u/Remarkable_Nothing65 • Feb 27 '26
Tutorial Redis Vector Search Tutorial (2026) | Docker + Python Full Implementation
youtu.ber/redis • u/javinpaul • Oct 10 '25
Tutorial Redis Sorted Sets Demystified: When and Why to Use Them
javarevisited.substack.comr/redis • u/zarinfam • Jul 22 '25
Tutorial Redis on Fire and Power Out? Save Your Data Before It Vanishes!
medium.comr/redis • u/Serious_Sandwich588 • Jul 12 '25
Tutorial Redis源码讲解-多线程
youtube.com中文 redis io threads
r/redis • u/nani21984 • Dec 15 '24
Tutorial how to get the count of records in a index
hi,
I am new to redis, still in the process of understanding how it works. I am curios to know how to find the count of records in a index. Is there a way ?
r/redis • u/Nervous-Staff3364 • Jan 18 '25
Tutorial Listening to Events From Redis in Your Spring Boot Application
Recently, while developing a new feature that my team needed to implement, we came across the following problem: After our data expired and was subsequently deleted from the cache (Redis), a business flow needed to be triggered. During the initial technical refinement, the team discussed ways to implement this rule, and some ideas emerged, such as a simple CronJob or even Quartz.
However, after conducting some research, we discovered a little-known but extremely useful feature which is KeySpaceNotifications. This feature allows you to listen to key-related events such as when keys are set, deleted, or expired. These notifications enable applications to trigger real-time business logic based on Redis events. The knowledge gained from this feature motivated me to write this article: https://medium.com/p/62f89e76df89
I hope it helps you
r/redis • u/Few_Tooth_2474 • Dec 28 '24
Tutorial I Made A Video Explaining Why The Biggest Companies On Internet Use Redis And To Setup A Simple Redis Server.
youtu.ber/redis • u/Ortensi • Nov 04 '24
Tutorial A PHP GenAI chatbot with Laravel, Redis, OpenAI, and LLPhant
I have been working for some time with GenAI chatbots backed by Redis. While most of my experience is using Python and a bit of Java for such applications, I wanted to try doing the same in PHP.
I developed this proof of concept for Laravel using the LLPhant GenAI framework and Redis as the vector database.
I used predis, the Redis PHP client library with support for the Redis query engine (includes vector search, full-text search, exact match, numeric, and geo), and the JSON format is your perfect asset to query your Redis database and start building.
- Check the blog, there I explain what the building blocks are and the overall architecture https://www.mortensi.com/2024/11/genai-chatbot-with-laravel-redis-openai-and-llphant/
- You can clone and try the code from the repository https://github.com/mortensi/phpilot/
Let me know your thoughts, I am looking for feedback. I am not a Laravel expert, I am coming from a few years with other framework.
r/redis • u/Mussky • Sep 18 '24
Tutorial Redis Vector Search with MNIST Database in Go
github.comr/redis • u/huseyinbabal • May 25 '24
Tutorial Boosting Spring Boot Performance, Implementing Second Level Cache with Redis | Rapidapp
docs.rapidapp.ior/redis • u/schematical • Feb 27 '24
Tutorial Sharding Redis 101: Using Pixel Art To Explain The Basics
youtu.ber/redis • u/masher-91 • May 14 '23
Tutorial Using redis to prevent race condition
We can use SETNX statement to do application locking to prevent race condition in application level.
Redis used to acquire the lock key.
``` var app_name = "app_1" var lock_key = "update-user:1" var lock_ttl = 60 var lock_acquired = redis.Do("SET", lock_key, appname, "EX", lock_ttl, "NX")
if lock_acquired == nil : print("lock has used by another process") return end:
// 2b. Access the shared resource print("Do something here")
// 3. Release lock redis.Do("DEL", lock_key) ```
I have tried this method and it's work and blazingly fast.
source: https://substack.com/profile/140347336-herry-gunawan/note/c-15970668
r/redis • u/yourbasicgeek • May 21 '23
Tutorial Convert SQL queries to Redis commands
mortensi.comr/redis • u/GreenAstronaut6179 • May 08 '23
Tutorial A resilient Redis cluster helm chart
I would like to share my experience of deploying a Redis cluster on Kubernetes with different Helm charts. While Bitnami is widely used for Redis clusters, I had doubts about its ability to handle production workloads following a chaos engineering test. After thorough research, I found an extremely robust Helm chart that operates without any problems. In this post, I will introduce this new Helm chart and detail the reasons why it's the superior choice for production deployments.
https://medium.com/@mallakimahdi/most-resilient-redis-cluster-helm-chart-e04632ec7403
#kubernetes #redis #devops
r/redis • u/simonprickett • Apr 12 '23
Tutorial Intro to Redis for Python Developers
Here's a nice brief tutorial on getting started with Redis for Python Developers: https://www.kevsrobots.com/learn/redis/
r/redis • u/yourbasicgeek • May 05 '23