So...#WTH is CAP theorem really and why PACELC is something you should look into?
CAP explains what happens during a network partition. PACELC explains the other 99.9% of the time: you trade latency for consistency on every single write.
Where does your DB sit on the matrix? ๐
So...#WTH is the Two Generals Problem?
Itโs the proof that perfect agreement over a lossy network is impossible. No matter how many ACKs you send, the sender of the last message can never be certain it arrived.
This is exactly why your 2-node database will split-brain. ๐ง โก๏ธ
TCP's 3-way handshake doesn't solve this. The only real escape is Quorumsโgiving up on perfect delivery to a specific node and settling for a majority instead.
I wrote a full breakdown on the infinite ACK loop and how modern distributed systems survive it.
SoโฆWTH is State Machine Replication?
Every replicated database, Kafka partition, and Raft cluster relies on one rule: if deterministic replicas start identical and apply identical commands in an identical order, they stay identical.
Link to the full blog below.
@XiaomiIndia there is a weird issue with the mi TV that we bought. It randomly starts making noise. This is the worst quality of the television in your price segment.
Hello data engineers,
I always wanted to create a community for data engineers. Well I am excited to let you all know that I am taking first small step towards the same, introducing โcodeplumberโ.
My vision for this community is where experts and people who are just starting out can come together and interact. For this, I have created a discord channel. In addition, I am reachable via Instagram as well. I plan to post the summary/bullet points/takeaways for each video.
@VijayV1903 @TMKOC_NTF And that is an assumption you cannot make while investigation, even though if it is common, first step would be to find out whose car it is and start the investigation instead of putting friends life on stake. ๐๐๐