highly recommended to read … think about it … read again
At the moment we refactor at profitbricks a huge amount of
shit legacy code which currently uses a very outdated version of socketio which itself changed a lot during the last years. Because we have a lot of trouble with the number of concurrent database connections and browsers within the company’s intranet which are going wild by usage of ‘xhr-polling’ and start flooding our application servers, we decided to look for another (more stable) solution. At the end of the research we have found and implemented the package ws4redis (django-websocket-redis).
We had to switch from a monkey patched gunicorn to uwsgi and we like it 🙂
One of the best things which happened to the developer in me is pyenv. It allows you to create several virtual environments on the same machine by usage of different python versions in a very comfortable way.
BIG FAT MERCI and respect to Yuu Yamashita San
Use ‘click’: http://click.pocoo.org/6/
Best explanation I have found in the web for life cycle etc of AngularJS directives: http://stackoverflow.com/questions/24615103/angular-directives-when-and-how-to-use-compile-controller-pre-link-and-post