Python论坛  - 讨论区

标题:[python-chinese] Fwd: [CPeX] 豆瓣的 Web 服务器

2008年01月17日 星期四 17:54

Zoom.Quiet zoom.quiet在gmail.com
星期四 一月 17 17:54:54 HKT 2008

已经有人持续关注成功的Py 网站了哪,
好看也可以協同豆瓣,PK 一下响应增长和系统结构的经验了哪,
BPyUG 的会课,豆瓣消失很久了,招唤哪^__^

---------- Forwarded message ----------
From: ? <beatlescc在gmail.com>
Date: 2008/1/17
Subject: [CPeX] 豆瓣的 Web 服务器
To: Copy&Paste; Exchange小组 <mindex在googlegroups.com>




Sent to you by ? via Google Reader:



豆瓣的 Web 服务器
via DBA notes by Fenng on 1/16/08


作者:Fenng 发布在 dbanotes.net. 订阅 DBA notes

豆瓣最近发布新功能有些"疯狂",所以服务器也有新的部署。看到阿北同学在豆瓣广播里说: 豆瓣的第二台应用服务器终于投入了使用。Hongqn
忙了一晚上就完成了部署。第一台服务器支撑到 500 万动态PV/天,服务 On Demand 即时分布式部署......


500 万 PV , 还是动态 PV, 是个很惊人的数字。因为,如果都能达到一台机器支撑 500 万,那么国内稍有点规模的网站(就说动态
PV 上亿的吧),只需要 20 台 Web 服务器就够了。事实上,即使比较强调技术的网站怕也要上百台 Web 服务器的规模。

我们知道豆瓣用 Lighttpd 做 Web 服务器。 从侦测到的数据看,目前线上有两个版本。 $ curl -I http://www.douban.com
HTTP/1.1 200 OK
.....(无关内容略)
Server: lighttpd/1.4.15


另外一个版本: $ curl -I http://www.douban.com/people/ahbei/
HTTP/1.1 200 OK
.....(无关内容略)
Server: lighttpd/1.4.18


其实豆瓣服务器还有个更为惊人的性能数字。从这个 Powered by Lighttpd 的列表来看,豆瓣在一台 Gentoo
服务器上的记录是 1200 万/天的点击量。这应该是动、静态页面混合情况下的吧。

有同事对这个数据有些好奇,问我到底豆瓣是用啥做的服务器,其实这个问题我也问过阿北,他们就是自己攒的 PC
服务器,然后把性能发挥到极致。阿北也表示过,即使现在豆瓣流量激增个十倍啥的性能也不会是问题。这也是从起始就考虑扩展性的收益吧。

这里这位老兄用 七个 Mongrels 实例(也是一台Server)跑了 55 万 PV (thanks Robin 纠正)
就蛮自豪的,所以豆瓣的一台跑了"500 万动态 PV" 的确非常惊人。

Updated 2008-1-17 0:57:09

阿北留言了。主要是上面的有的数据还是旧的: Lighty
网站上的数字很久没有去更新了。现在豆瓣的web服务器(lighttpd)每天估计2500万 Hits, 高峰时间大约1000 req/s
(这里说的是主要输出HTML/CSS/JS和小图片的一台前端。大图片有另外的web服务器)。
我在广播里说500万PV/天的是应用服务器,就是lighty和mysql之间跑python的那台。现在豆瓣大多数PV来自注册用户,每个页面都需要几到十几种类的动态数据。
现在的服务器只是单片双核的opteron。换4核的话,应该能到一台1000万PV/ 天。


友情提醒,留言很精彩,敬请查看。不过在这个 Blog 上留言的确用户体验很糟糕(我也很烦),相信本周末能得到解决。 --EOF--

相关文章|Related Articles


AWStats 6.7 正式版发布
网站统计系统--中国雅虎新产品
图片防盗链应适可而止
Web 2.0 站点扩展性问题随感

评论数量(15)|Add Comments

本文网址:http://www.dbanotes.net/arch/douban_web_server.html
 最近作者还说了什么? Follow Twitter / Fenng






Things you can do from here:
Subscribe to DBA notes using Google Reader
Get started using Google Reader to easily keep up with all your favorite sites

  --~--~---------~--~----~------------~-------~--~----~
 "Copy&Paste; Exchange" group.
 http://groups-beta.google.com/group/mindex?hl=zh-CN
 -~----------~----~----~----~------~----~------~--~---




-- 
'''Time is unimportant, only life important!
过程改进乃是开始催生可促生靠谱的人的组织!
'''http://zoomquiet.org
博 @ http://blog.zoomquiet.org/pyblosxom/
维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
豆 @ http://www.douban.com/people/zoomq/
看 @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]
zy

zy

2008年01月17日 星期四 21:02

Lich_Ray solo.lich在gmail.com
星期四 一月 17 21:02:19 HKT 2008

·Ç³£·Ç³£µÄÅå·þ£¬ËäÈ»ÒѾ­²Âµ½ÊÇlighttpd£¬µ«Õâ¸öÄÜÁ¿£¬²»ÖªµÀÊDz»ÊÇʹÓÃÁËPythonµÄÇáÁ¿¼¶Ï߳̿⡣

