Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkittenis/flaskgevent
Demo webapp using flask and gevent
https://github.com/pkittenis/flaskgevent
Last synced: about 1 month ago
JSON representation
Demo webapp using flask and gevent
- Host: GitHub
- URL: https://github.com/pkittenis/flaskgevent
- Owner: pkittenis
- License: other
- Created: 2013-10-28T17:50:57.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-29T13:21:17.000Z (about 11 years ago)
- Last Synced: 2023-05-06T08:12:46.696Z (over 1 year ago)
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
Demo flask webapp with gevent
============This is a demo webapp using flask servicing requests with asynchronous I/O through gevent which uses the libevent library demonstrating asynchronous I/O performance and usage in a webapp, or any other urllib2 using python library.
.. image:: https://api.travis-ci.org/pkittenis/flaskgevent.png?branch=master
:target: https://travis-ci.org/pkittenis/flaskgevent************
Siege results on static json page under gunicorn
************This is a simple test, would get better performance under heavy load by using gunicorn under apache as a proxy passthrough, see gunicorn documentation.
::
** SIEGE 3.0.1
** Preparing 500 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.Transactions: 27856 hits
Availability: 100.00 %
Elapsed time: 29.46 secs
Data transferred: 0.61 MB
Response time: 0.03 secs
Transaction rate: 945.55 trans/sec
Throughput: 0.02 MB/sec
Concurrency: 23.90
Successful transactions: 27856
Failed transactions: 0
Longest transaction: 3.13
Shortest transaction: 0.00