~/talk

Load Imbalance

links:none on file
slides:none on file

Describes how MCAS used Apache Flink for real‑time anomaly detection and handled skewed key distributions and huge per‑key state. They split a heavy operator into an Aggregator and Writer, introduced configurable sub‑keys to spread a hot key across N aggregators (MapReduce/combiner style), and replicated/synced per‑key state across those aggregators. To avoid long, blocking iterations over large MapState, they implemented a ShardedMapState wrapper that breaks a key’s MapState into multiple MapState shards plus ValueState so iteration can proceed in chunks without blocking the pipeline.

AI-written summary · about

  1. 0:00Intro
  2. 0:19Microsoft Cloud App Security (MCAS)
  3. 1:02MCAS Use Case
  4. 1:50Imbalance Problem
  5. 2:32Chain of Problems
  6. 4:04Partitioning Mechanism
  7. 4:36High Volume Customer Solution
  8. 6:51Huge State Iteration Problem
  9. 7:54Sharded State Solution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.