ÔÚ08-1-17£¬Zoom. Quiet <zoom.quiet在gmail.com> дµÀ£º
>
> ÒѾ­ÓÐÈ˳ÖÐø¹Ø×¢³É¹¦µÄPy ÍøÕ¾ÁËÄÄ,
> ºÃ¿´Ò²¿ÉÒԅfͬ¶¹°ê,PK Ò»ÏÂÏìÓ¦Ôö³¤ºÍϵͳ½á¹¹µÄ¾­ÑéÁËÄÄ,
> BPyUG µÄ»á¿Î,¶¹°êÏûʧºÜ¾ÃÁË,Õл½ÄÄ^__^
>
> ---------- Forwarded message ----------
> From: ? <beatlescc在gmail.com>
> Date: 2008/1/17
> Subject: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
> To: Copy&Paste; ExchangeС×é <mindex在googlegroups.com>
>
>
>
>
> Sent to you by ? via Google Reader:
>
>
>
> ¶¹°êµÄ Web ·þÎñÆ÷
> via DBA notes by Fenng on 1/16/08
>
>
> ×÷ÕߣºFenng ·¢²¼ÔÚ dbanotes.net. ¶©ÔÄ DBA notes
>
> ¶¹°ê×î½ü·¢²¼Ð¹¦ÄÜÓÐЩ"·è¿ñ"£¬ËùÒÔ·þÎñÆ÷Ò²ÓÐеIJ¿Ê𡣿´µ½°¢±±Í¬Ñ§ÔÚ¶¹°ê¹ã²¥Àï˵£º ¶¹°êµÄµÚ¶þ̨ӦÓ÷þÎñÆ÷ÖÕÓÚͶÈëÁËʹÓá£Hongqn
> æÁËÒ»ÍíÉϾÍÍê³ÉÁ˲¿Êð¡£µÚһ̨·þÎñÆ÷Ö§³Åµ½ 500 Íò¶¯Ì¬PV/Ì죬·þÎñ On Demand ¼´Ê±·Ö²¼Ê½²¿Êð......
>
>
> 500 Íò PV , »¹ÊǶ¯Ì¬ PV, ÊǸöºÜ¾ªÈ˵ÄÊý×Ö¡£ÒòΪ£¬Èç¹û¶¼Äܴﵽһ̨»úÆ÷Ö§³Å 500 Íò£¬ÄÇô¹úÄÚÉÔÓеã¹æÄ£µÄÍøÕ¾(¾Í˵¶¯Ì¬
> PV ÉÏÒڵİÉ)£¬Ö»ÐèÒª 20 ̨ Web ·þÎñÆ÷¾Í¹»ÁË¡£ÊÂʵÉÏ£¬¼´Ê¹±È½ÏÇ¿µ÷¼¼ÊõµÄÍøÕ¾ÅÂÒ²ÒªÉÏ°Ų̀ Web ·þÎñÆ÷µÄ¹æÄ£¡£
>
> ÎÒÃÇÖªµÀ¶¹°êÓà Lighttpd ×ö Web ·þÎñÆ÷¡£ ´ÓÕì²âµ½µÄÊý¾Ý¿´£¬Ä¿Ç°ÏßÉÏÓÐÁ½¸ö°æ±¾¡£ $ curl -I
> http://www.douban.com
> HTTP/1.1 200 OK
> .....(ÎÞ¹ØÄÚÈÝÂÔ)
> Server: lighttpd/1.4.15
>
>
> ÁíÍâÒ»¸ö°æ±¾£º $ curl -I http://www.douban.com/people/ahbei/
> HTTP/1.1 200 OK
> .....(ÎÞ¹ØÄÚÈÝÂÔ)
> Server: lighttpd/1.4.18
>
>
> Æäʵ¶¹°ê·þÎñÆ÷»¹Óиö¸üΪ¾ªÈ˵ÄÐÔÄÜÊý×Ö¡£´ÓÕâ¸ö Powered by Lighttpd µÄÁбíÀ´¿´£¬¶¹°êÔÚһ̨ Gentoo
> ·þÎñÆ÷ÉϵļǼÊÇ 1200 Íò/ÌìµÄµã»÷Á¿¡£ÕâÓ¦¸ÃÊǶ¯¡¢¾²Ì¬Ò³Ãæ»ìºÏÇé¿öϵİɡ£
>
> ÓÐͬʶÔÕâ¸öÊý¾ÝÓÐЩºÃÆ棬ÎÊÎÒµ½µ×¶¹°êÊÇÓÃɶ×öµÄ·þÎñÆ÷£¬ÆäʵÕâ¸öÎÊÌâÎÒÒ²Îʹý°¢±±£¬ËûÃǾÍÊÇ×Ô¼ºÔÜµÄ PC
> ·þÎñÆ÷£¬È»ºó°ÑÐÔÄÜ·¢»Óµ½¼«Ö¡£°¢±±Ò²±íʾ¹ý£¬¼´Ê¹ÏÖÔÚ¶¹°êÁ÷Á¿¼¤Ôö¸öÊ®±¶É¶µÄÐÔÄÜÒ²²»»áÊÇÎÊÌâ¡£ÕâÒ²ÊÇ´ÓÆðʼ¾Í¿¼ÂÇÀ©Õ¹ÐÔµÄÊÕÒæ°É¡£
>
> ÕâÀïÕâλÀÏÐÖÓà Æ߸ö Mongrels ʵÀý(Ò²ÊÇһ̨Server)ÅÜÁË 55 Íò PV (thanks Robin ¾ÀÕý)
> ¾ÍÂù×ÔºÀµÄ£¬ËùÒÔ¶¹°êµÄһ̨ÅÜÁË"500 Íò¶¯Ì¬ PV" µÄÈ··Ç³£¾ªÈË¡£
>
> Updated 2008-1-17 0:57:09
>
> °¢±±ÁôÑÔÁË¡£Ö÷ÒªÊÇÉÏÃæµÄÓеÄÊý¾Ý»¹ÊǾɵÄ: Lighty
> ÍøÕ¾ÉϵÄÊý×ֺܾÃûÓÐÈ¥¸üÐÂÁË¡£ÏÖÔÚ¶¹°êµÄweb·þÎñÆ÷(lighttpd)ÿÌì¹À¼Æ2500Íò Hits, ¸ß·åʱ¼ä´óÔ¼1000 req/s
> (ÕâÀï˵µÄÊÇÖ÷ÒªÊä³öHTML/CSS/JSºÍСͼƬµÄһ̨ǰ¶Ë¡£´óͼƬÓÐÁíÍâµÄweb·þÎñÆ÷)¡£
> ÎÒÔڹ㲥Àï˵500ÍòPV/ÌìµÄÊÇÓ¦Ó÷þÎñÆ÷£¬¾ÍÊÇlightyºÍmysqlÖ®¼äÅÜpythonµÄÄÇ̨¡£ÏÖÔÚ¶¹°ê´ó¶àÊýPVÀ´×Ô×¢²áÓû§£¬Ã¿¸öÒ³Ã涼ÐèÒª¼¸µ½Ê®¼¸ÖÖÀàµÄ¶¯Ì¬Êý¾Ý¡£
>
> ÏÖÔڵķþÎñÆ÷Ö»Êǵ¥Æ¬Ë«ºËµÄopteron¡£»»4ºËµÄ»°£¬Ó¦¸ÃÄܵ½Ò»Ì¨1000ÍòPV/ Ìì¡£
>
>
> ÓÑÇéÌáÐÑ£¬ÁôÑԺܾ«²Ê£¬¾´Çë²é¿´¡£²»¹ýÔÚÕâ¸ö Blog ÉÏÁôÑÔµÄÈ·Óû§ÌåÑéºÜÔã¸â(ÎÒÒ²ºÜ·³),ÏàÐű¾ÖÜÄ©Äܵõ½½â¾ö¡£ --EOF--
>
> Ïà¹ØÎÄÕÂ|Related Articles
>
>
> AWStats 6.7 Õýʽ°æ·¢²¼
> Íøվͳ¼Æϵͳ--ÖйúÑÅ»¢Ð²úÆ·
> ͼƬ·ÀµÁÁ´Ó¦ÊʿɶøÖ¹
> Web 2.0 Õ¾µãÀ©Õ¹ÐÔÎÊÌâËæ¸Ð
>
> ÆÀÂÛÊýÁ¿(15)|Add Comments
>
> ±¾ÎÄÍøÖ·£ºhttp://www.dbanotes.net/arch/douban_web_server.html
> ×î½ü×÷Õß»¹ËµÁËʲô? Follow Twitter / Fenng
>
>
>
>
>
>
> Things you can do from here:
> Subscribe to DBA notes using Google Reader
> Get started using Google Reader to easily keep up with all your favorite
> sites
>
>   --~--~---------~--~----~------------~-------~--~----~
> "Copy&Paste; Exchange" group.
> http://groups-beta.google.com/group/mindex?hl=zh-CN
> -~----------~----~----~----~------~----~------~--~---
>
>
>
>
> --
> '''Time is unimportant, only life important!
> ¹ý³Ì¸Ä½øÄËÊÇ¿ªÊ¼´ßÉú¿É´ÙÉú¿¿Æ×µÄÈ˵Ä×éÖ¯!
> '''http://zoomquiet.org
> ²© @ http://blog.zoomquiet.org/pyblosxom/
> ά @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> ¶¹ @ http://www.douban.com/people/zoomq/
> ¿´ @ http://zoomq.haokanbu.com/
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
> Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
> You can get the truely Freedom 4 software.
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
Ray Stinger, nickname Lich_Ray
God is in his heaven, all's right with the world.
-------------------------------------------------
let focus = 'computing' in where:
http://lichray.javaeye.com
let focus = 'computing' in here:
http://lichray.bokeland.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080117/fe5176de/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月17日 星期四 21:57

