Amazon ECS Now Supports Per-Container Swap Space Parameters
When using Amazon ECS with the EC2 launch type on Linux, you can now control the use of swap space on a per-container basis. Swap space is used by operating systems such as Linux to allow processes to use more memory than is physically available on the host; the operating system kernel will “swap” physical memory to disk as needed to meet the demands of the software running on the host. Swap space enables applications to use more memory than they otherwise would be able to access, at the cost of higher latency and lower throughput of that memory access. Applications such as those with highly varying memory requirements, but less sensitivity to latency, may benefit from the use of swap memory.