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

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -