资 源 简 介
Magnum is a pure python HTTP server that is fast and efficient with resources. It is ideal for serving dynamic python-generated pages.
Features:
Written in pure python
Elegant, extensible and customizable
No connectors needed to serve python web applications such as Django
Event-driven non-blocking socket I/O (epoll for Linux, kqueue for BSD)
Can handle many simultaneous keep-alive connections to minimize latency
Works well with slow clients
Much faster than apache prefork and worker models
Multi-process queue-based worker pool
Shuns the one-thread-per-request paradigm to ensure system resources are available
Uses python 2.6"s multiprocessing features to divide up labor and manage resources efficiently
Minimal collateral damage when under heavy load
Shared memory pool
Great for maintaining large per-machine in-memory c