choosing http server for python api

The case is we’ve got a big API to build and my team has chosen python as implementation platform. The API doesn’t really need any web pages (templating) – just accepting GET/POST requests and responding with xml/json.

The question is: what is the preferred http server to deploy python api for production scale? We’re considering django and cherrypy as the framework and they do have built-in servers, but they seem to be more a development tool than a scalable, super-fast production software.

Java has got all servlet/application containers (jboss, tomcat, glassfish, etc.), PHP’s got Apache HTTPD and/or Nginx – and how about python?

Answer

You probably want to conform to the WSGI, then you don’t need to make your implementation tied to a specific HTTP server.

Read more:

Leave a Reply

Your email address will not be published. Required fields are marked *