mercredi 27 juillet 2016

alternative solution to gevent with monkey patch

Currently, I'm working on the server side of a project using Python. And I combined several packages Tornado + GEvent + uWSGI to achieve concurrency.

The most advantage of this solution is that we can write a server without make explicit calls to NIO. And simply adding gevent-monkey-patch = true to uWSGI configuration file is OK.

However, languagues with dynamic typing such as Python is often easy to bring bugs and exceptions, especially in a team of quite a few newbies. So I'm planning to shift to some static typing language. Is there any solutions come with both the convenience to achieve concurrency and safety to manipulate variables?

Would Golang be a good candidate? Any advice?




Aucun commentaire:

Enregistrer un commentaire