Source favicon21:39 Yapache-Yahoo! Apache 的秘密 » DBA notes

作为世界上 NO.1 的 Web 站点,Yahoo!Web 服务器定有独到之处. 这也应该是很多 Web 技术人员关心的一个问题。

前一段时间, Yahoo! 架构软件组的技术经理 Michael J. Radwin 在 OSCON 2006 上作了一个题目为 Hacking Apache HTTP Server at Yahoo! 的报告,透露了很多关于 Yahoo! Apache 的技术信息。

Yahoo! Apache = Yapache , 这是雅虎内部使用的名字吧。发音是(why·apache)。 YApache 是基于 Apache 1.3 进行 hack 的,目前在向 Apache 2.2 迁移(Prefork Multi-Processing Module ?)。 Michael 介绍说构建 YApache 的原因有三个:

1) 安全性;
2) 节省带宽;
3) NETSCAPE GUIDE BY YAHOO--这是 97 年的时候 Yahoo! 与 Netscape 联合推出的 一个互联网信息与导航服务,需要用到富媒体内容,当时的 Apache 对这样的内容支持较弱,所以雅虎不得不动手改造 Apache (要知道97 年的时候 Netscape 就好比现在的 Google 啊)。据说这才是主要原因。

Apache 1.3 的功能对雅虎来说已经够用 (在 98 年对 yapache 添加了 gzip 的支持),所以这个版本一致用到现在。YApache 的一个倾向性的原则是用进程而不用线程,相对比较保守,不过这样选择的原因也是很明显的:进程更加稳定,线程对与程序员来说,更容易引入新的问题。

接下来 PPT 描述了一些关于 LOG 格式的内容,继续看下去,我感兴趣的是关于配置参数 StartServers / MaxSpareServers / MinSpareServers / MaxClients 的问题。很多 Web 技术人员往往要在这个地方反复推敲。YApache 一般只设置 MaxClients,这个值一般小于 100, 对于 99% 的站点是足够用了。尽量让系统(Yahoo! BSD) Kernel 来处理 Buffer, 在这个地方关于 几个 kernel 参数的设置很有讲究。

关于SSL 的部分我不太感兴趣,倒是最后的 ysar (Yahoo! sar) 看起来是一个有趣的工具.

这样的定制对于 Yahoo! 这样需要大量 Web 服务器的站点来说(现在平均每天接近 40 亿 的 PV),得到的收益无疑是巨大的。对于规模相对较小的 Web 2.0 站点,类似 LightTPD 这样的轻量级 Web 服务器更为适合(比如豆瓣):

$ curl -I www.douban.com
HTTP/1.1 200 OK
Connection: close
Status: 200 OK
Content-Length: 13213
Content-Type: text/html; charset=utf-8
Set-Cookie: dbcl2="MPmAySb0OYE::"; path=/; domain=douban.com; \
expires=Thu, 01-Jan-2009 00:00:00 GMT
Date: Fri, 22 Sep 2006 12:34:16 GMT
Expires: -1
Server: lighttpd/1.4.11

(那些盯着豆瓣页面看的模仿者,很少有人留心豆瓣的运维技术吧)

在线查看这个PPT: Hacking Apache HTTP Server at Yahoo! (PDF Version) (其实这个文档和 05 年的内容基本上是一致的)。

附图:

Yahoo Web 结构概览


Yahoo! Web 结构一瞥.

--EOF--

Source favicon18:41 性格测验 (From Ulla Zang) » 车东[Blog^2]

要评估自己的性格,请看看以下的图片,并选出你最喜爱的一张(请同时考虑形状和颜色)。
charactor.png
然后根据编号查看你对应的类型。和周围几个同事一起做了一下:还挺准的哎……

个性类型说明附后:

Source favicon17:29 Index Bench: Should rollyo be worried? » Googling Google
On August 29th, Google registered a group of related domains that I didn't put much thought into -- indexbench.com.  Gary Price, the master of online databases, found that Google applied for a trademark on "IndexBench" three days after these domains were registered.One thing is certain, IndexBench is important enough to slap a trademark on -- [...]
Source favicon15:45 Business 2.0...Big Innovations: BlueLithium - Sep. 20, 2006 » del.icio.us/chedong
But if you visit T-Mobile's Web site to check out pricing plans and then click off to a news site, BlueLithium might show you a T-Mobile ad even though you're now reading about Iraq.
Source favicon13:28 Ooops! YPN error causes low impression reporting » JenSense - Making Sense of Contextual Advertising
Members on WebmasterWorld reported seeing significantly lower impression data (and thus lowered CTR, CPM and RPC reporting as well) since September 19th on their Yahoo Publisher Network stats. OvertureRep confirms that there was an error in their reporting, although all...
Source favicon13:05 創用 CC 工具簡介(二) » Jedi's BLOG | Jedi.org
這一篇是我給自由軟體鑄造場電子報的稿件,刊登於第六十五期。請注意,文中超連結表達的方式與此略有出入,但內容是相同的。
Source favicon12:21 Puttin' the Skweeze on Bloglines Mobile » Bloglines | News

For those of us who rely on and love Bloglines Mobile while on the go, here's another reason to dig it. Bloglines has now integrated Skweezer technology to optimize web pages for your personal handheld mobile device's viewing pleasure.

When you click on a link while reading a blog post in Bloglines Mobile, Skweezer will compress and reformat the content so you get it faster and better looking on your small screen. As you surf, the content will continue to be skweezed. Hints & bonus features:

So if you've been wary of venturing beyond your Bloglines Mobile on your fancy new Blackberry (or Treo or other smartphone), free yourself from those inhibitions and click away!

- The Bloglines Team

Source favicon11:16 广而告之:参与“RSS阅读习惯”调查 » Blog on 27th Floor
这个关于RSS阅读习惯的调查,由微软亚洲研究院交互设计中心发起,其结果“将在2006年10月20日之后于本页面公布”(前面那个链接),可以对RSS的推广应用起到一些作用。

调查题目不多,几分钟就可做完。我已经接受过他们面谈了。
Source favicon10:18 AdSense adds a new 200x200 ad unit size » JenSense - Making Sense of Contextual Advertising
Google AdSense has just added a brand new 200x200 "Small Square" ad unit size to their regular ad unit line up. So new, in fact, that AdSense hasn't announced it yet, and it hasn't yet made it into their ad...
Source favicon09:39 一直在路上——南戴河团队活动游记(二) » 雅虎搜索日志

作者:窦窦 搜索编辑

4.海上日出

清晨四点半,空气清新凉爽,到达时,天边已经是一片红霞,万幸,太阳还没有出来。盯着天边等待,感觉焦急而兴奋,但时间久了,也容易让人疲劳。思想开个小差,四下张望。海水退的很远,露出大片沙滩,不远的海面上,几条渔船缓缓移动。注目远眺,海天相接一片沧桑的红色,让人有些分不出是清晨还是傍晚,沧海桑田,千年岁月回转,天上人间,多少豪情不变……

“出来了!!”正在我胡思乱想的时候,一个声音激动的有些颤抖。其实事情就是这样的,向电影里说的一样:当一个人在某一刻抬起头的时候就会……就会望见她。每天清晨海滩上都有数以百计的人,却总会有一个人,就一个人,首先望见她。第一个望见太阳的人。每天都有这样一个人。别以为这是件偶然的事,不是的,那是没有任何因果关系的事实,是命运。也许那一刻,在这些人的生命中早就烙上了印记……

太阳是跳出海平面的,一切只用了一瞬间。

image008.jpg


5.翡翠岛——拔河、足球、日光浴

翡翠岛的行程有两大主题:拔河、沙滩足球。

拔河
比赛的激烈超出了大家的想象,所有比赛的胜负,最终都是以一个队摔倒在沙滩上被对手拖过线而告终,没有一个队中途放弃,没有一个人不竭尽全力。所以,拔河比赛,每一个人都是胜利者。