cougar2008 cougar2008在gmail.com
星期四 一月 17 21:57:39 HKT 2008

apacheÏÖÔÚ±»ÑÏÖرÉÊÓ°¡£¬ÄѵÀÕæµÄÀÏÁË£¿




cougar2008
2008-01-17



·¢¼þÈË£º Lich_Ray
·¢ËÍʱ¼ä£º 2008-01-17 21:03:36
ÊÕ¼þÈË£º python-chinese在lists.python.cn
³­ËÍ£º cpug-eastchina在googlegroups.com; Python.cn在google; zpug在googlegroups.com
Ö÷Ì⣺ Re: [python-chinese]Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷

·Ç³£·Ç³£µÄÅå·þ£¬ËäÈ»ÒѾ­²Âµ½ÊÇlighttpd£¬µ«Õâ¸öÄÜÁ¿£¬²»ÖªµÀÊDz»ÊÇʹÓÃÁËPythonµÄÇáÁ¿¼¶Ï߳̿⡣


ÔÚ08-1-17£¬Zoom. Quiet < zoom.quiet在gmail.com> дµÀ£º
ÒѾ­ÓÐÈ˳ÖÐø¹Ø×¢³É¹¦µÄPy ÍøÕ¾ÁËÄÄ,
ºÃ¿´Ò²¿ÉÒԅfͬ¶¹°ê,PK Ò»ÏÂÏìÓ¦Ôö³¤ºÍϵͳ½á¹¹µÄ¾­ÑéÁËÄÄ,
BPyUG µÄ»á¿Î,¶¹°êÏûʧºÜ¾ÃÁË,Õл½ÄÄ^__^

---------- Forwarded message ----------
From: ? < beatlescc在gmail.com>
Date: 2008/1/17 
Subject: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
To: Copy&Paste; ExchangeС×é <mindex在googlegroups.com>




Sent to you by ? via Google Reader:



¶¹°êµÄ Web ·þÎñÆ÷ 
via DBA notes by Fenng on 1/16/08


×÷ÕߣºFenng ·¢²¼ÔÚ dbanotes.net. ¶©ÔÄ DBA notes

¶¹°ê×î½ü·¢²¼Ð¹¦ÄÜÓÐЩ"·è¿ñ"£¬ËùÒÔ·þÎñÆ÷Ò²ÓÐеIJ¿Ê𡣿´µ½°¢±±Í¬Ñ§ÔÚ¶¹°ê¹ã²¥Àï˵£º ¶¹°êµÄµÚ¶þ̨ӦÓ÷þÎñÆ÷ÖÕÓÚͶÈëÁËʹÓá£Hongqn 
æÁËÒ»ÍíÉϾÍÍê³ÉÁ˲¿Êð¡£µÚһ̨·þÎñÆ÷Ö§³Åµ½ 500 Íò¶¯Ì¬PV/Ì죬·þÎñ On Demand ¼´Ê±·Ö²¼Ê½²¿Êð...... 


500 Íò PV , »¹ÊǶ¯Ì¬ PV, ÊǸöºÜ¾ªÈ˵ÄÊý×Ö¡£ÒòΪ£¬Èç¹û¶¼Äܴﵽһ̨»úÆ÷Ö§³Å 500 Íò£¬ÄÇô¹úÄÚÉÔÓеã¹æÄ£µÄÍøÕ¾(¾Í˵¶¯Ì¬
PV ÉÏÒڵİÉ)£¬Ö»ÐèÒª 20 ̨ Web ·þÎñÆ÷¾Í¹»ÁË¡£ÊÂʵÉÏ£¬¼´Ê¹±È½ÏÇ¿µ÷¼¼ÊõµÄÍøÕ¾ÅÂÒ²ÒªÉÏ°Ų̀ Web ·þÎñÆ÷µÄ¹æÄ£¡£

ÎÒÃÇÖªµÀ¶¹°êÓà Lighttpd ×ö Web ·þÎñÆ÷¡£ ´ÓÕì²âµ½µÄÊý¾Ý¿´£¬Ä¿Ç°ÏßÉÏÓÐÁ½¸ö°æ±¾¡£ $ curl -I http://www.douban.com
HTTP/1.1 200 OK
.....(ÎÞ¹ØÄÚÈÝÂÔ)
Server: lighttpd/1.4.15


ÁíÍâÒ»¸ö°æ±¾£º $ curl -I http://www.douban.com/people/ahbei/
HTTP/1.1 200 OK 
.....(ÎÞ¹ØÄÚÈÝÂÔ)
Server: lighttpd/1.4.18


Æäʵ¶¹°ê·þÎñÆ÷»¹Óиö¸üΪ¾ªÈ˵ÄÐÔÄÜÊý×Ö¡£´ÓÕâ¸ö Powered by Lighttpd µÄÁбíÀ´¿´£¬¶¹°êÔÚһ̨ Gentoo
·þÎñÆ÷ÉϵļǼÊÇ 1200 Íò/ÌìµÄµã»÷Á¿¡£ÕâÓ¦¸ÃÊǶ¯¡¢¾²Ì¬Ò³Ãæ»ìºÏÇé¿öϵİɡ£

ÓÐͬʶÔÕâ¸öÊý¾ÝÓÐЩºÃÆ棬ÎÊÎÒµ½µ×¶¹°êÊÇÓÃɶ×öµÄ·þÎñÆ÷£¬ÆäʵÕâ¸öÎÊÌâÎÒÒ²Îʹý°¢±±£¬ËûÃǾÍÊÇ×Ô¼ºÔÜµÄ PC 
·þÎñÆ÷£¬È»ºó°ÑÐÔÄÜ·¢»Óµ½¼«Ö¡£°¢±±Ò²±íʾ¹ý£¬¼´Ê¹ÏÖÔÚ¶¹°êÁ÷Á¿¼¤Ôö¸öÊ®±¶É¶µÄÐÔÄÜÒ²²»»áÊÇÎÊÌâ¡£ÕâÒ²ÊÇ´ÓÆðʼ¾Í¿¼ÂÇÀ©Õ¹ÐÔµÄÊÕÒæ°É¡£

