Deploying full fledged flask app in production

This article will focus on deploying flask app starting from scratch like creating separate linux user, installating database, web server. Web server will be nginx, database will be postgres, python 2.7 middleware will be uwsgi, server ubuntu 13.10 x64. Flask app name is fido. Demo is carried out in Digital ocean. Step 1 - Installation Python header root@fido:~# apt-get install -y build-essential python-dev Install uwsgi dependencies root@fido:~# apt-get install -y libxml2-dev libxslt1-dev Nginx, uwsgi [Read More]

Can PyPy be used for web application deployment ?

What is PyPy ? PyPy is an implementation of Python in Python which uses JIT(Just In Time) translation. Why to Use PyPy? According to benchmarks “It depends greatly on the type of task being performed. The geometric average of all benchmarks is 0.18 or 5.6 times faster than CPython”. Experience? I have used PyPy for sandboxing for my project pylive, tested flask with pypy, ported brubeck to work on pypy, tested lastuser in PyPy 2. [Read More]