python - When is --thunder-lock beneficial? -


this long, detailed, , entertaining article describes history , design of --thunder-lock: http://uwsgi-docs.readthedocs.org/en/latest/articles/serializingaccept.html

but doesn't me decide when need it!

when , isn't --thunder-lock beneficial?

well... answer not easy. in general, should use when you're using multiple workers multiple threads. but...

there dozens of different operating systems , thunder locking highly dependent on capabilities. there @ least 6 different mechanisms of thunder locking, choosed uwsgi based on operating system capabilities, of them better other. if you're using example linux robust pthread support, you're 99.999999% safe use thunder-lock.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -