3 ms·
Consider jitter, rather than latency. If you're building a video calling service. You don't want random 10ms gaps between your frames. Also consider fan-out. G
by Jabbles 10y ago
Consider jitter, rather than latency. If you're building a video calling service. You don't want random 10ms gaps between your frames.
Also consider fan-out. GC pauses add to the long-tail of latency. If your service depends on many backend services, your overall latency may well depend on the maximum of all your backends.
- DannyB2 10y agoProcessing video in a GC system is best handled like some other things that are continuous ongoing processing without doing a GC. 1. Allocate all your structures up front. 2. Your main video processing loop (or compression, encryption, signal processing, etc) does not do any memory allocation. This is also like writing games in Java.