ÕâÀïÕâλÀÏÐÖÓà Æ߸ö Mongrels ʵÀý(Ò²ÊÇһ̨Server)ÅÜÁË 55 Íò PV (thanks Robin ¾ÀÕý)
¾ÍÂù×ÔºÀµÄ£¬ËùÒÔ¶¹°êµÄһ̨ÅÜÁË"500 Íò¶¯Ì¬ PV" µÄÈ··Ç³£¾ªÈË¡£

Updated 2008-1-17 0:57:09

°¢±±ÁôÑÔÁË¡£Ö÷ÒªÊÇÉÏÃæµÄÓеÄÊý¾Ý»¹ÊǾɵÄ: Lighty
ÍøÕ¾ÉϵÄÊý×ֺܾÃûÓÐÈ¥¸üÐÂÁË¡£ÏÖÔÚ¶¹°êµÄweb·þÎñÆ÷(lighttpd)ÿÌì¹À¼Æ2500Íò Hits, ¸ß·åʱ¼ä´óÔ¼1000 req/s
(ÕâÀï˵µÄÊÇÖ÷ÒªÊä³öHTML/CSS/JSºÍСͼƬµÄһ̨ǰ¶Ë¡£´óͼƬÓÐÁíÍâµÄweb·þÎñÆ÷)¡£
ÎÒÔڹ㲥Àï˵500ÍòPV/ÌìµÄÊÇÓ¦Ó÷þÎñÆ÷£¬¾ÍÊÇlightyºÍmysqlÖ®¼äÅÜpythonµÄÄÇ̨¡£ÏÖÔÚ¶¹°ê´ó¶àÊýPVÀ´×Ô×¢²áÓû§£¬Ã¿¸öÒ³Ã涼ÐèÒª¼¸µ½Ê®¼¸ÖÖÀàµÄ¶¯Ì¬Êý¾Ý¡£ 
ÏÖÔڵķþÎñÆ÷Ö»Êǵ¥Æ¬Ë«ºËµÄopteron¡£»»4ºËµÄ»°£¬Ó¦¸ÃÄܵ½Ò»Ì¨1000ÍòPV/ Ìì¡£


ÓÑÇéÌáÐÑ£¬ÁôÑԺܾ«²Ê£¬¾´Çë²é¿´¡£²»¹ýÔÚÕâ¸ö Blog ÉÏÁôÑÔµÄÈ·Óû§ÌåÑéºÜÔã¸â(ÎÒÒ²ºÜ·³),ÏàÐű¾ÖÜÄ©Äܵõ½½â¾ö¡£ --EOF--

Ïà¹ØÎÄÕÂ|Related Articles


AWStats 6.7 Õýʽ°æ·¢²¼
Íøվͳ¼Æϵͳ--ÖйúÑÅ»¢Ð²úÆ·
ͼƬ·ÀµÁÁ´Ó¦ÊʿɶøÖ¹
Web 2.0 Õ¾µãÀ©Õ¹ÐÔÎÊÌâËæ¸Ð

ÆÀÂÛÊýÁ¿(15)|Add Comments

±¾ÎÄÍøÖ·£ºhttp://www.dbanotes.net/arch/douban_web_server.html 
×î½ü×÷Õß»¹ËµÁËʲô? Follow Twitter / Fenng






Things you can do from here:
Subscribe to DBA notes using Google Reader
Get started using Google Reader to easily keep up with all your favorite sites

  --~--~---------~--~----~------------~-------~--~----~ 
"Copy&Paste; Exchange" group.
http://groups-beta.google.com/group/mindex?hl=zh-CN 
-~----------~----~----~----~------~----~------~--~--- 




--
'''Time is unimportant, only life important!
¹ý³Ì¸Ä½øÄËÊÇ¿ªÊ¼´ßÉú¿É´ÙÉú¿¿Æ×µÄÈ˵Ä×éÖ¯!
''' http://zoomquiet.org
²© @ http://blog.zoomquiet.org/pyblosxom/
ά @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet 
¶¹ @ http://www.douban.com/people/zoomq/ 
¿´ @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org 
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.
_______________________________________________
python-chinese
Post: send python-chinese在lists.python.cn
Subscribe: send subscribe to python-chinese-request在lists.python.cn
Unsubscribe: send unsubscribe to   python-chinese-request在lists.python.cn
Detail Info: http://python.cn/mailman/listinfo/python-chinese 



-- 
Ray Stinger, nickname Lich_Ray
God is in his heaven, all's right with the world.
-------------------------------------------------
let focus = 'computing' in where: 
http://lichray.javaeye.com
let focus = 'computing' in here:
http://lichray.bokeland.com 
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080117/572af500/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月17日 星期四 22:14

cunheise cunheise在hotmail.com
星期四 一月 17 22:14:12 HKT 2008

²»ÖªµÀÕâÀïµÄ¶¯Ì¬pvÖ»µÄÊÇÄÇЩ
ÿ¸örequest¶¼Òª¶Ádb£¬È»ºógenerate html pageÂð£¿


Date: Thu, 17 Jan 2008 21:57:39 +0800From: cougar2008在gmail.comTo: python-chinese在lists.python.cnSubject: Re: [python-chinese] Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷



apacheÏÖÔÚ±»ÑÏÖرÉÊÓ°¡£¬ÄѵÀÕæµÄÀÏÁË£¿
 




cougar2008
2008-01-17



·¢¼þÈË£º Lich_Ray
·¢ËÍʱ¼ä£º 2008-01-17 21:03:36
ÊÕ¼þÈË£º python-chinese在lists.python.cn
³­ËÍ£º cpug-eastchina在googlegroups.com; Python.cn在google; zpug在googlegroups.com
Ö÷Ì⣺ Re: [python-chinese]Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
 
·Ç³£·Ç³£µÄÅå·þ£¬ËäÈ»ÒѾ­²Âµ½ÊÇlighttpd£¬µ«Õâ¸öÄÜÁ¿£¬²»ÖªµÀÊDz»ÊÇʹÓÃÁËPythonµÄÇáÁ¿¼¶Ï߳̿⡣
ÔÚ08-1-17£¬Zoom. Quiet < zoom.quiet在gmail.com> дµÀ£º 
ÒѾ­ÓÐÈ˳ÖÐø¹Ø×¢³É¹¦µÄPy ÍøÕ¾ÁËÄÄ,ºÃ¿´Ò²¿ÉÒԅfͬ¶¹°ê,PK Ò»ÏÂÏìÓ¦Ôö³¤ºÍϵͳ½á¹¹µÄ¾­ÑéÁËÄÄ,BPyUG µÄ»á¿Î,¶¹°êÏûʧºÜ¾ÃÁË,Õл½ÄÄ^__^---------- Forwarded message ----------From: ? < beatlescc在gmail.com>Date: 2008/1/17 Subject: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷To: Copy&Paste; ExchangeС×é <mindex在googlegroups.com>Sent to you by ? via Google Reader:¶¹°êµÄ Web ·þÎñÆ÷ via DBA notes by Fenng on 1/16/08×÷ÕߣºFenng ·¢²¼ÔÚ dbanotes.net. ¶©ÔÄ DBA notes¶¹°ê×î½ü·¢²¼Ð¹¦ÄÜÓÐЩ"·è¿ñ"£¬ËùÒÔ·þÎñÆ÷Ò²ÓÐеIJ¿Ê𡣿´µ½°¢±±Í¬Ñ§ÔÚ¶¹°ê¹ã²¥Àï˵£º ¶¹°êµÄµÚ¶þ̨ӦÓ÷þÎñÆ÷ÖÕÓÚͶÈëÁËʹÓá£Hongqn æÁËÒ»ÍíÉϾÍÍê³ÉÁ˲¿Êð¡£µÚһ̨·þÎñÆ÷Ö§³Åµ½ 500 Íò¶¯Ì¬PV/Ì죬·þÎñ On Demand ¼´Ê±·Ö²¼Ê½²¿Êð...... 500 Íò PV , »¹ÊǶ¯Ì¬ PV, ÊǸöºÜ¾ªÈ˵ÄÊý×Ö¡£ÒòΪ£¬Èç¹û¶¼Äܴﵽһ̨»úÆ÷Ö§³Å 500 Íò£¬ÄÇô¹úÄÚÉÔÓеã¹æÄ£µÄÍøÕ¾(¾Í˵¶¯Ì¬PV ÉÏÒڵİÉ)£¬Ö»ÐèÒª 20 ̨ Web ·þÎñÆ÷¾Í¹»ÁË¡£ÊÂʵÉÏ£¬¼´Ê¹±È½ÏÇ¿µ÷¼¼ÊõµÄÍøÕ¾ÅÂÒ²ÒªÉÏ°Ų̀ Web ·þÎñÆ÷µÄ¹æÄ£¡£ÎÒÃÇÖªµÀ¶¹°êÓà Lighttpd ×ö Web ·þÎñÆ÷¡£ ´ÓÕì²âµ½µÄÊý¾Ý¿´£¬Ä¿Ç°ÏßÉÏÓÐÁ½¸ö°æ±¾¡£ $ curl -I http://www.douban.comHTTP/1.1 200 OK.....(ÎÞ¹ØÄÚÈÝÂÔ)Server: lighttpd/1.4.15ÁíÍâÒ»¸ö°æ±¾£º $ curl -I http://www.douban.com/people/ahbei/HTTP/1.1 200 OK .....(ÎÞ¹ØÄÚÈÝÂÔ)Server: lighttpd/1.4.18Æäʵ¶¹°ê·þÎñÆ÷»¹Óиö¸üΪ¾ªÈ˵ÄÐÔÄÜÊý×Ö¡£´ÓÕâ¸ö Powered by Lighttpd µÄÁбíÀ´¿´£¬¶¹°êÔÚһ̨ Gentoo·þÎñÆ÷ÉϵļǼÊÇ 1200 Íò/ÌìµÄµã»÷Á¿¡£ÕâÓ¦¸ÃÊǶ¯¡¢¾²Ì¬Ò³Ãæ»ìºÏÇé¿öϵİɡ£ÓÐͬʶÔÕâ¸öÊý¾ÝÓÐЩºÃÆ棬ÎÊÎÒµ½µ×¶¹°êÊÇÓÃɶ×öµÄ·þÎñÆ÷£¬ÆäʵÕâ¸öÎÊÌâÎÒÒ²Îʹý°¢±±£¬ËûÃǾÍÊÇ×Ô¼ºÔÜµÄ PC ·þÎñÆ÷£¬È»ºó°ÑÐÔÄÜ·¢»Óµ½¼«Ö¡£°¢±±Ò²±íʾ¹ý£¬¼´Ê¹ÏÖÔÚ¶¹°êÁ÷Á¿¼¤Ôö¸öÊ®±¶É¶µÄÐÔÄÜÒ²²»»áÊÇÎÊÌâ¡£ÕâÒ²ÊÇ´ÓÆðʼ¾Í¿¼ÂÇÀ©Õ¹ÐÔµÄÊÕÒæ°É¡£ÕâÀïÕâλÀÏÐÖÓà Æ߸ö Mongrels ʵÀý(Ò²ÊÇһ̨Server)ÅÜÁË 55 Íò PV (thanks Robin ¾ÀÕý)¾ÍÂù×ÔºÀµÄ£¬ËùÒÔ¶¹°êµÄһ̨ÅÜÁË"500 Íò¶¯Ì¬ PV" µÄÈ··Ç³£¾ªÈË¡£Updated 2008-1-17 0:57:09°¢±±ÁôÑÔÁË¡£Ö÷ÒªÊÇÉÏÃæµÄÓеÄÊý¾Ý»¹ÊǾɵÄ: LightyÍøÕ¾ÉϵÄÊý×ֺܾÃûÓÐÈ¥¸üÐÂÁË¡£ÏÖÔÚ¶¹°êµÄweb·þÎñÆ÷(lighttpd)ÿÌì¹À¼Æ2500Íò Hits, ¸ß·åʱ¼ä´óÔ¼1000 req/s(ÕâÀï˵µÄÊÇÖ÷ÒªÊä³öHTML/CSS/JSºÍСͼƬµÄһ̨ǰ¶Ë¡£´óͼƬÓÐÁíÍâµÄweb·þÎñÆ÷)¡£ÎÒÔڹ㲥Àï˵500ÍòPV/ÌìµÄÊÇÓ¦Ó÷þÎñÆ÷£¬¾ÍÊÇlightyºÍmysqlÖ®¼äÅÜpythonµÄÄÇ̨¡£ÏÖÔÚ¶¹°ê´ó¶àÊýPVÀ´×Ô×¢²áÓû§£¬Ã¿¸öÒ³Ã涼ÐèÒª¼¸µ½Ê®¼¸ÖÖÀàµÄ¶¯Ì¬Êý¾Ý¡£ ÏÖÔڵķþÎñÆ÷Ö»Êǵ¥Æ¬Ë«ºËµÄopteron¡£»»4ºËµÄ»°£¬Ó¦¸ÃÄܵ½Ò»Ì¨1000ÍòPV/ Ìì¡£ÓÑÇéÌáÐÑ£¬ÁôÑԺܾ«²Ê£¬¾´Çë²é¿´¡£²»¹ýÔÚÕâ¸ö Blog ÉÏÁôÑÔµÄÈ·Óû§ÌåÑéºÜÔã¸â(ÎÒÒ²ºÜ·³),ÏàÐű¾ÖÜÄ©Äܵõ½½â¾ö¡£ --EOF--Ïà¹ØÎÄÕÂ|Related ArticlesAWStats 6.7 Õýʽ°æ·¢²¼Íøվͳ¼Æϵͳ--ÖйúÑÅ»¢Ð²úƷͼƬ·ÀµÁÁ´Ó¦ÊʿɶøÖ¹Web 2.0 Õ¾µãÀ©Õ¹ÐÔÎÊÌâËæ¸ÐÆÀÂÛÊýÁ¿(15)|Add Comments±¾ÎÄÍøÖ·£ºhttp://www.dbanotes.net/arch/douban_web_server.html ×î½ü×÷Õß»¹ËµÁËʲô? Follow Twitter / FenngThings you can do from here:Subscribe to DBA notes using Google ReaderGet started using Google Reader to easily keep up with all your favorite sites  --~--~---------~--~----~------------~-------~--~----~ "Copy&Paste; Exchange" group.http://groups-beta.google.com/group/mindex?hl=zh-CN -~----------~----~----~----~------~----~------~--~--- --'''Time is unimportant, only life important!¹ý³Ì¸Ä½øÄËÊÇ¿ªÊ¼´ßÉú¿É´ÙÉú¿¿Æ×µÄÈ˵Ä×éÖ¯!''' http://zoomquiet.org²© @ http://blog.zoomquiet.org/pyblosxom/ά @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet ¶¹ @ http://www.douban.com/people/zoomq/ ¿´ @ http://zoomq.haokanbu.com/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Pls. usage OOo to replace M$ Office. http://zh.openoffice.org Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.orgYou can get the truely Freedom 4 software._______________________________________________python-chinesePost: send python-chinese在lists.python.cnSubscribe: send subscribe to python-chinese-request在lists.python.cnUnsubscribe: send unsubscribe to   python-chinese-request在lists.python.cnDetail Info: http://python.cn/mailman/listinfo/python-chinese -- Ray Stinger, nickname Lich_RayGod is in his heaven, all's right with the world.-------------------------------------------------let focus = 'computing' in where: http://lichray.javaeye.comlet focus = 'computing' in here:http://lichray.bokeland.com 
_________________________________________________________________
MSN ÖÐÎÄÍø£¬×îÐÂʱÉÐÉú»î×ÊѶ£¬°×Áì¾Û¼¯ÃÅ»§¡£
http://cn.msn.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080117/be2b8387/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月17日 星期四 23:10

leopay leopay在gmail.com
星期四 一月 17 23:10:53 HKT 2008

On 1/17/08, cunheise <cunheise在hotmail.com> wrote:
>
> ²»ÖªµÀÕâÀïµÄ¶¯Ì¬pvÖ»µÄÊÇÄÇЩ
> ÿ¸örequest¶¼Òª¶Ádb£¬È»ºógenerate html pageÂð£¿
>

°¢±±Ëµ¹ýÀïÃæÓÃÁ˺ܶàµÄcache



  ------------------------------
> Date: Thu, 17 Jan 2008 21:57:39 +0800
> From: cougar2008在gmail.com
> To: python-chinese在lists.python.cn
> Subject: Re: [python-chinese] Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
>
> apacheÏÖÔÚ±»ÑÏÖرÉÊÓ°¡£¬ÄѵÀÕæµÄÀÏÁË£¿
>
>  ------------------------------
>  cougar2008
> 2008-01-17
>  ------------------------------
>  *·¢¼þÈË£º* Lich_Ray
> *·¢ËÍʱ¼ä£º* 2008-01-17 21:03:36
> *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> *³­ËÍ£º* cpug-eastchina在googlegroups.com; Python.cn在google;
> zpug在googlegroups.com
> *Ö÷Ì⣺* Re: [python-chinese]Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
>
> ·Ç³£·Ç³£µÄÅå·þ£¬ËäÈ»ÒѾ­²Âµ½ÊÇlighttpd£¬µ«Õâ¸öÄÜÁ¿£¬²»ÖªµÀÊDz»ÊÇʹÓÃÁËPythonµÄÇáÁ¿¼¶Ï߳̿⡣
>
> ÔÚ08-1-17£¬*Zoom. Quiet* < zoom.quiet在gmail.com> дµÀ£º
>
> ÒѾ­ÓÐÈ˳ÖÐø¹Ø×¢³É¹¦µÄPy ÍøÕ¾ÁËÄÄ,
> ºÃ¿´Ò²¿ÉÒԅfͬ¶¹°ê,PK Ò»ÏÂÏìÓ¦Ôö³¤ºÍϵͳ½á¹¹µÄ¾­ÑéÁËÄÄ,
> BPyUG µÄ»á¿Î,¶¹°êÏûʧºÜ¾ÃÁË,Õл½ÄÄ^__^
>
> ---------- Forwarded message ----------
> From: ? < beatlescc在gmail.com>
> Date: 2008/1/17
> Subject: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷
> To: Copy&Paste; ExchangeС×é <mindex在googlegroups.com>
>
>
>
>
> Sent to you by ? via Google Reader:
>
>
>
> ¶¹°êµÄ Web ·þÎñÆ÷
> via DBA notes by Fenng on 1/16/08
>
>
> ×÷ÕߣºFenng ·¢²¼ÔÚ dbanotes.net. ¶©ÔÄ DBA notes
>
> ¶¹°ê×î½ü·¢²¼Ð¹¦ÄÜÓÐЩ"·è¿ñ"£¬ËùÒÔ·þÎñÆ÷Ò²ÓÐеIJ¿Ê𡣿´µ½°¢±±Í¬Ñ§ÔÚ¶¹°ê¹ã²¥Àï˵£º ¶¹°êµÄµÚ¶þ̨ӦÓ÷þÎñÆ÷ÖÕÓÚͶÈëÁËʹÓá£Hongqn
> æÁËÒ»ÍíÉϾÍÍê³ÉÁ˲¿Êð¡£µÚһ̨·þÎñÆ÷Ö§³Åµ½ 500 Íò¶¯Ì¬PV/Ì죬·þÎñ On Demand ¼´Ê±·Ö²¼Ê½²¿Êð......
>
>
> 500 Íò PV , »¹ÊǶ¯Ì¬ PV, ÊǸöºÜ¾ªÈ˵ÄÊý×Ö¡£ÒòΪ£¬Èç¹û¶¼Äܴﵽһ̨»úÆ÷Ö§³Å 500 Íò£¬ÄÇô¹úÄÚÉÔÓеã¹æÄ£µÄÍøÕ¾(¾Í˵¶¯Ì¬
> PV ÉÏÒڵİÉ)£¬Ö»ÐèÒª 20 ̨ Web ·þÎñÆ÷¾Í¹»ÁË¡£ÊÂʵÉÏ£¬¼´Ê¹±È½ÏÇ¿µ÷¼¼ÊõµÄÍøÕ¾ÅÂÒ²ÒªÉÏ°Ų̀ Web ·þÎñÆ÷µÄ¹æÄ£¡£
>
> ÎÒÃÇÖªµÀ¶¹°êÓà Lighttpd ×ö Web ·þÎñÆ÷¡£ ´ÓÕì²âµ½µÄÊý¾Ý¿´£¬Ä¿Ç°ÏßÉÏÓÐÁ½¸ö°æ±¾¡£ $ curl -I
> http://www.douban.com
> HTTP/1.1 200 OK
> .....(ÎÞ¹ØÄÚÈÝÂÔ)
> Server: lighttpd/1.4.15
>
>
> ÁíÍâÒ»¸ö°æ±¾£º $ curl -I http://www.douban.com/people/ahbei/
> HTTP/1.1 200 OK
> .....(ÎÞ¹ØÄÚÈÝÂÔ)
> Server: lighttpd/1.4.18
>
>
> Æäʵ¶¹°ê·þÎñÆ÷»¹Óиö¸üΪ¾ªÈ˵ÄÐÔÄÜÊý×Ö¡£´ÓÕâ¸ö Powered by Lighttpd µÄÁбíÀ´¿´£¬¶¹°êÔÚһ̨ Gentoo
> ·þÎñÆ÷ÉϵļǼÊÇ 1200 Íò/ÌìµÄµã»÷Á¿¡£ÕâÓ¦¸ÃÊǶ¯¡¢¾²Ì¬Ò³Ãæ»ìºÏÇé¿öϵİɡ£
>
> ÓÐͬʶÔÕâ¸öÊý¾ÝÓÐЩºÃÆ棬ÎÊÎÒµ½µ×¶¹°êÊÇÓÃɶ×öµÄ·þÎñÆ÷£¬ÆäʵÕâ¸öÎÊÌâÎÒÒ²Îʹý°¢±±£¬ËûÃǾÍÊÇ×Ô¼ºÔÜµÄ PC
> ·þÎñÆ÷£¬È»ºó°ÑÐÔÄÜ·¢»Óµ½¼«Ö¡£°¢±±Ò²±íʾ¹ý£¬¼´Ê¹ÏÖÔÚ¶¹°êÁ÷Á¿¼¤Ôö¸öÊ®±¶É¶µÄÐÔÄÜÒ²²»»áÊÇÎÊÌâ¡£ÕâÒ²ÊÇ´ÓÆðʼ¾Í¿¼ÂÇÀ©Õ¹ÐÔµÄÊÕÒæ°É¡£
>
> ÕâÀïÕâλÀÏÐÖÓà Æ߸ö Mongrels ʵÀý(Ò²ÊÇһ̨Server)ÅÜÁË 55 Íò PV (thanks Robin ¾ÀÕý)
> ¾ÍÂù×ÔºÀµÄ£¬ËùÒÔ¶¹°êµÄһ̨ÅÜÁË"500 Íò¶¯Ì¬ PV" µÄÈ··Ç³£¾ªÈË¡£
>
> Updated 2008-1-17 0:57:09
>
> °¢±±ÁôÑÔÁË¡£Ö÷ÒªÊÇÉÏÃæµÄÓеÄÊý¾Ý»¹ÊǾɵÄ: Lighty
> ÍøÕ¾ÉϵÄÊý×ֺܾÃûÓÐÈ¥¸üÐÂÁË¡£ÏÖÔÚ¶¹°êµÄweb·þÎñÆ÷(lighttpd)ÿÌì¹À¼Æ2500Íò Hits, ¸ß·åʱ¼ä´óÔ¼1000 req/s
> (ÕâÀï˵µÄÊÇÖ÷ÒªÊä³öHTML/CSS/JSºÍСͼƬµÄһ̨ǰ¶Ë¡£´óͼƬÓÐÁíÍâµÄweb·þÎñÆ÷)¡£
> ÎÒÔڹ㲥Àï˵500ÍòPV/ÌìµÄÊÇÓ¦Ó÷þÎñÆ÷£¬¾ÍÊÇlightyºÍmysqlÖ®¼äÅÜpythonµÄÄÇ̨¡£ÏÖÔÚ¶¹°ê´ó¶àÊýPVÀ´×Ô×¢²áÓû§£¬Ã¿¸öÒ³Ã涼ÐèÒª¼¸µ½Ê®¼¸ÖÖÀàµÄ¶¯Ì¬Êý¾Ý¡£
>
> ÏÖÔڵķþÎñÆ÷Ö»Êǵ¥Æ¬Ë«ºËµÄopteron¡£»»4ºËµÄ»°£¬Ó¦¸ÃÄܵ½Ò»Ì¨1000ÍòPV/ Ìì¡£
>
>
> ÓÑÇéÌáÐÑ£¬ÁôÑԺܾ«²Ê£¬¾´Çë²é¿´¡£²»¹ýÔÚÕâ¸ö Blog ÉÏÁôÑÔµÄÈ·Óû§ÌåÑéºÜÔã¸â(ÎÒÒ²ºÜ·³),ÏàÐű¾ÖÜÄ©Äܵõ½½â¾ö¡£ --EOF--
>
> Ïà¹ØÎÄÕÂ|Related Articles
>
>
> AWStats 6.7 Õýʽ°æ·¢²¼
> Íøվͳ¼Æϵͳ--ÖйúÑÅ»¢Ð²úÆ·
> ͼƬ·ÀµÁÁ´Ó¦ÊʿɶøÖ¹
> Web 2.0 Õ¾µãÀ©Õ¹ÐÔÎÊÌâËæ¸Ð
>
> ÆÀÂÛÊýÁ¿(15)|Add Comments
>
> ±¾ÎÄÍøÖ·£ºhttp://www.dbanotes.net/arch/douban_web_server.html
> ×î½ü×÷Õß»¹ËµÁËʲô? Follow Twitter / Fenng
>
>
>
>
>
>
> Things you can do from here:
> Subscribe to DBA notes using Google Reader
> Get started using Google Reader to easily keep up with all your favorite
> sites
>
>   --~--~---------~--~----~------------~-------~--~----~
> "Copy&Paste; Exchange" group.
> http://groups-beta.google.com/group/mindex?hl=zh-CN
> -~----------~----~----~----~------~----~------~--~---
>
>
>
>
> --
> '''Time is unimportant, only life important!
> ¹ý³Ì¸Ä½øÄËÊÇ¿ªÊ¼´ßÉú¿É´ÙÉú¿¿Æ×µÄÈ˵Ä×éÖ¯!
> ''' http://zoomquiet.org
> ²© @ http://blog.zoomquiet.org/pyblosxom/
> ά @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> ¶¹ @ http://www.douban.com/people/zoomq/
> ¿´ @ http://zoomq.haokanbu.com/
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
> Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
> You can get the truely Freedom 4 software.
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> Ray Stinger, nickname Lich_Ray
> God is in his heaven, all's right with the world.
> -------------------------------------------------
> let focus = 'computing' in where:
> http://lichray.javaeye.com
> let focus = 'computing' in here:
> http://lichray.bokeland.com
>
>
> ------------------------------
> ÇáËÉ°ÑHotmailÏÂÔص½±¾µØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢¼´³¢ÊÔ£¡ <http://get.live.com/wl/all>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080117/7bc40aa3/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 11:36

