CloudNativeGame / fake-time-injector

A sidecar injector which change the time inside the container instead of the host.
Apache License 2.0
40 stars 7 forks source link

support cluster mode to set same delay seconds for game servers #16

Closed beastpu closed 1 year ago

beastpu commented 1 year ago

In large-scale distributed systems, such as game servers, multiple microservices often work together. RPC calls between these services are highly time-sensitive. Therefore, when adjusting the time, all microservices should be set to the same offset. I suggest providing a cluster mode option that ensures all microservices within a namespace obtain a consistent offset when started within a certain timeframe.

ringtail commented 1 year ago

/LGTM