Submit your Linux news story here.

How to write fast web applications using async Python 3.6 and Redis cache

This quick guide explains how to write a swift web application using Python programming language and Redis cache on Linux or Unix-like system.

From the blog post:

One of the common complaints people have about python and other popular interpreted languages (Ruby, JavaScript, PHP, Perl, etc) is that they’re slow. A faster language would give better response times and reduce server costs.

python3.4 introduced the asyncio module and python3.5 gave it a new syntax that is built into the language. uvloop makes asyncio fast. In fact, it is at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework. The performance of uvloop-based asyncio is close to that of Go programs.