Best of RedisJanuary 2026

  1. 1
    Article
    Avatar of lobstersLobsters·19w

    I Replaced Redis with PostgreSQL (And It's Faster)

    PostgreSQL can replace Redis for caching, pub/sub, job queues, and sessions using UNLOGGED tables, LISTEN/NOTIFY, SKIP LOCKED, and JSONB. While PostgreSQL is 50-158% slower per operation (0.1-1ms difference), it eliminates network hops between databases, reduces infrastructure costs by ~$100/month, simplifies operations, and guarantees transactional consistency. The approach works best for small-to-medium apps with simple caching needs but isn't suitable for high-throughput scenarios (100k+ ops/sec) or applications requiring Redis-specific data structures like sorted sets or HyperLogLog.

  2. 2
    Article
    Avatar of bytebytegoByteByteGo·19w

    How Uber Serves over 150 Million Reads per Second from Integrated Cache

    Uber's CacheFront system serves over 150 million database reads per second using Redis while maintaining strong consistency. The system uses a three-layer architecture with Query Engine, Storage Engine, and integrated caching. Initial challenges included cache invalidation delays and stale data from conditional updates. Uber solved this by implementing soft deletes, monotonic timestamps, and synchronous write-path invalidation alongside asynchronous CDC (Flux) and TTL expiration. This triple-defense strategy achieves 99.9%+ cache hit rates with near-zero stale values, even with 24-hour TTLs.

  3. 3
    Article
    Avatar of infoqInfoQ·21w

    Bun Introduces Built-in Database Clients and Zero-Config Frontend Development

    Bun 1.3 introduces zero-configuration frontend development with hot module replacement, a unified database API (Bun.SQL) supporting MySQL, PostgreSQL, and SQLite without external dependencies, and a built-in Redis client claiming 7.9x performance over ioredis. The release includes enhanced package management with dependency catalogs for monorepos, isolated workspace installs, and interactive dependency updates. Performance improvements include 10-30% reduced memory usage in frameworks like Next.js, 60% faster macOS builds, and 9% faster Express benchmarks. Breaking changes affect TypeScript types for Bun.serve() and SQL client usage patterns.

  4. 4
    Article
    Avatar of mondaymonday Engineering·17w

    The event sourcing architecture we didn't build

    Monday.com's Data Lifecycle team built a board retention system for enterprise admins in three months by choosing a pragmatic microservice approach over event sourcing. The solution tracks board activity using SNS events buffered through Redis and historical data from their warehouse, enabling automated archival based on configurable policies. While event sourcing with CQRS would have provided better extensibility across entity types, the team prioritized speed to validation, avoiding cross-team coordination and substantial infrastructure changes. The tradeoff: single-entity focus and feature-specific data sources instead of reusable projections, with plans to revisit shared infrastructure when duplication patterns emerge across multiple features.

  5. 5
    Article
    Avatar of lnLaravel News·18w

    Fair Queue Distribution with Laravel Balanced Queue

    Laravel Balanced Queue is a package that solves the FIFO queue monopolization problem by distributing jobs across user or tenant partitions. It offers three rotation strategies (round-robin, random, smart), per-partition concurrency limiting to prevent worker exhaustion, and monitoring tools. The package integrates with Laravel Horizon and requires PHP 8.0+, Laravel 9.0+, and Redis as the queue driver.