Best of RedisAugust 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    The secret inside One Million Checkboxes

    One Million Checkboxes (OMCB) was a web project launched on June 26th, 2024, which allowed 500,000 users to check over 650 million boxes collectively. Each change was global and instantaneous. The author initially thought the database had been hacked due to strange data, but it was revealed users were sending hidden binary messages. A community of sharp young developers formed around the project, creating elaborate drawings and complex animations using checkboxes. Despite concerns about botting degrading user experience, the author found the creative interaction deeply moving and reminiscent of his own early programming experiences.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Build Redis from scratch

    This series guides you through building an in-memory database similar to Redis using Go. It focuses on low-level details involving databases, data structures, and algorithms. The project highlights include understanding RESP for command parsing, using goroutines for multiple connections, and implementing data persistence with the Append Only File (AOF) method. Suitable for developers familiar with Go and Redis commands.

  3. 3
    Article
    Avatar of canvaCanva Engineering·2y

    Real-time mouse pointers

    Anton from Canva's Collaboration team discusses the implementation of real-time mouse pointers for the company's whiteboard product. Initially developed using WebSockets and Redis for backend-centric architecture, the system supported millions of users. To further reduce latency and backend load, the final architecture transitioned to WebRTC, leveraging peer-to-peer connections for better scalability and responsiveness. WebRTC offers lower latency and higher throughput, ideal for real-time applications, though it introduces additional complexity on the frontend.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Build and deploy a chat application using Socket.io and Redis.

    Learn how to build a chat application that leverages web sockets for real-time data transfer, utilizes Redis for data storage, and can be deployed on platforms like Render or Google Cloud Run. This guide walks you through setting up a socket server, managing user and room data in Redis, handling events such as room creation and message sending, and deploying your server using Docker.