开发工具:
文件大小: 1mb
下载次数: 0
上传时间: 2019-03-03
详细说明:全面的uWSGI的学习文档,可惜是英文版的。对uWSGI有部分疑问是,可以参考。如果专业英语强,值得认真阅读Contents
1 Included components(updated to latest stable release
2 Quickstarts
2. 1 Quickstart for Python/WSGI applications
2.2 Quickstart for perl/PSGI applications
2.3 Quickstart for ruby/Rack applications
15
2.4 Snippets
24
3 Table of Contents
27
3.1 Getting uWSGI
27
3.2 Installing uWSGI
27
3.3 The u wSGI build system
29
3.4 Managing the u wsGi server
···
31
3.5 Supported languages and platforms
34
3.6 Supported Platforms/Systems
34
3.7 Web server integration
35
3.8 Frequently Asked Questions(FAQ)
36
3.9 Things to know(best practices and"issues")
3.10 Configuring u WSGI
3.11 Fallback configuration
···
48
3. 12 Configuration logic
3.13 Configuration Options
3. 14 Defining new options for your instances
..,..,142
3. 15 How u WSGI parses config files
143
3.16 uwsgi protocol magic variables
145
3. 17 The uwsgi Protocol
l48
3. 18 Managing external daemons/services
.149
3.19 The Master FIFO
,.,.,.,152
3.20 Socket activation with inetd/xinetd
153
3.21 Running uWSGI via Upstart
154
3.22S
155
3.23 Running uwSGI instances with Circus
157
3.24 Embedding an application in u WSGI
158
3.25L
ogging
3.26 Formatting u WSGI requests logs
165
3.27 Log encoders
l68
3.28 Hook
171
3.29 Gl
174
3.30 u WSGI third party plugins
174
4 Tutorials
4.1 The u wSGI Caching Cookbook
177
4.2 Setting up Django and your web server with uWSGl and nginx
185
4.3 Running u wSGI on Dreamhost shared hostin
4.4 Running python webapps on Heroku with u WSGr
....193
197
4.5 Running Ruby/Rack webapps on Heroku with uWSGI
201
4.6 Reliably use FUSE filesystems for u WSGI vassals (with Linux)
205
4.7 Build a dynamic proxy using RPC and internal routing
4.8 Setting uo Graphite on Ubuntu using the Metrics subsystem
208
..209
5 Articles
213
5.1 Serializing accept. AKA Thundering Herd, AKA the Zeeg Problem
213
5.2 The Art of Graceful Reloading
220
5.3 Fun with Perl, Eyetoy and Raspberry pi
229
5.4 Offloading Websockets and Server-Sent Events AKA"Combine them with Django safely
235
6 uwSGI Subsystems
243
6.1 The u WSGl alarm subsystem(from 1.3)
.243
6.2 The u WSGI caching framework
247
6. 3 Web Caching framework
251
6.4 The uWsGi cron-like interface
6.5 The uWSGI FastRouter
255
6.6 uwSGI internal routing
6.7 The u WSGI Legion subsystem
273
6.8 Locks
276
6.9 uWSGI Mules
277
6.10 The u WSGI offloading subsystem
278
6. 11 The uwsGi queue framework
280
6.12 uWSGI RPC Stack
.281
6. 13 Shared Area-share memory pages between uWSGI components
6.14 The uwsGI Signal framework
285
6. 15 The u wsGi spooler
288
6.16 uWSGI Subscription Server
...292
6. 17 Serving static files with u WSGI(updated to 1.9)
6. 18 SNI- Server Name Identification(virtual hosting for SSL nodes)
300
6. 19 The GeoIP plugin
6.20 uWSGI Trans formations
303
6.21 Web Socket support
305
6.22 The Metrics subsystem
308
6.23 The Chunked input API
...315
7 Scaling with u WSGI
317
7.1 The u wSGI cheaper subsystem -adaptive process spawning
317
7.2 The u WSGI Emperor- multi-app deployment
.321
7.3Au
aling with broodlord mode
7.4 Zerg mode
331
7.5 Adding applications dynamically
7.6 Scaling SSL connections(uWSGI 1.9)
.334
8 Securing uwSgI
339
8.1 Setting POSIX Capabilities
339
8.2 Running uwSGI in a Linux CGroup
340
8.3 USing linux ksm in uWSGI
341
8.4 Jailing your apps using Linux Namespaces
342
8.5 The old way: the -namespace option
.344
8.6 FreeBSd Jails
346
8.7 The Forkpty R
8.8 The Tun Tap route
352
9 Keeping an eye on your apps
355
9.1 Monitoring uwsgi with nagios
.355
9.2 The embedded SNMP server
,,,,,.,355
9.3 Pushing statistics(from 1.4)
......356
9.4 Integration with Graphite/Carbon
..357
9.5 The uwSGI Stats Server
.358
9.6 The Metrics subsystem
362
10 Async and loop engines
371
10.1 uwSGI asynchronous/non-blocking modes(updated to uWSGI 1.9)
..,371
0. 2 The Gevent loop engine
374
10.3 The Tornado loop engine
376
10. 4 u Green-uwSGI Green Threads
.,,...379
10.5 The asyncio loop engine(CPython >=3.4, uWSGI>=2.0.4)
381
11 Web Server support
385
385
11.2 Cherokee support
386
11.3 Native Http support
387
11.4 htTps support(from 1.3
390
11.5 The SPDy router(uWsGl l9)
391
11.6Lighttpdsu
392
11.7 Allaching u WSGI to Mongrel2
393
1. 8 Nginx support
395
12 Language support
399
12.1 Python support
·
399
12.2 The PyPy plugin
418
12.3 Running php scripts in u WSGI
427
12.4 uWSGI Perl support(PSGI)
.432
12.5 Ruby supp
434
12.6 Using Lua/WSAPI with u WSGI
441
12.7 JVM in the u wSGI server(updated to 1.9)
445
12. 8 The Mono AsP.NET plugin
·
456
12.9 Running CGI scripts on uWSGI
458
12.10 The GCcGo plugin
12.11 The Symcall plugin
464
12. 12 The XSLT plugin
468
12.13 SSI (Server Side Includes) plugin
.469
2.14 uwSGI V8 support
470
12.15 The GridFS plugin
..472
12.16 The GlusterFS plugin
476
12. 17 The RADos plugin
478
13 Other plugins
481
13. 1 The Ply plugin
·
481
13.2 SPNEGO authentication
482
13.3 Configuring uwsgi with LdAP
482
14 Broken/deprecated features
483
14.1 Integrating uwsgi with erlang
..483
14,2 Management flags
486
14.3 uWSGI Go support(1. 4 only)
487
15 Release notes
493
15.1 Stable releases
493
15.2 LTS releases
567
16 Contact
569
17 Commercial support
571
18 Donate
573
19 dices and tables
575
Python Module Index
577
uwSGI Documentation Release 2.0
The u WSGi project aims at developing a full stack for building hosting services
pplication servers (for various programming languages and protocols ), proxies, process managers and monitors are
ill implemented using a common api and a common configuration style
Thanks to its pluggable architecture it can be extended to support more platforms and languages
Currently, you can write plugins in C, C++ and Objective-C.
The"WSGI""part in the name is a tribute to the namesake Python standard, as it has been the first developed plugin
for the project
Versatility, performance, low-resource usage and reliability are the strengths of the project(and the only rules fol-
lowed)
Contents
uWSGI Documentation Release 2.0
Contents
CHAPTER
Included components (updated to latest stable release)
The Core(implements configuration, processes management, sockets creation, monitoring, logging, shared memory
areas, ipc, cluster membership and the u wSGI Subscription Server)
Request plugins (implement application server interfaces for various languages and platforms: WSGI, PSGl, Rack,
Lua wsapl cgl PhP go
Gateways(implement load balancers, proxies and routers)
The Emperor (implements massive instances management and monitoring)
Loop engines(implement events and concurrency, components can be run in preforking, threaded, asyn
chronous/evented and green thread/coroutine modes. Various technologies are supported, including u Green, Greenlet
Stackless, Gevent, Coro: Any Event, Tornado, Goroutines and Fibers)
Note: uWSGI is a very active project with a fast release cycle. For this reason the code and the documentation may
not always be in sync. We try to make our best to have good documentation but it is a hard work. Sorry for that. If
you are in trouble, the mailing list is the best source for help regarding uwSGI. Contributors for documentation (in
addition to code) are always welcome
3
uWSGI Documentation Release 2.0
Chapter 1. Included components(updated to latest stable release)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.