Checkpoint streaming code