uWSGI + nginx for django app avoids pylibmc multi-thread concurrency issue? uWSGI + nginx for django app avoids pylibmc multi-thread concurrency issue? nginx nginx

uWSGI + nginx for django app avoids pylibmc multi-thread concurrency issue?


Isn't it because you actually have two separate processes managed by uWSGI? As you are setting the processes option instead of the workers option, so you should actually have multiple uWSGI processes (I'm assuming a master + two workers because of the config you used). Each of those processes will have it's own loaded pylibmc, so there is not state sharing between threads (you haven't configured threads on uWSGI after all).