mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? Send raw history events from history to matching service similar to the change in https://github.com/temporalio/temporal/pull/7179. Instead of deserializing history blobs to history events, history service will send the raw bytes to matching service. History service uses a different proto message to do that. Matching client response proto has History message in the same field. GRPC's proto deserialization will automatically deserialize raw history batch bytes to History message. Matching to frontend response still have deserialized History message in the response. And there is not much CPU usage to save by changing this. ## Why? We have seen incidents of high history CPU usage when large amount of history events are pulled. With this change we can reduce the CPU burden on history service during this time. ## How did you test it? Unit tests ## Potential risks ## Documentation ## Is hotfix candidate? No