[DiscordArchive] How many times a second/minute does/should WorldScript::OnUpdate fire on a typical server. Anyone kn
[DiscordArchive] How many times a second/minute does/should WorldScript::OnUpdate fire on a typical server. Anyone kn
Archived author: DavuKnight • Posted: 2022-08-27T19:13:33.244000+00:00
Original source
How many times a second/minute does/should WorldScript::OnUpdate fire on a typical server. Anyone know if that is tied to a clock or processor availability or something else?
Archived author: Honey • Posted: 2022-08-27T19:15:27.076000+00:00
Original source
The min update time is 10ms.
I've seen more than 1600 players handled in a single threaded worldserver with 10ms update time on a pretty decent machine.
Archived author: DavuKnight • Posted: 2022-08-27T19:16:56.791000+00:00
Original source
Thanks doing some impact testing to see how much overhead my Module degrades performance and hoped checking latency of "OnUpdate" would give me that
Archived author: Honey • Posted: 2022-08-27T19:18:20.788000+00:00
Original source
I think OnUpdate is the relevant indicator, assuming you have some load
Archived author: Foe • Posted: 2022-08-27T20:06:30.127000+00:00
Original source
You can also check WorldSession Update
Archived author: DavuKnight • Posted: 2022-08-27T20:08:32.143000+00:00
Original source
Thanks Ill take a look
Archived author: DavuKnight • Posted: 2022-08-27T20:10:36.654000+00:00
Original source
Its mostly all the wiring. To send all the events to Service Bus that's the "Load" I'm testing Every event has to do a small amount of work to transmit the event to the EventHub my architecture is only viable if that impact is minimal on the over all loop time