Qiangning Hong hongqn在gmail.com
星期五 一月 18 11:36:58 HKT 2008

2008/1/17 Lich_Ray <solo.lich在gmail.com>:
> 非常非常的佩服,虽然已经猜到是lighttpd,但这个能量,不知道是不是使用了Python的轻量级线程库。

没有。就是用scgi fork出一批进程,每个都是单线程。用单线程可以不用在代码中考虑线程安全的事情,让代码简单点。

-- 
Qiangning Hong
http://www.douban.com/people/hongqn/

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 11:40

Qiangning Hong hongqn在gmail.com
星期五 一月 18 11:40:39 HKT 2008

2008/1/17 cunheise <cunheise在hotmail.com>:
>  不知道这里的动态pv只的是那些

你访问一次首页,就是一个动态pv。

>  每个request都要读db,然后generate html page吗?

如果没有cache的话,是的。但绝大多数的数据库访问都已经在cache里了。

-- 
Qiangning Hong
http://www.douban.com/people/hongqn/

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 11:43

cunheise cunheise在hotmail.com
星期五 一月 18 11:43:26 HKT 2008

·¢Ò»ÏÂserverµÄÅäÖðÉ> Date: Fri, 18 Jan 2008 11:40:39 +0800> From: hongqn在gmail.com> To: python-chinese在lists.python.cn> Subject: Re: [python-chinese] Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷> > 2008/1/17 cunheise <cunheise在hotmail.com>:> > ²»ÖªµÀÕâÀïµÄ¶¯Ì¬pvÖ»µÄÊÇÄÇЩ> > Äã·ÃÎÊÒ»´ÎÊ×Ò³£¬¾ÍÊÇÒ»¸ö¶¯Ì¬pv¡£> > > ÿ¸örequest¶¼Òª¶Ádb£¬È»ºógenerate html pageÂð£¿> > Èç¹ûûÓÐcacheµÄ»°£¬Êǵġ£µ«¾ø´ó¶àÊýµÄÊý¾Ý¿â·ÃÎʶ¼ÒѾ­ÔÚcacheÀïÁË¡£> > -- > Qiangning Hong> http://www.douban.com/people/hongqn/> _______________________________________________> python-chinese> Post: send python-chinese在lists.python.cn> Subscribe: send subscribe to python-chinese-request在lists.python.cn> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn> Detail Info: http://python.cn/mailman/listinfo/python-chinese
_________________________________________________________________
Windows Live Photo gallery ÊýÂëÏà»úµÄ³¬¼¶°é£¬ÇáËɹÜÀíºÍ±à¼­ÕÕƬ£¬»¹ÄÜÖÆ×÷È«¾°ÃÀͼ£¡
http://get.live.cn/product/photo.html
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080118/ca33c97c/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 11:46

