Best of RedisDecember 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·1y

    An Elegant NodeJS framework

    Enhance your application's performance with this NodeJS framework that offers multi-store Redis and in-memory cache configuration. It supports MySQL and Postgres databases with a declarative syntax. Built-in error handling, Sentry integration, and elegant APIs for AWS S3 and local storage streamline your development process. The framework also features localization, message queues, a powerful code generation tool, and an integrated HTML mail template system.

  2. 2
    Article
    Avatar of communityCommunity Picks·1y

    Build a URL Shortener with Go, Redis, and HTMX

    Learn to build a URL Shortener using Go, Redis, and HTMX. The tutorial covers setting up the Go environment, installing Redis, building a basic HTTP server with Go’s standard library, and implementing a simple URL shortening algorithm. It also includes instructions for integrating Redis as a fast in-memory data store, and creating a reactive UI with HTMX and TailwindCSS. The final steps involve setting up URL redirection and deploying the application.

  3. 3
    Article
    Avatar of communityCommunity Picks·1y

    Implementing Group Chat with Redis Pub/Sub in Next.js 15

    Discover how to build a scalable group chat application using Redis Pub/Sub and Next.js 15. Learn the fundamentals of Redis Pub/Sub, how to set up a Next.js project, and implement key features such as message sending, retrieval, and user management. The tutorial also addresses UI design and real-time functionalities, providing a foundation for building robust chat applications.

  4. 4
    Article
    Avatar of communityCommunity Picks·1y

    How Redis Solved Our Challenges with Dynamic Task Scheduling and Concurrent Execution? [Developer's Guide]

    The post discusses migrating a task scheduling system from a simple Go service using SQLite to a more complex SaaS platform. The new challenges of dynamic scheduling and concurrent execution were solved using Redis's sorted set for task prioritization and Postgres for handling distributed writes. Evaluations of various scheduling libraries indicated rq_scheduler in Python as the most suitable. The result was an efficient architecture capable of scalable and reliable task scheduling and execution.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    Lessons learned from running Redis at scale

    Mattermost scaled to over 100K users by introducing Redis into their architecture, addressing issues related to cache invalidations and node synchronization. They opted for the rueidis library for better default functionalities and discovered the importance of batching commands to reduce overhead. Client-side caching was implemented to minimize application latency. They also highlight lessons learned with Redis commands like MGET/MDELETE and using SCAN efficiently, and provide insights on the use of Redis pub-sub mechanism.

  6. 6
    Video
    Avatar of codeheimcodeHeim·1y

    #68 Golang - Master Background Tasks with Asynq: Complete Guide

    Learn how to master the Asynq package in Golang to handle background tasks. The guide covers installing Asynq, setting up clients and servers, creating various tasks like email delivery, report generation, and image processing. It also explains how to utilize Redis for managing queues, configuring servers for task priorities and concurrency, and monitoring tasks using Asynq's web interface.

  7. 7
    Article
    Avatar of rubylaRUBYLAND·1y

    Caching optimizations

    Learn effective caching optimizations for backend web applications, including splitting cache for higher hit ratios, using separate cache stores, setting key expiry and policies, and handling cache versioning for smooth updates.