meinheld

Software captura de pantalla:
meinheld
Detalles de software:
Versión: 0.5.4
Fecha de carga: 14 Apr 15
Promotor: Yutaka Matsubara
Licencia: Libre
Popularidad: 1

Rating: nan/5 (Total Votes: 0)

meinheld es otro servidor web asíncrono como fapws3, tornado.
meinheld es un servidor web compatible con WSGI.
Instalación
Instalar desde PyPI:
& Nbsp; easy_install -ZU meinheld
Instalación de la fuente:
& Nbsp; python setup.py install
meinheld apoyar gunicorn.
Para instalar gunicorn:
& Nbsp; easy_install -ZU gunicorn
Uso Básico
sencilla aplicación WSGI:
del servidor de importación meinheld
hello_world def (entorno, start_response):
& Nbsp; estado = 200 OK
& nbsp; res = "Hello World!"
& Nbsp; response_headers = [('Content-type' 'text / plain'), ('Content-Length ", str (len (res)))]
& Nbsp; start_response (estado, response_headers)
& Nbsp; volver [res]
server.listen (("0.0.0.0", 8000))
server.run (hello_world)
con gunicorn. clase trabajadora usuario "meinheld.gmeinheld.MeinheldWorker":
$ Gunicorn --workers = 2 --worker-class = "meinheld.gmeinheld.MeinheldWorker" gunicorn_test: app
Rendimiento
meinheld se utiliza alta http_parser rendimiento.
(Ver http://github.com/ry/http-parser)
y useing alto rendimiento biblioteca evento picoev.
(Ver http://developer.cybozu.co.jp/kazuho/2009/08/picoev-a-tiny-e.html)
sencillo de referencia
banco simple hello_world:
hello_world def (entorno, start_response):
& Nbsp; estado = 200 OK
& nbsp; res = "Hello World!"
& Nbsp; response_headers = [('Content-type' 'text / plain'), ('Content-Length ", str (len (res)))]
& Nbsp; start_response (estado, response_headers)
& Nbsp; volver [res]
utilizar apach banco:
$ Ab -c 100 -n 10000 http://127.0.0.1:8000/
especulación
& Nbsp; * CPU: Intel (R) Atom (TM) CPU N270 @ 1.60GHz
& Nbsp; * memoy: 1G
& Nbsp; * OS: Ubuntu 10.04
Las solicitudes de servidor por segundo
meinheld 0,1 2.927,62 [# / seg]
fapws3 0,6 1.293,53 [# / seg]
sendfile
. meinheld utilizar sendfile (2), sobre wgsi.file_wrapper

Requisitos :

  • Python

Otro software de desarrollador Yutaka Matsubara

Meinheld
Meinheld

1 Mar 15

Comentarios a la meinheld

Comentarios que no se encuentran
Añadir comentario
A su vez en las imágenes!