Skip to content
About
Main content
Trade-off

Ordering vs. parallelism

Global order costs serialization; parallelism costs order.

Where you meet it: key partitioning, single-writer designs, stream keyBy, non-associative float aggregation, sequential consistency.

What it is

In one line, the topic is ordering versus parallelism: a global order costs serialization, and parallelism costs order.

From Transactions & Concurrency Control › Why concurrency is different

(who decides when data moves) and ordering versus parallelism are the two that make transport decisions hard to reverse. Once you have partitioned for parallelism, you cannot get global order back without sending everything through one point again.

From Data Movement › What data movement is

Ordering structures answer "what is next?". That question is relational: the answer for one element depends on its relationship to every other element. A global property cannot be established without global communication, directly or in steps. This is why the whole group sits on the tension order versus parallelism, and why it behaves so differently from the lookup group.

From Core Data Structures › Order is relational

Where it appears

In 12 mechanisms. Each says what the mechanism is about, then how this trade-off shows up there, in its own words.

Made on the same pages most often.