Better HN
topnewbestaskshowjobs
Log inSign up

omerban

3 karma · joined Jan 5, 2024 (2y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

A couple of points I would add here:

- You should regulate your process's memory usage and throttle when needed, even at the cost of performance.

- Memory regulation is harder in a multi-process architecture because you can't set a memory limit on the total memory usage of all the processes.

comment 2y ago · link · parent

Writer of the blog post here. Great point, that's exactly what we did. Setting a "C Group" in docker compose is easily done with the "mem_limit" field.

3.

Out of Memory Shenanigans(epsio.io ↗)

4 points · by omerban · 2y ago · discuss