I deployed a service, that periodically does video encoding on my server; And every time it does, all other services slow down significantly. The encoding is hidden under multiple layers of abstraction. Limiting any of those layers would be fine. (e.g. limiting the docker-container would work just as well as limiting the ffmpeg-sub process.)
My Stack:
What I want to limit:
It would be possible to recompile ffmpeg if needed.
You can do it easily with your docker compose file :)
https://docs.docker.com/compose/compose-file/#resources
Just use the limits keyword and set your cpu usage !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With