zoukankan      html  css  js  c++  java
  • webServer qhttp

    502 Bad Gateway qhttpd Server The proxy server received an invalid response from upstream server.

    Netcraft.com

    http://masterkey.iteye.com/blog/341296

    Netcraft 2009年2月的Web Server调查显示,中国Web Server QZHTTP使用量如同火箭般的极速上升。此次共调查了215,675,903个网站,数量比上月增加了16%。使用QZHTTP的网站数量从上月的3 个,匪夷所思的增加到20,021,763个,从零升到9.28%;Apache略降3.67%,占总调查网站数量的48.59%;微软的IIS降 3.72%,占总数的29.18%。



    QQ是中国使用最广泛的IM工具,QZHTTP是QQ为旗下数百万Qzone网站使用的Web Server。现在Qzone已经成为世界上最大的BSP(博客服务提供商),超过了Windows Live Spaces,Blogger和MySpace。这是不是意味着我们即将进入新的Web server时代?

    来源:solidot

    08年6月份的Web服务器排名

    http://www.blogjava.net/GoKu/archive/2008/07/06/212860.html

    VendorProductWeb Sites
    ApacheApache84,309,103
    MicrosoftIIS60,987,087
    GoogleGFE10,465,178
    UnknownUnknown4,903,174
    nginx nginx 2,125,160
    OverseeOversee1,953,848
    lighttpdlighttpd1,532,952
    OtherOther1,150,202
    GNRGNR425,029
    ZeusZeus405,724
    IdeaWebServerIdeaWebServer382,524
    SunSun-ONE-Web-Server349,704
    ApacheCoyote338,376
    ResinResin321,746
    JettyJetty259,558

    闻所未闻的QZHTTP 据称现在排行世界第三的中国Web Server

    http://panpan.blog.51cto.com/489034/134281

    什么是QZHTTP?Web Server我见过很多,开源界大哥Apache,微软帝国的IIS,俄罗斯牛B的Nginx,刚起步的Cherokee,功能强大但商业性质浓厚的Zeus,etc。唯独这个QZHTTP,没见过。
         “Netcraft 2009年2月的Web Server调查显示,中国Web Server QZHTTP使用量如同火箭般的极速上升。此次共调查了215,675,903个网站,数量比上月增加了16%。使用QZHTTP的网站数量从上月的3 个,匪夷所思的增加到20,021,763个,从零升到9.28%;Apache略降3.67%,占总调查网站数量的48.59%;微软的IIS降 3.72%,占总数的29.18%。 QQ是中国使用最广泛的IM工具,QZHTTP是QQ为旗下数百万Qzone网站使用的Web Server。现在Qzone已经成为世界上最大的BSP(博客服务提供商),超过了Windows Live Spaces,Blogger和MySpace。这是不是意味着我们即将进入新的Web server时代?”——引用自Solidot。
         不得了,一下飙升这么多,为什么呢?原来,QQ空间对每个空间用户分配一个以QQ号码开头的子域名,而QQ空间最近号称全球之最,起用户数量可想而知,因此,也不会觉得意外。
         让我们来看看腾讯的网站的服务器信息:
         #curl --head http://www.qq.com
         HTTP/1.0 200 OK
         Date: Wed, 25 Feb 2009 16:06:33 GMT
         Server: Apache
         Accept-Ranges: bytes
         Cache-Control: max-age=120
         Expires: Wed, 25 Feb 2009 16:08:33 GMT
         Vary: Accept-Encoding
         Content-Type: text/html; charset=GB2312
         Age: 11
         X-Cache: HIT from rainny.qq.com
         Via: 1.0 rainny.qq.com:80 (squid/2.6.STABLE5)
         Connection: close
         QQ主页使用的是Apache。

         # curl --head http://im.qq.com
         HTTP/1.1 200 OK
         Date: Wed, 25 Feb 2009 16:07:53 GMT
         Server: Apache
         Content-Type: text/html
         QQ的IM软件下载页面也是用的Apache

         # curl --head http://video.qq.com/
         HTTP/1.1 200 OK
         Server: qhttpd
         Connection: close
         Date: Wed, 25 Feb 2009 16:08:49 GMT
         Expires: Wed, 25 Feb 2009 19:08:49 GMT
         Cache-Control: max-age=10800
         Last-Modified: Wed, 25 Feb 2009 16:04:03 GMT
         Content-Type: text/html
         Content-Length: 28019
         QQ视频服务器,使用的是qhttpd(此并非QQ HTTP的意思,这是另一个比较出名开源WEB服务器)。

         # curl --head http://photo.qq.com/
         HTTP/1.1 200 OK
         Server: nginx/0.5.34
         Date: Wed, 25 Feb 2009 16:12:14 GMT
         Content-Type: text/html
         Transfer-Encoding: chunked
         Connection: keep-alive
         Expires: Wed, 25 Feb 2009 18:12:14 GMT
         Cache-Control: max-age=7200
         QQ相册,使用的是俄罗斯的Nginx

         # curl --head http://music.qq.com/
         HTTP/1.1 200 OK
         Expires: Wed, 25 Feb 2009 16:43:08 GMT
         Cache-Control: max-age=1800
         Content-Type: text/html
         Accept-Ranges: bytes
         ETag: "1399854602"
         Last-Modified: Tue, 24 Feb 2009 23:40:58 GMT
         Content-Length: 112184
         Date: Wed, 25 Feb 2009 16:13:08 GMT
         Server: dnion-svr
         Dnion-Svr?没听过

         # curl --head http://qzone.qq.com
         HTTP/1.1 200 OK
         Date: Wed, 25 Feb 2009 16:14:09 GMT
         Server: Apache
         Last-Modified: Wed, 25 Feb 2009 08:49:46 GMT
         Accept-Ranges: bytes
         Content-Length: 128633
         Cache-Control: max-age=43200
         Expires: Thu, 26 Feb 2009 04:14:09 GMT
         Vary: Accept-Encoding
         Connection: close
         Content-Type: text/html
         Qzone首页,使用的还是Apache

         # curl --head http://6645816 *.qzone.qq.com
         HTTP/1.1 200 OK
         Date: Wed, 25 Feb 2009 16:15:10 GMT
         Server: QZHTTP-2.3
         Content-type: text/html
         Content-length: 1728
         Connection: close

         今天的主角来了,QZHTTP,目前使用的是2.3版本。
         真是服了QQ,开源界的Web Server主流都有用,其中Apache使用特别多,具高手介绍,这个所谓QZHTTP与Apache有着密切关系,搞不好就是用Apache改装的。


     
    2009-03-03 11:53:36
    这也成,人海战术,曲线救国~
    短消息通知评论者

     
    2009-03-03 12:27:54
    腾讯的数据库以前不就是拿开源的MYSQL改的么,那么改APACHE也不稀奇

    博主回复:
    恩,它的后台数据库本身就是mysql的,现在也是。
    2009-03-03 16:51:31
      短消息通知评论者

     
    2009-03-03 22:13:26
    腾讯业务很多,产品特性各不相同,因为应用场景不一,所以会选用不同的组件。
    文中有几个猜测其实是不正确的。
    1.qzhttp 是专门用于fastCGI的web server跟apache没有任何关系,设计思想完全不同,没有用到apache的任何代码。用epoll双向异步非阻塞的通讯模型,用c++编写,设计者是杨帆。
    2.qhttpd 是专门用于静态页面的web server,用c编写。作者是linux行业赫赫有名的人特廖生苗的作品,此人是蓝点linux 的创始人之一。


    end
  • 相关阅读:
    【贪心】【堆】Gym
    【并查集】Gym
    【拓扑排序】【bitset】Gym
    【递归】【线段树】【堆】AtCoder Regular Contest 080 E
    【二分图】【并查集】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem L. Canonical duel
    【动态规划】【滚动数组】【bitset】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem J. Terminal
    【二分】【字符串哈希】【二分图最大匹配】【最大流】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem I. Minimum Prefix
    【枚举】【最小表示法】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem F. Matrix Game
    【推导】【构造】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem E. Space Tourists
    【推导】【贪心】XVII Open Cup named after E.V. Pankratiev Stage 14, Grand Prix of Tatarstan, Sunday, April 2, 2017 Problem D. Clones and Treasures
  • 原文地址:https://www.cnblogs.com/lindows/p/14390490.html
Copyright © 2011-2022 走看看