Apache3.0 时代的到来!

apache3.0时代的到来,为我们的网络应用带入了全新的境界,其在配置方面,工作效率,运行机制,工作模式,协议接口等方面都产生了巨大变化。基于waka的传输协议会更加高效。
关键词:
spooning model,waka,Canned Error Responses

[size=large][color=red]It’s time for Apache 3.0[/color][/size]
[b]One process model per common platform[/b]
no more guessing who is running how on what
no more support for platforms that suck (use 1.3.x)
if you want to run on/with something else,
you’ve got the source code
[b]All compile-time choices are GONE[/b]
httpd and httpsd are DIFFERENT executables
APR is replaced by Moccasin
[b]All APIs are based on Waka[/b]
get those sticky hands off my data structures!
[b]“Kiss my ass” compatibility[/b]

[size=large][color=red]Simplify Process Model[/color][/size]
[b]Modular Process Models[/b]
Apache 0.3
fork model
Apache 1.0
prefork model
Apache 1.3 introduced non-Unix models
prefork, win32
Apache 2.x introduced MPMs
prefork, beos, mpmt, os2, netware, threaded, winnt, worker, event
[b]Apache 3.0 will just use the right MPM[/b]
based on whatever our own developers have tested to be
the best choice for a given platform
We call this the “[color=green]spooning model[/color]”

[size=large][color=red]Spooning Model[/color][/size]


[size=large][color=red]Less Configuration[/color][/size]

[b]Default to SAFE and SIMPLE configuration[/b]
no (default) configuration files
no compile-time settings
[b]All settings designed for PROGRAMMER TESTING[/b]
start up using current owner and group
listen to localhost:8080
default to content/manual
all other settings must be on command-line
httpd -c configuration.txt
httpsd -C directory
[size=large][color=red]Waka[/color][/size]
[b]A new protocol designed to match the efficiency of
well-designed Web Applications[/b]
[b]Why “waka”?[/b]
Mäori word (pronounced “wah-kah”) for the outrigger
canoes used to travel safely on the Pacific Ocean,
across hundreds of islands, to Aotearoa (New Zealand)
Also, one of the few four-letter words suitable for a
protocol name
[b]Deployable within an HTTP connection[/b]
via the HTTP/1.1 Upgrade header field
defined mapping to HTTP/1.1 for proxies

[size=large][color=red]Unified Protocol and API[/color][/size]
[b]Protocols are the heart of a server[/b]
Apache 1.0: HTTP/1.0
Apache 1.2: HTTP/1.1
Apache 2.0: HTTP/1.1, POP3, ECHO
Apache 2.2: HTTP/1.1, POP2, ECHO, SMTP, FTP
Apache 3.0: waka, HTTP/1.1
[b]The request_rec is replaced with waka_rec[/b]
waka messages are a tokenized data structure
memcopy, validate, pass by reference
coordinate using blackboard style, semaphores
no more DIY request/response construction
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值