---
title: "Discussion on \"The Database Anti-Pattern That Accidentally Explains Distributed AI Training\" | Hashnode"
description: "Discussion on \"The Database Anti-Pattern That Accidentally Explains Distributed AI Training\". If you propose a synchronous multi-leader replication architecture in a system design interview, you better have a really good reason for it.\nWhy? Because coordinating writes across multiple nodes can"
url: "https://hashnode.com/posts/the-database-anti-pattern-that-accidentally-explains-distributed-ai-training/6adfb41eabe73d543c6fa6b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Database Anti-Pattern That Accidentally Explains Distributed AI Training](https://aadinir.hashnode.dev/the-database-anti-pattern-that-accidentally-explains-distributed-ai-training?utm_source=hashnode&utm_medium=feed)

If you propose a synchronous multi-leader replication architecture in a system design interview, you better have a really good reason for it. Why? Because coordinating writes across multiple nodes can

Oct 26 · 15 min read · aadinir.hashnode.dev  
Read the article

## Written by

[Aadithya niranjan](https://hashnode.com/@aadinir)

@aadinir

  
[View profile](https://hashnode.com/@aadinir)

## Responses 2

Markdown supported · ⌘↵ to post

[Branden Floris](https://hashnode.com/@branden991)

[Oct 26](https://hashnode.com/posts/the-database-anti-pattern-that-accidentally-explains-distributed-ai-training/6adfb41eabe73d543c6fa6b8/comment/6adfe1d411b3cfdff7735061)

The parallel holds up surprisingly well. Synchronous multi leader replication and synchronous gradient sync die for the same reason, the slowest participant sets the pace for everyone else. And the fixes rhyme too. Async replication accepts staleness the way async SGD accepts stale gradients, and both just move the hard problem to conflict resolution. This mapping also makes the interview answer much easier to remember than memorizing rules about when to shard. Nice write up.

[Aadithya niranjan](https://hashnode.com/@aadinir)

[Nov 3](https://hashnode.com/posts/the-database-anti-pattern-that-accidentally-explains-distributed-ai-training/6adfb41eabe73d543c6fa6b8/comment/6adfe1d411b3cfdff7735061#reply-6aea1ed8992d95c8f3d00a24)

appreciate you reading brother
