3 ms·
You wouldn't use dapr for game dev. You would use it in systems where the added latency (very little by the way) does not matter.
by lijok 3y ago
You wouldn't use dapr for game dev. You would use it in systems where the added latency (very little by the way) does not matter.
- jiggawatts 3y agoMicroservices are surprisingly common in game server platforms. Also, I would argue that latency almost always matters. Those microseconds add up faster than you think. You have to factor in things like TCP slow start, congestion issues, buffering, the extra CPU spent encoding/decoding, etc… Not to mention that it rapidly becomes impossible or impractical to do things like process requests in a streaming fashion, so for large requests you can’t overlap the stages of a pipeline. You can easily bloat out a “1 second task” into minutes without ever knowing where you went wrong. “We’re following best practices!” you say. “Oh, is that why I’ve been waiting ten seconds for the little spinner while the site is processing a 1 KB transaction using 5 GHz CPUs?”
- lijok 3y ago> Microservices are surprisingly common in game server platforms. Yes, but you wouldn't use dapr for game dev. > Also, I would argue that latency almost always matters. Strongly disagree there. For every interesting business out there, there's 99 boring ones for whom sub-second added latency absolutely does not matter (not that dapr would add that much latency).