What are the popular Python server frameworks

Source: Internet
Author: User

Today we recommend 5 popular Python Development http://www.maiziedu.com/course/python/server framework, and give you a brief introduction to the role of the server framework:

1.tonardo----

A multi-concurrency, lightweight application, "non-blocking" web container. Similar to Tomcat. The people are so familiar with it that they don't say much.

2.Twisted----

Twisted is an integration suite for Python applications and library files. This includes a full set of page server applications and a text-based game engine. There are also modules, such as the processing of data streams. is an asynchronous network development framework that contains servers that can run independently. Similar to Tomcat.

3. Django----

A framework for web development. Similar to struts. The admin function is known as the Django Killer feature; The user enters data through admin and the programmer develops the foreground mode. In addition its friendly URL, convenient template, MVC is also the highlight.

Deployment methods 2: Using Mod_python to run Django in the Apache process, there is a webserver (LIGHTTPD and Nginx) +fastcgi. The latter is more lightweight and more secure. The former is more mainstream and more stable.

However, Apache's MOD_WSGI configuration is cumbersome and memory consumption is large.

The 4.CherryPy----is a Python-based object-oriented HTTP framework. Using CherryPy to develop Web application is very easy. But CherryPy doesn't provide a php-like templating language mechanism. All it does is to connect the Web server to your Python code with as little fuss as possible. Instead of relying on Apache or another Web server, it runs its own small Python-based web server.

5.uWSGI----Uwsgi is a fast, pure C language-developed, self-sustaining, developer-friendly WSGI server designed to provide professional Python Web application publishing and development. has since created a UWSGI agreement, which is said to be about 10 times times as fast as the fcgi agreement. The main features of Uwsgi are as follows:

Ultra-fast performance;

Low memory consumption (about half of the mod_wsgi measured as apache2);

Multi-app management;

Detailed logging capabilities (can be used to analyze app performance and bottlenecks);

Highly customizable (memory size limit, service Restart after a certain number of times, etc.).

What are the popular Python server frameworks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.