Open in app

Sign In

Write

Sign In

Mastodon
Pratik Pandey

343 Followers

Home

About

Published in

Cloud Native Daily

·May 22

SAGA Pattern — Distributed Design Pattern

Explore the implementation, advantages, disadvantages, and important caveats associated with using the SAGA design pattern. — In the realm of distributed systems and microservices architectures, ensuring data consistency and maintaining transactional integrity can be a complex challenge. One of the ways to achieve transactions across distributed systems is 2 Phase Commits, another approach could be to use SAGA Pattern.

Distributed Systems

4 min read

SAGA Pattern — Distributed Design Pattern
SAGA Pattern — Distributed Design Pattern
Distributed Systems

4 min read


May 16

Write-Behind Log — WBL

One of my most popular blogs to date is also my first blog on Write-Ahead Logs. But as with everything in technology, we evolve the existing solutions to become better. WBL — Write-Behind Log Write-behind logging (WBL) is a logging technique used in database management systems (DBMS) to improve performance. It differs from write-ahead…

Distributed Systems

4 min read

Write-Behind Log — WBL
Write-Behind Log — WBL
Distributed Systems

4 min read


May 8

Two-Phase Commit(2PC) — Distributed Design Patterns

The Two-Phase Commit protocol is a distributed algorithm that ensures that a transaction is either committed or rolled back consistently across all nodes in a distributed system. The protocol involves two phases, as the name suggests. Phase 1 — Prepare Phase: The coordinator node sends a prepare message to all…

Distributed Systems

3 min read

Two-Phase Commit(2PC) — Distributed Design Patterns
Two-Phase Commit(2PC) — Distributed Design Patterns
Distributed Systems

3 min read


Apr 29

Event Sourcing Pattern — Distributed Design Patterns

Most systems that we work with on a general basis, require the latest state of the system and we use CRUD operations to keep the system at it’s latest state. However, there are systems that require temporality, which means your system doesn’t just need the latest state, but also can…

Event Sourcing

4 min read

Event Sourcing Pattern — Distributed Design Pattern
Event Sourcing Pattern — Distributed Design Pattern
Event Sourcing

4 min read


Published in

Nerd For Tech

·Apr 22

Bulkhead Pattern — Distributed Design Pattern

One of the tenets of building Distributed Systems is Fault Tolerance. While there are multiple strategies used to achieve fault tolerance in a distributed system, today we’ll talk about the Bulkhead Pattern. Let’s explain the need for a Bulkhead pattern with some examples - Imagine a distributed system that processes…

Bulkhead

3 min read

Bulkhead Pattern — Distributed Design Pattern
Bulkhead Pattern — Distributed Design Pattern
Bulkhead

3 min read


Published in

Nerd For Tech

·Apr 18

Transactional Outbox Pattern — Distributed Design Patterns

As we deal with more complex distributed systems, we’ll often come across use cases where we need to atomically perform operations on multiple data sources in a consistent manner. So, let’s assume that we are persisting order data into an RDBMS. The ML team might want to perform some analytics…

Outbox Pattern

5 min read

Transactional Outbox Pattern — Distributed Design Patterns
Transactional Outbox Pattern — Distributed Design Patterns
Outbox Pattern

5 min read


Nov 10, 2022

Centralized Coordination II— Distributed Design Patterns

In my last article, we talked about how Centralized Coordination can help us reduce costs associated with performing Linearizable operations in a huge cluster. The idea is to perform operations requiring Linearizability in a small cluster(3–5 nodes). However, just choosing a small cluster doesn’t solve our problem completely. …

Distributed Systems

5 min read

Centralized Coordination II— Distributed Design Patterns
Centralized Coordination II— Distributed Design Patterns
Distributed Systems

5 min read


Nov 6, 2022

Centralized Coordination— Distributed Design Patterns

The beauty of distributed systems is that you can scale horizontally by adding more compute/resources to your system. …

Distributed Systems

3 min read

Centralized Coordination— Distributed Design Patterns
Centralized Coordination— Distributed Design Patterns
Distributed Systems

3 min read


Published in

Nerd For Tech

·Sep 21, 2022

Leases & Fences— Distributed Design Patterns

Ensuring consistency of critical data for which we want to have exclusive access, can be achieved through locking. However, in a distributed setup, we can run into scenarios where because of a network partition, process pauses or nodes go down. This leads to the resources being locked indefinitely! Leases To overcome…

Distributed Systems

4 min read

Leases & Fences— Distributed Design Patterns
Leases & Fences— Distributed Design Patterns
Distributed Systems

4 min read


Published in

Nerd For Tech

·Sep 13, 2022

Distributed Snapshots

Through my last series about Clocks & Version Vectors, the idea was to discuss problems establishing order/causality in a distributed system and ways to achieve the same. One problem in the real world, that needs both concepts is Distributed Snapshots! Problem Statement Point in Time Snapshots is critical for capturing the “consistent”…

Distributed Systems

8 min read

Distributed Snapshots
Distributed Snapshots
Distributed Systems

8 min read

Pratik Pandey

Pratik Pandey

343 Followers

Senior Engineer with experience in designing and architecting large scale distributed systems.

Following
  • Hussein Nasser

    Hussein Nasser

  • Abhishek Sainani

    Abhishek Sainani

  • Milos Zivkovic

    Milos Zivkovic

  • Ravi Kumar Ray

    Ravi Kumar Ray

  • Gavin Fong

    Gavin Fong

See all (68)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech