Improbable Icon

Forums

Time and NTP


#1

I’ve been investigating how to deal with cooldowns (both long [~several hours/days/weeks] and short (sub 1s to a few minutes)) within spatialOS.

There are several solutions to this depending on how the infrastructure is setup, and I was hoping to hear what is in place on SpatialOS’s servers, since they are hosted on google cloud, and NTP is normally very well done there by default. (see: https://cloud.google.com/blog/products/gcp/making-every-leap-second-count-with-our-new-public-ntp-servers)

So, onto my actual questions. Is a correct NTP setup something SpatialOS can guarantee (as google cloud normally does), or are games expected to do their own timetracking in some manner and sync that between workers ? (Using something such as: https://github.com/polartron/com.fasteraune.gdk.globaltime)