News for hackers. Stuff that matters.
Re:Modern garbage collection by Jabbles on Tuesday December 20, 2016 @08:28AM (#13219556)
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.

Re:Modern garbage collection by DannyB2 on Tuesday December 20, 2016 @10:21AM (#13220535)
Processing 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.