Giter Site home page Giter Site logo

flaskgevent's Introduction

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.

https://api.travis-ci.org/pkittenis/flaskgevent.png?branch=master

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

flaskgevent's People

Watchers

James Cloos avatar Luis Filipe de Sousa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.