Skip to content
S. Mishra

§ Journal

Systems, explained until they can be tested.

Long-form articles for engineers. Each one carries working calculators and simulators so assumptions can be changed rather than taken on trust. RSS.

Category

Topic

7 of 7 articles

  1. Article 07

    12 Nov 2026

    32 min read

    Scaling WebSockets and SSE to Hundreds of Pods: Where Redis Pub/Sub Breaks and How to Fix It

    Why realtime fan-out over Redis Pub/Sub degrades as a WebSocket/SSE gateway grows to hundreds of pods: O(pods) delivery, cluster broadcast, slow-subscriber disconnects, reconnect storms, and the fixes: sharded Pub/Sub, sequence numbers with replay, room affinity, backpressure.

    • WebSocket
    • SSE
    • Redis
    • Pub/Sub
    • Scalability
  2. Article 01

    11 Nov 2026

    33 min read

    From MySQL to Elasticsearch: Building a Reliable CDC Pipeline That Scales to 1,000 RPS

    A practical design for streaming MySQL changes into Elasticsearch with Debezium and Kafka: ordering, idempotency, failure recovery, and an honest derivation of what 1,000 RPS means for CDC event rates.

    • Kafka
    • Debezium
    • MySQL
    • Elasticsearch
    • CDC
  3. Article 02

    11 Nov 2026

    41 min read

    Designing a Real-Time IoT Data Platform: MQTT, Kafka, ksqlDB and MongoDB

    How device telemetry travels from MQTT through Kafka and ksqlDB into MongoDB: QoS semantics, partitioning, event-time windows, time-series storage, and the failure modes in between.

    • MQTT
    • Kafka
    • ksqlDB
    • MongoDB
    • IoT
  4. Article 03

    11 Nov 2026

    33 min read

    Inside an IP Camera: Understanding RTSP, Codecs, FPS, I-Frames and Video Streaming

    How an IP camera turns photons into an RTSP stream, what H.264/H.265, GOP and bitrate settings actually change, and how those choices propagate to VMS capacity, latency and ANPR or object-detection accuracy.

    • RTSP
    • H.264
    • H.265
    • ONVIF
    • Video Analytics
  5. Article 06

    11 Nov 2026

    10 min read

    Kafka as a Distributed Log: Partitions, Replication, Consumer Groups and Replay

    A systems-level guide to Kafka topics, partition ordering, producer acknowledgements, replication, consumer offsets, retention and replay, with interactive partition and consumer-group playgrounds.

    • Kafka
    • Distributed Systems
    • Event Streaming
    • Consumer Groups
  6. Article 05

    11 Nov 2026

    12 min read

    RabbitMQ Beyond the Queue: Exchanges, Priorities, Persistence and Delayed Work

    A practical guide to RabbitMQ routing with direct, topic and fanout exchanges, priority delivery, durable queues, message TTL and delayed retries with dead-letter exchanges.

    • RabbitMQ
    • AMQP
    • Message Queues
    • Distributed Systems
  7. Article 04

    11 Nov 2026

    34 min read

    Redis Beyond the Cache: Persistence, Pub/Sub and Streams, and What Each Actually Guarantees

    What Redis really promises once it holds data you cannot lose: RDB and AOF durability, async replication and failover loss, Pub/Sub at-most-once, lists as queues, and Streams consumer groups compared with Kafka.

    • Redis
    • Streams
    • Pub/Sub
    • AOF
    • Persistence