Search

Lessons (9)

  • Topics, Partitions & Offsets

    … positions in a partition Every record in a partition gets a sequential offset : 0, 1, 2, 3… Offsets …

  • Consumers & Consumer Groups

    How consumers read in parallel with consumer groups, how partitions are assigned and rebalanced, how offsets are committed …

  • Delivery Guarantees: At-Most, At-Least & Exactly Once

    … commit offset 8 C- C: process… 💥 crash Note over K,C: restart from offset 8 → message 7 is …

  • What Is Apache Kafka?

    … each group has its own offsets Replay old messages ❌ ✅ Rewind the offset Ordering Per queue Per partition Throughput …

  • N+1 Queries, Loading & Pagination

    … Ask which fields the endpoint truly renders. Offset versus cursor pagination Offset asks the database to walk past …

  • How Browsers Render a Page

    … translateX(0); } Layout thrashing Reading a layout value ( offsetHeight , getBoundingClientRect() ) right after writing styles forces the browser to …

  • REST API Design

    … true } } mermaid flowchart LR subgraph Offset["OFFSET 100000 LIMIT 20"] o["DB reads and throws away<br/ 100 …

  • Kafka vs RabbitMQ & the Kafka Ecosystem

    … is kept (retention) Replay ❌ Not built in ✅ Rewind offsets Routing ✅ Rich: direct, topic, fanout, headers exchanges Simple: topic …

  • Brokers, Replication & Durability

    … replica set). mermaid flowchart LR L["👑 Leader<br/ offsets 0-100"] -- F1["Follower A<br/ 0-100 ✅ in …