image006.jpg


沙滩足球
如果说拔河比拼的是团结的意志,那么沙滩足球更注重的是技术的较量。比赛不但激烈,而且精彩。最后以点球定胜负。在各主力队员相继罚失点球后,演化成了女队员之间的射门比赛,最终,以一位女将的一脚刁钻射门,决出了胜负。脚下的沙是烫的,胸中的心是火热的。

image016.jpg


比赛结束之后,疲惫的人们,各自调整休息。我仰面躺在沙滩滩上,沐浴着阳光,看着满眼的蓝天白云。很喜欢这种满眼都是天空的姿势,恍惚间有了飞翔的感觉,平静、心无杂念。

中午时分,集合,合影,离开海滩。沙子真的很烫,大家都是三步并作两步、一路小跑上了汽车。丰盛的午餐之后,稍作休整,踏上了回程的大巴。

6.回来了,我们重新上路

可能是两天的活动安排太过紧凑,回程的车厢里显得格外安静。当大巴车又停在公司楼下的时候,我们的旅行画上了完美的句号。

这两天里发生的一幕幕像是电影画面一样不停的在我脑子里转动,不知道自己到底是什么心境,是遗憾?留恋?好像都不是。心里出奇的安静。这是一个温暖但并不炎热的午后,暖风时而吹过,轻柔舒缓,在我眼里似乎整个城市都改变了它曾经忙碌的印象。

走回公司,坐在自己的办公桌前,有了一种回家的幸福感。渐渐觉得,我们不单是去旅行,而是到海边去洗涤心灵,所有从前的紧张和烦躁都被快乐冲刷的无影无踪,当重新回到属于我的世界,面对工作和生活,我的心变得更加坚强,充满了力量。

搜索工作,是一条漫长的路,可以说是“道阻且长”,这次南戴河旅行是这条漫漫长路上一站小小的休憩,既然已经精神饱满,那就让我们重新上路。

image001.jpg

Source favicon08:15 TechnoServe announces entrepreneur development program winners in Ghana » Official Google Blog




Google.org and the Google Foundation support select organizations whose work addresses the challenges of global poverty in ways that are effective, sustainable and scalable. We invited TechnoServe, a 2006 Google Foundation grant recipient, to tell us more about the winners of its business plan competition and entrepreneurship development program in Ghana. The Google Foundation joins TechnoServe in sending heartfelt congratulations to all of the winners, finalists and participants in Believe Begin Become.



With financial support from the Google Foundation, TechnoServe (an economic development organization that applies business solutions to rural poverty) launched Believe Begin Become in Ghana in March. It's a program that identifies entrepreneurs whose businesses can create jobs and increase incomes. Ghana’s competition marks the beginning of TechnoServe’s multi-country rollout of these business plan competitions across Africa.



More than 300 of Ghana’s most promising entrepreneurs applied to the program, and 60 participated in the rigorous training and business plan development for this year’s competition. With strong support from over 70 local partners and 23 business development service providers, participants receive individual support from technical consultants and access to a business network that included more than 15 financial institutions.



The 20 finalists came from seven of Ghana's 10 regions and represent a diverse cross-section of the Ghanaian population. One-third of the finalists are women, and more than a third are from rural areas. They range in age from 20 to 55, and their business concepts are varied, from a web-based tour company to a high-tech environmentally friendly carwash. Each of the 20 finalists receive between $10,000 and $15,000 of individualized local business services. Each of the top 10 winners received $15,000 in seed capital to start or expand their businesses.



To the delight of Ghanaians, the top winners were announced at today’s awards ceremony in Accra. They include: Nicholas Vordzogbe, Isaac Bohulu, Maxwell Hammond, Paul Tetteh, Daniel Tamatey and Prince Yakubu. There are also three winners who presented the best business plans in three sectors: light manufacturing, services and agriculture. These sector winners, all women, are: Agnes Frimpong (Mixline Ventures – disposable baby diaper packaging and retailing), Joyce Opon (Adekyee Lodging and Conferencing – hospitality business) and Rita Asamoah (Kasdar Company Ltd – dried fruit processing). The top winner of the overall business plan competition went to the impressive Joseph Tackie, who is revolutionizing the meat processing business in Accra by introducing the highest standards of quality and new sales and distribution models.



