Posts tagged “distributed-systems”

7 posts

  1. System Design: Requirements Are Commitments

    I've run a lot of design interviews in my career. They were usually not meant to be a comprehensive trade-off exercise, designing for scale. I presented a simple problem, indicating it needs to be clarified. The simplified requirements I handed out gave some indication of what the core functional requirements were. But I was astonished how few people asked clarifying questions. Should links expire? Can users delete them? What should the latency be? How many requests do we handle?

  2. Generating Unique and Sortable IDs in Distributed Systems

    How to generate a unique and sortable ID. Autoincrement, UUID, KSUID, ULID, Snowflake ID.

  3. Building your Redis From Scratch: Multi-Node Architecture & Initial Communication

    In this post, we begin the journey into building a multi-node Redis architecture.

  4. Understanding Consistent Hashing: Concepts, Pitfalls, and Real-World Use Cases

    Consistent hashing is a well-established technique that addresses this challenge with minimal disruption.

  5. What is Rate Limiting and How to Implement It? From Algorithm to System Architecture

    Rate limiting is a strategy used to control traffic to or from a network, server, or service

  6. How to Incorporate AWS Lambda into a Distributed System

    I'll demonstrate how to use AWS Lambda as part of a notification service, where SNS is used to publish messages to a topic and trigger Lambda function

  7. How to Integrate Your Services Using GCP Pub-Sub

    I will show you how to use Google Cloud (GCP) Pub-Sub to integrate two services written in Python