出自:http://www.wealink.com/hp_post_view.htm?postId=28450&handled=
Three word expressions are common in English.
Practicing them and using them when you speak will help you sound
more natural. Here are several common expressions, along with an
explanation and example sentence. black and white = something which
is extremely clear(黑白分明的;绝对的)
He told her in black and white that she couldn't leave the house
while he was out.
dos and don'ts = the rules (行为准则,须知,注意事项)
There are various dos and don'ts about driving in the UK.
haves and have nots = people who are rich and those who are not
(富人和穷人)
In London you can find the haves and have nots of the
population.
ins and outs = the details (细节,始末,详情)
I don't know the ins and outs of the situation, so I can't really
advise you.
kiss and tell = when someone sells a story of themselves and a
famous
| 分类:技术文章 |
| 分类:技术文章 |
Apache通常是开源界的首选Web服务器,因为它的强大和可靠,已经具有了品牌效应,可以适用于绝大部分的应用场合。但是它的强大有时候却显得笨重,配置文件得让人望而生畏,高并发情况下效率不太高。而轻量级的Web服务器Lighttpd却是后起之秀,其静态文件的响应能力远高于Apache,据说是Apache的2-3倍。Lighttpd的高性能和易用性,足以打动我们,在它能够胜任的领域,尽量用它。Lighttpd对PHP的支持也很好,还可以通过Fastcgi方式支持其他的语言,比如Python。
毕竟Lighttpd是轻量级的服务器,功能上不能跟Apache比,某些应用无法胜任。比如Lighttpd还不支持缓存,而现在的绝大部分站点都是用程序生成动态内容,没有缓存的话即使程序的效率再高也很难满足大访问量的需求,而且让程序不停的去做同一件事情也实在没有意义。首先,Web程序是需要做缓存处理的,即把反复使用的数据做缓存。即使这样也还不够,单单是启动Web处理程序的代价就不少,缓存最后生成的静态页面是必不可少的。而做这个是 Squid的强项,它本是做代
| 分类:乱讲 |