SShortSingh.
Back to feed

How eventual consistency works in distributed systems and why it matters in system design interviews

0
·6 views

Once data is replicated across machines, a write on one replica may not yet be visible when a read hits another, creating a window of staleness. Eventual consistency guarantees only that replicas converge if writes stop, with no timing promise and no assurance that a read right after a write reflects it. It sits at the opposite end from strong consistency, and most large-scale designs use it somewhere. Because network partitions can separate replicas, designers must choose between refusing writes and accepting drift, and eventual consistency reflects choosing availability and low latency. Interviewers probe this choice by asking how users see their own updates, such as a comment that disappears after refreshing.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

GitHub investigates degraded service across several of its products

GitHub has acknowledged that users are experiencing degraded performance across multiple of its products. The company posted an incident notice on its official status page to track the issue. The article provides only a link to that status page and a Hacker News discussion thread, so the specific cause, scope, and duration of the disruption are not described here. Users seeking updates are directed to GitHub's status page for the latest information.

0
ProgrammingDEV Community ·

Temporal's Deterministic Replay Carries Real Costs Versus Event-Sourced Sagas

The author, founder of the self-hosted job queue JoobQ, compares Temporal with event-sourced saga engines for durable multi-step jobs. Temporal is widely seen as the default choice for workflows that must survive crashes and deploys without leaving data half-finished. Its deterministic replay model records every state transition in an append-only Event History and rebuilds workflow state by re-running the code. That approach enables very long durable sleeps, mid-function resumption without manual state serialization, and an auditable execution record. The article argues, however, that these benefits require heavy infrastructure and strict coding rules, including hard limits on history size.

0
ProgrammingDEV Community ·

Adobe AEM Flaw CVE-2026-132877 Rated 9.9 Despite No Known Exploitation

Adobe has assigned CVE-2026-132877, a code-injection flaw in Adobe Experience Manager, a CVSS 3.1 score of 9.9. The company says it is not aware of any in-the-wild exploitation tied to the issues in its APSB26-104 advisory. The vulnerability can be reached over a network with low complexity and only low-privilege credentials, and it carries high impact on confidentiality, integrity and availability. Security researchers note that no public proof-of-concept exploit had been identified at the time of review, though that does not guarantee the flaw is safe. Experts advise treating it as critical, checking local exposure, and patching promptly rather than waiting for a public exploit.

0
ProgrammingDEV Community ·

OpenAI's GPT-6.2 Designs Proteins, with 35 of 322 Lab-Tested Binders Showing Target Binding

OpenAI reports that its general-purpose GPT-6 family can design new protein structures and amino-acid sequences through reasoning and code, without a dedicated biology model producing the designs. In a wet-lab study with partner Onava, 35 of 322 small protein designs from GPT-6.2 showed evidence of binding their intended targets, a hit rate of about 10.9%. Redesigned sequences for existing proteins fared better in some cases, with 85% of MDM2 designs binding. The findings are described in a non-peer-reviewed preprint published in November 2026, and OpenAI's results have not yet been independently replicated. The research also acknowledges limits, including reliance on specialist models for sequence generation and candidate selection, and that binding in an assay does not mean a drug is viable.