Highest performance Python framework for API exposure?

Roy Smith roy at panix.com
Fri May 3 20:18:49 EDT 2013


In article <mailman.1269.1367590981.3114.python-list at python.org>,
 Alec Taylor <alec.taylor6 at gmail.com> wrote:

> Which Python framework has benchmarked the highest?
> 
> I am looking for a solution to initially run on Heroku or OpenShift;
> but eventually run on a pure IaaS.
> 
> Will expose the interfaces RESTfully as JSON, purposed to act as the
> "glue" between the endpoints, databases (incl. caches) and queues.

Based on my experience, it doesn't matter what framework you use.  All 
that's going to matter is how fast you can pump data in and out of your 
database.  The overhead added by the Python front-end probably won't be 
significant.

Pick a framework that you find easy to use and don't sweat it.  Invest 
your time worrying about your database.

> An additional requirement is support for serving static, downloadable
> content efficiently.

You don't want to do that with Python.  You want to do that with 
something that's optimized for serving static content (such as nginx).



More information about the Python-list mailing list