Google.org provided support by sending Google employees to Ghana to serve as judges, guest lecturers and supporters of the participating entrepreneurs. Here are three reflections on their experience:

  • "When I originally agreed to volunteer, I wasn't sure what contribution I was going to be able to make, trying to teach finance in a place where having access to electricity is as big a concern as running out of capital. But during my lecture, I could see how introducing some of the lessons we've learned at Google to these budding entrepreneurs in Ghana was really making a difference. It was definitely the best week of work I've ever had." – Albert Ching
  • “It was refreshing to see the impact of TechnoServe’s results-driven approach to development. This approach seems more successful for generating skilled and unskilled jobs, income for the community, and in the long run, sustainable economic growth for developing nations. It can instill a sense of pride and achievement in people that can have tremendous effects - successful entrepreneurs can contribute to their communities and inspire others to achieve more.” – Jackie Bona
  • “The highlight of my trip was the event celebrating the graduation from the core training of the business plan competition: the best 20 business plans that would receive some level of funding. I realized that the aim of supporting sustainable businesses and creating a local ecosystem to spur innovation and entrepreneurship was really happening.” – Marco Marinucci
Source favicon03:02 Google Marketing Tools mess up » Googling Google
Google Marketing Tools is a feature that will integrate with QuickBooks once the partnership with Intuit is in full swing.  Knowing this, Tony Ruscoe found a couple of pages that seem to be placeholders for some future functionality.The strange part is the email addresses found on that placeholder (see the screenshot) -- I am thinking [...]
Source favicon02:28 New Spreadsheets fun » Official Google Blog


The day after we launched Google Spreadsheets, one of the team said, "I can't believe you're already on the (Google) Groups page answering questions." After a late night-launch night? No way. "I'm definitely not posting, and I don't have the time even if I wanted to," I told him. Strangely, someone going by "Fuzzy" and/or "Fuzzy wuzzy" was answering everyone's questions! This unlikely-named person seemed to be very knowledgeable about Google Spreadsheets and spreadsheets in general. Well, the identity of that Fuzzy is still a mystery, but here's my chance to weigh in as myself.

I've been carefully watching the feedback we get on Google Spreadsheets, looking for people who may have discovered a bug or just need help using it. I'm also trying to judge our success in offering the right features. In a recent perusal of our Google Group (where interested people can discuss the product, help each other, and suggest improvements), it occurred to me that our growing body of users is about as diverse as a group can get, in terms of spreadsheet desires (if we can call them that!).

Here's a sampling of what people have been asking for:

This latest release of Google Spreadsheets that we just rolled out does all of these things and more. Here's a list of all the new features. I'm still watching the list of requests grow – and will keep trying to meet those needs -- unless of course the mysterious "Fuzzy wuzzy" beats me to it.

Source favicon00:01 慕尼黑市开始部署基于Debian的Linux桌面 » Blog on 27th Floor
前天(9月20日),德国慕尼黑市宣布该市已经开始部署基于Debian的Linux桌面系统,以取代公务员们目前使用的Windows。

在此之前,慕尼黑的市长,Christian Ude已经试用了一段时间,并对自己的经历作出了积极的评价:“在概念和开发完成后,我们现在已经开始使用这个版本,我也对它进行了成功的测试。这个软件是我们不再依赖于独一供应商的一步,对这个目标,自由软件是个好工具。普通用户并不会受到太多改变的影响。”

该系统全面基于自由软件。核心是Debian 3.1(Sarge),KDE 3.5OpenOffice2,还有自动安装工具FAI和远程管理工具GOsa

^==Back Home: www.chedong.com

<== 2006-09-21

==> 2006-09-23