Popular Python server framework

Source: Internet
Author: User

Popular Python 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 web developed framework. Similar to strutsadmindjangoadmin input data, programmer development foreground mode. In addition its friendly url, convenient template< Span style= "color:black;" >, mvc

Deployment Method 2 : Using mod_python to run Django in the Apache process, there is also 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 .

4.CherryPy----is a based onPythonThe object-orientedHTTP framework. Use cherrypy to develop Web Application is very easy. But cherrypyPHP< Span style= "color:black;" > templating language mechanism. All it does is to Web server with your Python code connection. Not rely on Apache or another Web the server, instead of running its own mini-based Python 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 ten 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.).

Popular Python server framework

Related Article

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.