In a recent episode of the Blue Blazes Podcast, host Jonathan "J." Tower sits down with Redis' Guy Royse to break down why the company is more than just a blazing-fast cache - it’s a powerhouse for modern applications. From classic data structures to advanced use cases like session storage, PubSub messaging, and event streaming, they explore how Redis simplifies architecture while boosting performance. Plus, they dive into Redis’ evolving role as a document and vector database, alongside best practices for clustering, replication, and memory management. If you're working with high-performance apps, this episode is a must-listen! 🎧https://lnkd.in/e_uVRCQd
Redis: more than a cache for modern apps
More Relevant Posts
-
🔥 Ever wondered how live polls handle millions of votes in seconds? 📌 What’s needed: High write throughput (everyone voting at once) Low-latency reads (instant results) Horizontal scalability ✅ Best fits: Redis → super-fast, perfect for real-time counts Cassandra / DynamoDB → massive concurrent writes, easy scale Postgres + Redis cache → durability + analytics ⚡ Bottom Line: For live voting → Redis for speed + a durable DB for reliability. #databases #systemdesign #scalability #backend
To view or add a comment, sign in
-
Redis is single-threaded… but still insanely fast. How? Let’s break it down. ⚡ Everything stays in memory, so lookups happen in nanoseconds instead of milliseconds. ⚡ Single-threaded event loop means no messy locks or race conditions. With I/O multiplexing, Redis can juggle thousands of connections without breaking a sweat. ⚡ Its data structures aren’t generic, they’re highly optimized for both performance and memory efficiency. ⚡ The network side is super lean too, using a simple text protocol (RESP) and pipelining so multiple commands travel together. ⚡ And when you need more complex operations, Redis runs Lua scripts right on the server, so you cut down roundtrips and keep everything atomic. Every time I read about Redis internals, I’m amazed at how much thought went into designing something both simple and absurdly fast. What’s your favorite Redis feature that makes it stand out? #Redis #BackendDevelopment #SystemDesign #Databases #HighPerformance #LearnWithNayan Credits: https://lnkd.in/dP5PXphB
To view or add a comment, sign in
-
-
🔔 New blog alert 🔔 Redis has been part of almost every system I’ve built in the last 10 years — from small side projects to large-scale production setups. While writing about Redis, I realised how much I’ve learnt (and re-learnt) about Redis — especially the subtle things that don’t show up in tutorials or docs. I’ve tried to capture those real-world lessons in one place. If you’re running Redis in production, this one’s worth a read — you’ll definitely pick up a few useful ideas. (link in comments) #Redis #databases #production #tuning
To view or add a comment, sign in
-
-
🚦 How Redis Sorted Sets power precise sliding-window rate limits 👇 ⚡ Sliding Window Rate Limiting with Redis Sorted Sets (ZSETs) Rate limiting protects APIs from traffic bursts - but fixed windows (INCR + TTL) can be imprecise. For sliding-window rate limiting, Redis Sorted Sets are the perfect fit 👇 1️⃣ Store requests Each request is added to a ZSET with a timestamp as its score: ZADD user:123:requests <timestamp> <uuid> 2️⃣ Remove old entries Drop timestamps older than your time window (e.g., 60s): ZREMRANGEBYSCORE user:123:requests -inf <now - 60> 3️⃣ Check count If ZCARD user:123:requests < limit → allow the request Else → reject ✅ Why this works • Sorted automatically by time • Fast range queries • No reset every minute (true sliding window) • Atomic - no external locks needed 🔑 Takeaway: Redis ZSETs make precise rate limiting simple and fast - no extra tools, just clean data-structure logic. #Redis #SystemDesign #BackendEngineering #RateLimiting #APIs
To view or add a comment, sign in
-
-
I am starting a thread or you can say where i will share some insights from tech which i have learnt or learning Why Redis is a Game-Changer Redis isn’t just a cache—it can also be used for: Real-time analytics Session storage Message queues Integrating Redis can speed up your app and simplify architecture. Knowledge is power—using the right tools makes all the difference! #Redis #BackendDevelopment #FullStackDeveloper #TechTips
To view or add a comment, sign in
-
-
A Guide to Redis Performance Best Practices A Guide to Redis Performance Best Practices Dive into Redis town for a wild ride of data excitement. Sure spinning up a test server is like playing with Legos easy peasy until the moment you step into the jungle of production workloads. If Redis is the race car you better know how to handle the speed. When the data party gets busy it’s about making the magic last reliability and performance aren't just the spice but the foundation to your Redis dish. Check out Redis Performance Best Practices and yeah remember to credit the good folks at Percona. Gotten yourself tangled yet? This will definitely help you unfurl those connections. Redis is fun until it isn't but that's why we plan And for the record no we can't blame the database gnomes for everything. Time to get Redis savvy and impress your frienemies. Now who's ready to make their Redis fly and a few heads spin? https://lnkd.in/eHFev2kR
To view or add a comment, sign in
-
🚀 How Redis Solved My API Performance Bottlenecks 🚀 I recently wrote about a real-world challenge I faced while scaling APIs and how Redis completely changed the game. From slow responses to lightning-fast performance — this journey taught me a lot about caching strategies, data structures, and system optimization. 👉 Read here: https://lnkd.in/gBpPemYw #Redis #Caching #BackendDevelopment #Performance #API #Scalability
To view or add a comment, sign in
-
⚡ 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗥𝗲𝗱𝗶𝘀 𝘁𝗵𝗲 𝗛𝗮𝗿𝗱 𝗪𝗮𝘆 - 𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗶𝗻𝗴 𝗦𝗲𝗻𝘁𝗶𝗻𝗲𝗹 𝗳𝗼𝗿 𝗧𝗿𝘂𝗲 𝗛𝗶𝗴𝗵 𝗔𝘃𝗮𝗶𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆 🚀 A few weeks ago, I was running a single Redis container on our Azure VM, powering multiple backend services. Everything was smooth... until I got an interesting challenge: “Make Redis fault-tolerant even if it goes down, the system should handle it automatically.” That’s when I dived into the world of Redis High Availability (HA) and implemented a Redis Sentinel setup with: • 𝟭 𝗠𝗮𝘀𝘁𝗲𝗿 𝗻𝗼𝗱𝗲 • 𝟮 𝗦𝗹𝗮𝘃𝗲 𝗻𝗼𝗱𝗲𝘀 • 𝟯 𝗦𝗲𝗻𝘁𝗶𝗻𝗲𝗹𝘀 𝘄𝗮𝘁𝗰𝗵𝗶𝗻𝗴 𝗼𝘃𝗲𝗿 𝘁𝗵𝗲 𝗰𝗹𝘂𝘀𝘁𝗲𝗿 Here’s the magic 🪄, whenever the master fails, the Sentinels poll, vote, and promote one of the slaves to be the new master all automatically. And when the old master comes back, it gracefully joins as a replica. The result? • 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗰 𝗳𝗮𝗶𝗹𝗼𝘃𝗲𝗿 • 𝗭𝗲𝗿𝗼 𝗺𝗮𝗻𝘂𝗮𝗹 𝗿𝗲𝗰𝗼𝘃𝗲𝗿𝘆 • 𝗖𝗼𝗻𝘁𝗶𝗻𝘂𝗼𝘂𝘀 𝘂𝗽𝘁𝗶𝗺𝗲 I also connected this setup into our Redis based BullMQ queues in Node.js, ensuring tasks don’t break even during failovers. Watching the Sentinels detect a failure, elect a new master, and recover everything in real-time felt like seeing distributed systems magic happen live. ✨ Check out in detail: https://lnkd.in/gxHDjJbE If you’ve worked with Redis in production or tuned Sentinel configurations, I’d love to hear your insights! 👇
To view or add a comment, sign in
-
-
Going through some reading and found it worth sharing. In today’s fast-moving tech world, picking the right database isn’t just a technical decision – it’s a business-critical one. Here’s a quick breakdown that may help when evaluating these three popular options: 👉 Quick takeaway: Go with Aerospike if you need ultra-low latency + real-time decisioning at scale. Choose Cassandra if you want massive scalability with distributed consistency. Pick Redis if you’re after blazing-fast caching and ephemeral workloads. 💡 Each has its strengths – the right choice depends on your use case, scale, and cost considerations.
To view or add a comment, sign in
-
-
Building a FastAPI wrapper around the open-source document parser, plus Whisper, Redis & Supabase—one pipeline that ingests PDFs, YouTube links, Anki decks, web pages, and more. I haven’t spotted another stack covering this many formats end-to-end. Seen anything close?
To view or add a comment, sign in