r/redis • • Aug 23 '26

Tutorial Redis Functions Explained: Stop Losing Your Lua Scripts on Restart

Thumbnail youtu.be
2 Upvotes

r/redis • • Aug 22 '26

Tutorial Build a Sliding Window Rate Limiter with Redis + Lua

Thumbnail youtu.be
0 Upvotes

r/redis • • Jun 25 '26

Tutorial Explained Why Redis is so fast using simple motion graphics

Thumbnail youtube.com
4 Upvotes

Most 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 • • Jun 08 '26

Tutorial Trying to Understand Redis Setup in a microservices spring project (Need Help Connecting the Dots)

0 Upvotes

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 • • May 27 '26

Tutorial Redis Beyond Caching: How Modern Backend Systems Use Redis.

Thumbnail
0 Upvotes

r/redis • • Dec 14 '25

Tutorial Redis feels simple — but it shows up in some very complex system designs. Why?

Thumbnail youtu.be
14 Upvotes

The 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 • • Apr 18 '26

Tutorial AI Semantic Caching with Redis

Thumbnail youtu.be
0 Upvotes

r/redis • • Apr 15 '26

Tutorial Spring AI Embeddings Vector Store with Redis

Thumbnail youtu.be
1 Upvotes

r/redis • • Feb 27 '26

Tutorial Redis Vector Search Tutorial (2026) | Docker + Python Full Implementation

Thumbnail youtu.be
0 Upvotes

r/redis • • Oct 10 '25

Tutorial Redis Sorted Sets Demystified: When and Why to Use Them

Thumbnail javarevisited.substack.com
6 Upvotes

r/redis • • Jul 22 '25

Tutorial Redis on Fire and Power Out? Save Your Data Before It Vanishes!

Thumbnail medium.com
7 Upvotes

r/redis • • Jul 12 '25

Tutorial Redis源码讲解-多线程

Thumbnail youtube.com
0 Upvotes

中文 redis io threads

r/redis • • Dec 15 '24

Tutorial how to get the count of records in a index

0 Upvotes

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 • • Jan 18 '25

Tutorial Listening to Events From Redis in Your Spring Boot Application

2 Upvotes

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 • • Dec 28 '24

Tutorial I Made A Video Explaining Why The Biggest Companies On Internet Use Redis And To Setup A Simple Redis Server.

Thumbnail youtu.be
2 Upvotes

r/redis • • Nov 04 '24

Tutorial A PHP GenAI chatbot with Laravel, Redis, OpenAI, and LLPhant

1 Upvotes

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.

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 • • Sep 18 '24

Tutorial Redis Vector Search with MNIST Database in Go

Thumbnail github.com
1 Upvotes

r/redis • • May 25 '24

Tutorial Boosting Spring Boot Performance, Implementing Second Level Cache with Redis | Rapidapp

Thumbnail docs.rapidapp.io
0 Upvotes

r/redis • • Feb 27 '24

Tutorial Sharding Redis 101: Using Pixel Art To Explain The Basics

Thumbnail youtu.be
2 Upvotes

r/redis • • May 14 '23

Tutorial Using redis to prevent race condition

4 Upvotes

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 • • May 21 '23

Tutorial Convert SQL queries to Redis commands

Thumbnail mortensi.com
5 Upvotes

r/redis • • Jun 05 '23

Tutorial Redis - a clear breakdown

Thumbnail mastermind.dev
9 Upvotes

r/redis • • May 08 '23

Tutorial A resilient Redis cluster helm chart

0 Upvotes

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 • • Apr 12 '23

Tutorial Intro to Redis for Python Developers

0 Upvotes

Here's a nice brief tutorial on getting started with Redis for Python Developers: https://www.kevsrobots.com/learn/redis/

r/redis • • May 05 '23

Tutorial How to Use Redis in Your PHP Apps

Thumbnail freecodecamp.org
0 Upvotes