3 ms·
> the Golang garbage collector is uncontrollable, so sometimes there are some suspicious long pauses. This greatly hurts the realtime-ness of this streaming app
by jhoechtl 7y ago
> the Golang garbage collector is uncontrollable, so sometimes there are some suspicious long pauses. This greatly hurts the realtime-ness of this streaming application.
That doesn't sound ... inspiring confidence?
- throwaway894345 7y agoI also don't know what that's referring to. There's usually quite a lot you can do to optimize for GC here. Depending on the root cause, you can create fewer allocations using buffers, arenas, etc and you can also trigger manual collections or disable collection for certain intervals. Hard to know what limits he ran into without more detail.