Module prewarm

Module prewarm 

Source
Expand description

Caching and prewarming related functionality.

Prewarming executes transactions in parallel before the actual block execution to populate the execution cache with state that will likely be accessed during block processing.

ยงHow Prewarming Works

  1. Incoming transactions are split into two streams: one for prewarming (executed in parallel) and one for actual execution (executed sequentially)
  2. Prewarming tasks execute transactions in parallel using shared caches
  3. When actual block execution happens, it benefits from the warmed cache