cunheise cunheise在hotmail.com
星期五 一月 18 11:46:47 HKT 2008

ÎÒµÄÒâ˼ÊÇÓ²¼þÅäÖÃ


From: cunheise在hotmail.comTo: python-chinese在lists.python.cnDate: Fri, 18 Jan 2008 03:43:26 +0000Subject: [python-chinese] RE: Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷


·¢Ò»ÏÂserverµÄÅäÖðÉ> Date: Fri, 18 Jan 2008 11:40:39 +0800> From: hongqn在gmail.com> To: python-chinese在lists.python.cn> Subject: Re: [python-chinese] Fwd: [CPeX] ¶¹°êµÄ Web ·þÎñÆ÷> > 2008/1/17 cunheise <cunheise在hotmail.com>:> > ²»ÖªµÀÕâÀïµÄ¶¯Ì¬pvÖ»µÄÊÇÄÇЩ> > Äã·ÃÎÊÒ»´ÎÊ×Ò³£¬¾ÍÊÇÒ»¸ö¶¯Ì¬pv¡£> > > ÿ¸örequest¶¼Òª¶Ádb£¬È»ºógenerate html pageÂð£¿> > Èç¹ûûÓÐcacheµÄ»°£¬Êǵġ£µ«¾ø´ó¶àÊýµÄÊý¾Ý¿â·ÃÎʶ¼ÒѾ­ÔÚcacheÀïÁË¡£> > -- > Qiangning Hong> http://www.douban.com/people/hongqn/> _______________________________________________> python-chinese> Post: send python-chinese在lists.python.cn> Subscribe: send subscribe to python-chinese-request在lists.python.cn> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn> Detail Info: http://python.cn/mailman/listinfo/python-chinese

ʹÓÃÐÂÒ»´ú Windows Live Messenger ÇáËɽ»Á÷ºÍ¹²Ïí£¡ Á¢¼´ÌåÑ飡 
_________________________________________________________________
MSN ÖÐÎÄÍø£¬×îÐÂʱÉÐÉú»î×ÊѶ£¬°×Áì¾Û¼¯ÃÅ»§¡£
http://cn.msn.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20080118/8d8524b7/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 12:59

Qiangning Hong hongqn在gmail.com
星期五 一月 18 12:59:51 HKT 2008

2008/1/18 cunheise <cunheise在hotmail.com>:
>  我的意思是硬件配置

跑python的应用服务器的配置:

单片双核 2.4G nocona / 8G DDR2 / 250G SATA * 3 / 1U机箱

-- 
Qiangning Hong
http://www.douban.com/people/hongqn/

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 13:25

Leo Jay python.leojay在gmail.com
星期五 一月 18 13:25:32 HKT 2008

2008/1/18 Qiangning Hong <hongqn在gmail.com>:
> 2008/1/18 cunheise <cunheise在hotmail.com>:
> >  我的意思是硬件配置
>
> 跑python的应用服务器的配置:
>
> 单片双核 2.4G nocona / 8G DDR2 / 250G SATA * 3 / 1U机箱
>


SATA*3 ? RAID5么?

-- 
Best Regards,
Leo Jay

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2008年01月18日 星期五 13:29

Qiangning Hong hongqn在gmail.com
星期五 一月 18 13:29:50 HKT 2008

2008/1/18 Leo Jay <python.leojay在gmail.com>:
> SATA*3 ? RAID5么?

no.  2块做raid1,1块不做raid

-- 
Qiangning Hong
http://www.douban.com/people/hongqn/

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号