← All Tags

#Backend

4 posts

  1. Message Delivery Guarantees in Distributed Systems

    Message Delivery Guarantees in Distributed Systems

    An intuitive guide to understanding the three core message delivery guarantees in distributed systems—At-most-once, At-least-once, and Exactly-once—with real-world payment examples.

  2. How to Design a DAG-Based Task Executor in Java?

    How to Design a DAG-Based Task Executor in Java?

    Learn how to build a high-performance Directed Acyclic Graph (DAG) task execution engine in Java from scratch using cycle detection algorithms and CompletableFuture.

  3. Interviewer: What are deadlocks? How will you detect and avoid them?

    Interviewer: What are deadlocks? How will you detect and avoid them?

    In the digital world, where traffic over the services is very high, engineers often face problems with handling concurrency in a system. Deadlock plays an important role in the discussions whenever devs talk about concurrency issues.

  4. MySQL transaction: From Begin to Commit

    MySQL transaction: From Begin to Commit

    Understand how MySQL transactions work internally — from buffer pools and redo logs to MVCC and crash recovery.