3 ms·
I try to avoid swap for latency critical things. I do a lot of ci/CD where we just have weird load and it would be a waste of money/resources to just shelf out
by Teletio 4y ago
I try to avoid swap for latency critical things.
I do a lot of ci/CD where we just have weird load and it would be a waste of money/resources to just shelf out the max memory.
Other example would be something like Prometheus: when it crashes and reads the wal, memory spikes.
Also it's probably a unsolved issue to tell applications how much memory they actually are allowed to consume. Java has some direct buffer and heap etc.
I have plenty of workloads were I prefer to get an alert warning and acting on that instead of handling broken builds etc.