GoReplay traffic pattern change

By | August 16, 2020
Share the joy
  •  
  •  
  •  
  •  
  •  
  •  

After testing with GoReplay, it shows that GoReplay will change the traffic pattern. When setting a fix RPS rate traffic, GoReplay will just replay the traffic with fix RPS. For some caching use case, this may fail. Let’s say request 1, 2, 3, 4 are all same. We want to cache for request 1, then cache for 2, 3, 4 will hit. This cache hit will work on the replayed traffic, but not real traffic.

GoReplay_traffic_change