In a previous cloud hosting provider experience, swap was disabled everywhere
Every instances were designed to:
- have ~1GB for basic server requirements
- have XGB for whatever the server was hosting: database ? web server ? proxy ? All have known memory consumptions
- if required, have some extra GB for IO cache
So we had some known requirements (the "app" line) and some variables requirements (IO cache and "basic server requirements")
Some extra informations:
- one instance = one service (this is the way to handle technical debt, all managements issues, but also risk management and security-related stuff)
- storage was backed with half-millions effective IOPS stuff
Every instances were designed to:
So we had some known requirements (the "app" line) and some variables requirements (IO cache and "basic server requirements")Some extra informations:
No oom and no waste