Comment

Anonymous

the 3 gunicorn workers is as per the recommendation from gunicorn documentation (2*num_processors + 1).
http://docs.gunicorn.org/en/stable/design.html
My cache is small - max 500 items (static fragments of pages) X max 200kb = 100Mb. With 4Gb RAM, I thought I could afford the duplication.

Parent comment

Peter Bengtsson

If you have a single CPU droplet, doesn't that mean you only have 1 CPU and thus there's no point using 3 gunicorn workers because two of them don't have distinct CPUs to use. And it's true. If you do have, say, 4 CPUs and 4 gunicorn workers, suppose that you fill all your caches, you're going to need to use 4x as much RAM memory compared to letting all be handled by 1 memcache or redis.