<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/feedsky2.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"><channel><atom:link href="http://feed.ihero.cn" type="application/rss+xml" ref="self"></atom:link><fs:self_link href="http://feed.feedsky.com/ihero" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 12 Jun 2008 02:12:45 GMT</lastBuildDate><title>ihero 体育</title><description>欢迎访问ihero.cn的博客</description><image><url>http://creativecommons.org/images/public/somerights20.png</url><title>ihero 体育</title><link>http://www.ihero.cn/blog</link></image><link>http://www.ihero.cn/blog</link><language>en</language><pubDate>Thu, 12 Jun 2008 02:12:45 GMT</pubDate><dc:date>2008-06-12T02:12:45Z</dc:date><dc:language>en</dc:language><item><title>统计用户鼠标点击过程，推断用户心理，心理归类</title><link>http://www.ihero.cn/blog/?p=80</link><content:encoded>&lt;p&gt;（转载）3年以前，一个统计分析领域的专家曾经告诉笔者，GOOGLE和百度，在技术上足够做到分析你是一个男人还是一个女的，当时听起来感觉几乎不可能的事情。&lt;/p&gt;
&lt;p&gt;07年在搜索引擎研究领域出现过一张并不是很清晰的Google和百度的鼠标点击热图(如下)，图的出处未知，让笔者很是惊讶，从图中可以看 出Google和百度用户行为的显著区别，也可以看出在这两个搜索引擎中排名网站的流量分配的大概情况。甚至，笔者联想到如果统计了用户鼠标行为的轨迹分 析，足够分析访问百度和Google用户群体的人口统计学方面的信息，比如：访客的性别、年纪等等。笔者所在的公司一直致力于数据挖掘课题的研究，深知如 果一定程度上对用户鼠标行为进行分析的话，只要找到准确的算法，是可以很明显的分辨出男性和女性在浏览同一个网页时所表现出的不同的习惯特征。这是所有基 于数据行为做识别的人的共识。&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.admin5.com/upimg/userup/35480/354P0F01010P00002b9.gif&quot; /&gt;&lt;/p&gt;
&lt;p&gt;百度和GOOGLE在互联网上，具备绝对的优势，他们甚至可以统计和分析用户的鼠标行为特点(如上图)。对于普通的站长，很明显，这些前沿的 统计数据几乎无法从传统统计器中获得，捕捉到用户在某网页上的点击事件也许并不是一个很难的事情，但是如果是要获得用户的鼠标点击热区以及鼠标在页面上滑 动的轨迹，就不是件容易的事情了，尤其是对用户鼠标滑动轨迹的分析，这个更不是一般的统计系统可以做到的，这些滑动轨迹几乎是一个天文数据，分析这些需要 极其强大的计算能力，并非国内一个个人统计系统计算能力可以达到的。&lt;/p&gt;
&lt;p&gt;目前国内的统计市场，新的入伙人有百度、雅虎，还有一个一直在中国统计器市场名不见声响的GOOGLE，这些巨无霸也都试图瓜分这个市场，他 们的意图很明显，建立一个服务于自己的体系，同时利用庞大的个人站点获取大量的用户行为特征。传统的个人网站统计，目前也是三分天下。但是笔者无意中看到 的一张图，让笔者不得不再次审视这个似乎已经各自为政，三分天下的统计领域。&lt;/p&gt;
&lt;p&gt;下图是笔者无意中获得的一张用户行为分析图，竟然是国内某家并不知名的小个人站点上的数据，笔者在这个小小的美女图片站上发现了一行陌生的统 计代码，这个代码的链接很明显的反应出另一个似乎也是统计类的站点，但是很郁闷的是，笔者顺着这个链接，并没有找到这个站点的任何资料，似乎这个站点刻意 的隐藏了自己。出于本身的职业习惯，后来笔者找到了这个小站站长的QQ，后来在和这个美女图片的个人站长交流中才知道，中国科学院下面的一个庞大的技术团 队正在试图将他们手上的数据分析技术平民化，他们测试使用的域名正是这行统计代码中的域名。后来，征得该站长的同意，笔者将一些该站数据截图显示如下：&lt;/p&gt;
&lt;p&gt;访客性别分布、访客年纪分布、访客人均收入分析、访客鼠标热区图:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.admin5.com/upimg/userup/35480/354P0F01010P00003617.gif&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.admin5.com/upimg/userup/35480/354P0F01010P00001T6.gif&quot; /&gt;&lt;/p&gt;
&lt;p&gt;从以上资料笔者看到，鼠标行为分析———统计器的另一场革命正在悄然地开始。似乎中科院计算所的小伙子们在鼠标轨迹分析上有了不小的突破，但是不清楚他们原始的统计数据来自何方。茫茫的互联网，可能某个屏幕后面深藏着一双双智慧的眼睛，他们正在孕育着新的革命。&lt;/p&gt;
&lt;p&gt;在这个个人站长的介绍下，后来笔者联系上了中科院计算所里一位负责该项目的小伙子。在QQ上和他谈到统计，他提到了一些新的概念，让我这个一 直从事于互联网统计分析的所谓“行家”汗颜。他把传统的统计，归为第一代统计。在他看来，第一代统计器只是实现了对简单数据的统计，比如：统计PV、IP 等，最多再统计到了一些URL的点击次数等，但这些统计仅仅只是局限在一个数据的层面上。在飞跃发展的互联网的今天，一个数据层面上的统计器，对站长分析 站点时，提供的帮助是极其有限的。一个单一的PV、IP数据，一个简单的关键词列表，在这些数据罗列的背后，实际上其中缺少了相当重要的概念，那就是这些 统计的URL背后人的概念。目前所有的统计器似乎都没有认识到这一点，任何网站上任何一次点击的诞生，都是由人的行为决定。一谈到这些，这位中科院年轻的 小伙子就有止不住的话往外倒。生怕笔者不明白还特意给举了例子，比如：我的网站有1000人访问，这个人群到底具备什么样子的特征?他们到底点击了我网站 的那些位置?其中是男性多，还是女性多，他们的年纪分布是怎样的?和地域到底有什么样的关系?还有，他们共同的行为特征是什么?这些在他看来，都是具备非 常大的价值的，这些信息比传统的PV、IP数字更加让人看清楚访问网站的人群是什么样子。最后，谈话快结束的时候，这位小伙子还透漏给笔者，他们现在对于 用户人口统计学方面的信息已经基本成熟，接下来他们要挑战的是用户心理学方面的统计。在他们看来，人类的所有行为都离不开心理，换句话说，人类的行为只是 心理的一个外在表现。只有真正分析出了用户的心理行为才能更有效的掌握用户行为，这才是统计器发展的最终境界。&lt;/p&gt;
&lt;p&gt;当笔者看完这段文字之后，完完全全被震撼住了，甚至差点忘了给一个回复，脑海里止不住地在想象这将是怎样可怕的统计器，而这群敢想敢做、年轻 又富有朝气的中科院的小伙子又将是怎样的一个团队，他们拥有着超人类般的创造力。如果有机会的话，笔者真希望能和他们当面谈谈关于统计器的过去和未来。&lt;/p&gt;
&lt;p&gt;最后，笔者衷心希望中科院研发的这款统计器能早日开放，为流量分析市场注入新的活力，为广大的站长朋友们提供一个全新的统计服务。&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/2ebe085b4d93777a8cd16e30fafca3ee&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/2ebe085b4d93777a8cd16e30fafca3ee/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=102470ff9b2ab68ab8b7cb24cb3e2271&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=102470ff9b2ab68ab8b7cb24cb3e2271&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7d3b3257baa4ddf0842b5f0ba7977648&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7d3b3257baa4ddf0842b5f0ba7977648&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=27d309f8adf25aaff8a015de087e5fd8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=27d309f8adf25aaff8a015de087e5fd8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3e38a29e5abd64885001583252c4d258&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3e38a29e5abd64885001583252c4d258&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=d38816fde4aecc5ca1bfe3db0db1f45b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=d38816fde4aecc5ca1bfe3db0db1f45b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=1f03d7a201167063bb785caf29bdab26&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=1f03d7a201167063bb785caf29bdab26&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=80</wfw:commentRss><description>（转载）3年以前，一个统计分析领域的专家曾经告诉笔者，GOOGLE和百度，在技术上足够做到分析你是一个男人还是一个女的，当时听起来感觉几乎不可能的事情。
07年在搜索引擎研究领域出现过一张并不是很清晰的Google和百度的鼠标点击热图(如下)，图的出处未知，让笔者很是惊讶，从图中可以看 出Google和百度用户行为的显著区别，也可以看出在这两个搜索引擎中排名网站的流量分配的大概情况。甚至，笔者联想到如果统计了用户鼠标行为的轨迹分 析，足够分析访问百度和Google用户群体的人口统计学方面的信息，比如：访客的性别、年纪等等。笔者所在的公司一直致力于数据挖掘课题的研究，深知如 果一定程度上对用户鼠标行为进行分析的话，只要找到准确的算法，是可以很明显的分辨出男性和女性在浏览同一个网页时所表现出的不同的习惯特征。这是所有基 于数据行为做识别的人的共识。

百度和GOOGLE在互联网上，具备绝对的优势，他们甚至可以统计和分析用户的鼠标行为特点(如上图)。对于普通的站长，很明显，这些前沿的 统计数据几乎无法从传统统计器中获得，捕捉到用户在某网页上的点击事件也许并不是一个很难的事情，但是如果是要获得用户的鼠标点击热区以及鼠标在页面上滑 动的轨迹，就不是件容易的事情了，尤其是对用户鼠标滑动轨迹的分析，这个更不是一般的统计系统可以做到的，这些滑动轨迹几乎是一个天文数据，分析这些需要 极其强大的计算能力，并非国内一个个人统计系统计算能力可以达到的。
目前国内的统计市场，新的入伙人有百度、雅虎，还有一个一直在中国统计器市场名不见声响的GOOGLE，这些巨无霸也都试图瓜分这个市场，他 们的意图很明显，建立一个服务于自己的体系，同时利用庞大的个人站点获取大量的用户行为特征。传统的个人网站统计，目前也是三分天下。但是笔者无意中看到 的一张图，让笔者不得不再次审视这个似乎已经各自为政，三分天下的统计领域。
下图是笔者无意中获得的一张用户行为分析图，竟然是国内某家并不知名的小个人站点上的数据，笔者在这个小小的美女图片站上发现了一行陌生的统 计代码，这个代码的链接很明显的反应出另一个似乎也是统计类的站点，但是很郁闷的是，笔者顺着这个链接，并没有找到这个站点的任何资料，似乎这个站点刻意 的隐藏了自己。出于本身的职业习惯，后来笔者找到了这个小站站长的QQ，后来在和这个美女图片的个人站长交流中才知道，中国科学院下面的一个庞大的技术团 队正在试图将他们手上的数据分析技术平民化，他们测试使用的域名正是这行统计代码中的域名。后来，征得该站长的同意，笔者将一些该站数据截图显示如下：
访客性别分布、访客年纪分布、访客人均收入分析、访客鼠标热区图:


从以上资料笔者看到，鼠标行为分析———统计器的另一场革命正在悄然地开始。似乎中科院计算所的小伙子们在鼠标轨迹分析上有了不小的突破，但是不清楚他们原始的统计数据来自何方。茫茫的互联网，可能某个屏幕后面深藏着一双双智慧的眼睛，他们正在孕育着新的革命。
在这个个人站长的介绍下，后来笔者联系上了中科院计算所里一位负责该项目的小伙子。在QQ上和他谈到统计，他提到了一些新的概念，让我这个一 直从事于互联网统计分析的所谓“行家”汗颜。他把传统的统计，归为第一代统计。在他看来，第一代统计器只是实现了对简单数据的统计，比如：统计PV、IP 等，最多再统计到了一些URL的点击次数等，但这些统计仅仅只是局限在一个数据的层面上。在飞跃发展的互联网的今天，一个数据层面上的统计器，对站长分析 站点时，提供的帮助是极其有限的。一个单一的PV、IP数据，一个简单的关键词列表，在这些数据罗列的背后，实际上其中缺少了相当重要的概念，那就是这些 统计的URL背后人的概念。目前所有的统计器似乎都没有认识到这一点，任何网站上任何一次点击的诞生，都是由人的行为决定。一谈到这些，这位中科院年轻的 小伙子就有止不住的话往外倒。生怕笔者不明白还特意给举了例子，比如：我的网站有1000人访问，这个人群到底具备什么样子的特征?他们到底点击了我网站 的那些位置?其中是男性多，还是女性多，他们的年纪分布是怎样的?和地域到底有什么样的关系?还有，他们共同的行为特征是什么?这些在他看来，都是具备非 常大的价值的，这些信息比传统的PV、IP数字更加让人看清楚访问网站的人群是什么样子。最后，谈话快结束的时候，这位小伙子还透漏给笔者，他们现在对于 用户人口统计学方面的信息已经基本成熟，接下来他们要挑战的是用户心理学方面的统计。在他们看来，人类的所有行为都离不开心理，换句话说，人类的行为只是 心理的一个外在表现。只有真正分析出了用户的心理行为才能更有效的掌握用户行为，这才是统计器发展的最终境界。
当笔者看完这段文字之后，完完全全被震撼住了，甚至差点忘了给一个回复，脑海里止不住地在想象这将是怎样可怕的统计器，而这群敢想敢做、年轻 又富有朝气的中科院的小伙子又将是怎样的一个团队，他们拥有着超人类般的创造力。如果有机会的话，笔者真希望能和他们当面谈谈关于统计器的过去和未来。
最后，笔者衷心希望中科院研发的这款统计器能早日开放，为流量分析市场注入新的活力，为广大的站长朋友们提供一个全新的统计服务。&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/2ebe085b4d93777a8cd16e30fafca3ee&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/2ebe085b4d93777a8cd16e30fafca3ee/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=102470ff9b2ab68ab8b7cb24cb3e2271&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=102470ff9b2ab68ab8b7cb24cb3e2271&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7d3b3257baa4ddf0842b5f0ba7977648&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7d3b3257baa4ddf0842b5f0ba7977648&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=27d309f8adf25aaff8a015de087e5fd8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=27d309f8adf25aaff8a015de087e5fd8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3e38a29e5abd64885001583252c4d258&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3e38a29e5abd64885001583252c4d258&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=d38816fde4aecc5ca1bfe3db0db1f45b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=d38816fde4aecc5ca1bfe3db0db1f45b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=1f03d7a201167063bb785caf29bdab26&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=1f03d7a201167063bb785caf29bdab26&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Thu, 12 Jun 2008 10:12:45 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=80#comments</comments><guid isPermaLink="false">http://ihero.cn/blog/?p=80</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=80</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442092/1234140</fs:itemid></item><item><title>搜索引擎如何缓存</title><link>http://www.ihero.cn/blog/?p=79</link><content:encoded>&lt;blockquote&gt;搜索引擎技术里面的一个比较关键的技术：搜索结果缓存。如何实现的呢？缓存技术已经很多，但是对于搜索结果的如何缓存？我写写我的想法，希望能和大家一起讨论。在写想法前，说下搜索结果缓存如何重要：像baidu，google这样的搜索引擎，没有缓存，对用户每次的搜索都需要每台分布式服务器同时进行运算，然后合并出结果，由于众多的分布式服务器，以及复杂的合并算法，都是非常耗时的，如何能抗得住大量用户并发同时搜索，没有结果缓存，是不行的。&lt;/p&gt;
&lt;p&gt;第一种想法，比如在baidu搜索，它如何缓存？比如搜索“罗罗”，缓存第一页数据，但是可能别人搜索“罗罗体育”，这样又缓存一份第一页数据。虽然对每个关键字对应的结果进行只缓存第一页，那也会很多，不是很现实。 何况看得出他们不只是缓存第一页。&lt;/p&gt;
&lt;p&gt;第二种想法，由于baidu，google有大量的分布式存储服务器，让每个分布式服务器都做自己的缓存，那么，对于运算合并的效率并没有提高，其实搜索结果排序合并也是影响效率不可忽略的大模块，这种方法不是很好。&lt;/p&gt;
&lt;p&gt;第三种想法，对搜索合并结果进行重做索引，也就是我们把分布式运算过来的数据在这里重新做索引，好处是减少下次的分布式搜索和对每台分布式返回结果进行排序合并的过程，下次搜索只到这个小缓存索引中搜索，相当于分布式搜索服务器中的一台，但是这台是很多服务器已经精选出来的内容。这样的缓存需要控制量，比如“罗罗”缓存了前1000篇文章，“体育”缓存了前1000篇文章，如果搜索“罗罗体育”，他们的交集只有100篇，我们可以猜测搜索出的结果个数10w，那么就显示搜索结果个数约10w个（baidu，google结果都是约，而且最后两位都是零），到了101篇去分布式搜索，用户一般很少翻到那么深，而且baidu，google只显示300页。&lt;/p&gt;
&lt;p&gt;最后，最好就是这些缓存方法相结合，也就是，对搜索全部完全缓存，然后&amp;#8230;&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/40b7a54b40e1a6f6c432eb5abaa888be&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/40b7a54b40e1a6f6c432eb5abaa888be/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8c4554d8cd54b0c02d233a60938dceb6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8c4554d8cd54b0c02d233a60938dceb6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=47658db1c8ef063612e177b795a79f16&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=47658db1c8ef063612e177b795a79f16&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5ca627a45ee2a710fbef479920943cd9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5ca627a45ee2a710fbef479920943cd9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=4c43b2059ebdcdfd5540e7f5d77c12f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=4c43b2059ebdcdfd5540e7f5d77c12f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3871bec12f3d933ea47f56da7c034de6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3871bec12f3d933ea47f56da7c034de6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3728c2c3a1a193bbf170d41b9c03d42a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3728c2c3a1a193bbf170d41b9c03d42a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=79</wfw:commentRss><description>搜索引擎技术里面的一个比较关键的技术：搜索结果缓存。如何实现的呢？缓存技术已经很多，但是对于搜索结果的如何缓存？我写写我的想法，希望能和大家一起讨论。在写想法前，说下搜索结果缓存如何重要：像baidu，google这样的搜索引擎，没有缓存，对用户每次的搜索都需要每台分布式服务器同时进行运算，然后合并出结果，由于众多的分布式服务器，以及复杂的合并算法，都是非常耗时的，如何能抗得住大量用户并发同时搜索，没有结果缓存，是不行的。
第一种想法，比如在baidu搜索，它如何缓存？比如搜索“罗罗”，缓存第一页数据，但是可能别人搜索“罗罗体育”，这样又缓存一份第一页数据。虽然对每个关键字对应的结果进行只缓存第一页，那也会很多，不是很现实。 何况看得出他们不只是缓存第一页。
第二种想法，由于baidu，google有大量的分布式存储服务器，让每个分布式服务器都做自己的缓存，那么，对于运算合并的效率并没有提高，其实搜索结果排序合并也是影响效率不可忽略的大模块，这种方法不是很好。
第三种想法，对搜索合并结果进行重做索引，也就是我们把分布式运算过来的数据在这里重新做索引，好处是减少下次的分布式搜索和对每台分布式返回结果进行排序合并的过程，下次搜索只到这个小缓存索引中搜索，相当于分布式搜索服务器中的一台，但是这台是很多服务器已经精选出来的内容。这样的缓存需要控制量，比如“罗罗”缓存了前1000篇文章，“体育”缓存了前1000篇文章，如果搜索“罗罗体育”，他们的交集只有100篇，我们可以猜测搜索出的结果个数10w，那么就显示搜索结果个数约10w个（baidu，google结果都是约，而且最后两位都是零），到了101篇去分布式搜索，用户一般很少翻到那么深，而且baidu，google只显示300页。
最后，最好就是这些缓存方法相结合，也就是，对搜索全部完全缓存，然后&amp;#8230;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/40b7a54b40e1a6f6c432eb5abaa888be&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/40b7a54b40e1a6f6c432eb5abaa888be/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8c4554d8cd54b0c02d233a60938dceb6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8c4554d8cd54b0c02d233a60938dceb6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=47658db1c8ef063612e177b795a79f16&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=47658db1c8ef063612e177b795a79f16&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5ca627a45ee2a710fbef479920943cd9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5ca627a45ee2a710fbef479920943cd9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=4c43b2059ebdcdfd5540e7f5d77c12f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=4c43b2059ebdcdfd5540e7f5d77c12f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3871bec12f3d933ea47f56da7c034de6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3871bec12f3d933ea47f56da7c034de6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3728c2c3a1a193bbf170d41b9c03d42a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3728c2c3a1a193bbf170d41b9c03d42a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Thu, 29 May 2008 13:40:47 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=79#comments</comments><guid isPermaLink="false">http://www.ihero.cn/blog/?p=79</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=79</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442093/1234140</fs:itemid></item><item><title>地震，为灾区人民祈福</title><link>http://www.ihero.cn/blog/?p=78</link><content:encoded>&lt;p&gt;        这几天天天看灾区报道，那里的人们实在不幸，运气不好。&lt;strong&gt;为灾区人民祈福&lt;/strong&gt;。&lt;br /&gt;
电脑突然瞬间一晃，我晕的有点想吐的感觉，第一反应是以为工作太累了，难道IT这个行业这么费人，我觉得我还很年轻。&lt;/p&gt;
&lt;p&gt;感谢远方的哥给我打电话，亲哥知道我们没事，震中不是北京，听见远方的他放心我，回味亲情。&lt;/p&gt;
&lt;p&gt;看着灾区的亲们，他们有的因为获救或者亲人相聚，流露的开心，让我感动；也有哭泣让我们沉痛，我这些天确实感到了，&lt;strong&gt;我们都是一个大家庭，心连心 &lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;电视上不断地出示着捐献方式，我lp做为一个普通共 产 党 军 人，她捐了500，比我这个it人只通过短信捐了2元多多了。&lt;/p&gt;
&lt;p&gt;我大学献过血，几次验血都通过，周末本打算献血去，听说也可以增加产血功能，而且能验血 ，看到报道血库满了，强，我们中国人民的热心真的太强了，人民太伟大了。&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/37916354a00b33eb089299b301bbcf6d&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/37916354a00b33eb089299b301bbcf6d/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=046320f605feb09b92cc0b509caf7b3d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=046320f605feb09b92cc0b509caf7b3d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=75344ab79e451b6d273619506336455c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=75344ab79e451b6d273619506336455c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ffcc6479e5d30aca4f92c9b97e3a26e6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ffcc6479e5d30aca4f92c9b97e3a26e6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=e351977d1657dfcdefb707c7317d38a4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=e351977d1657dfcdefb707c7317d38a4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=94701033f74f0b9396f6fc31e739d119&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=94701033f74f0b9396f6fc31e739d119&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=a4444d1163e97c27bc9dab222b6cf892&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=a4444d1163e97c27bc9dab222b6cf892&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=78</wfw:commentRss><description>        这几天天天看灾区报道，那里的人们实在不幸，运气不好。为灾区人民祈福。
电脑突然瞬间一晃，我晕的有点想吐的感觉，第一反应是以为工作太累了，难道IT这个行业这么费人，我觉得我还很年轻。
感谢远方的哥给我打电话，亲哥知道我们没事，震中不是北京，听见远方的他放心我，回味亲情。
看着灾区的亲们，他们有的因为获救或者亲人相聚，流露的开心，让我感动；也有哭泣让我们沉痛，我这些天确实感到了，我们都是一个大家庭，心连心 。
电视上不断地出示着捐献方式，我lp做为一个普通共 产 党 军 人，她捐了500，比我这个it人只通过短信捐了2元多多了。
我大学献过血，几次验血都通过，周末本打算献血去，听说也可以增加产血功能，而且能验血 ，看到报道血库满了，强，我们中国人民的热心真的太强了，人民太伟大了。&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/37916354a00b33eb089299b301bbcf6d&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/37916354a00b33eb089299b301bbcf6d/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=046320f605feb09b92cc0b509caf7b3d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=046320f605feb09b92cc0b509caf7b3d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=75344ab79e451b6d273619506336455c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=75344ab79e451b6d273619506336455c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ffcc6479e5d30aca4f92c9b97e3a26e6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ffcc6479e5d30aca4f92c9b97e3a26e6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=e351977d1657dfcdefb707c7317d38a4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=e351977d1657dfcdefb707c7317d38a4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=94701033f74f0b9396f6fc31e739d119&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=94701033f74f0b9396f6fc31e739d119&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=a4444d1163e97c27bc9dab222b6cf892&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=a4444d1163e97c27bc9dab222b6cf892&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Fri, 16 May 2008 23:40:30 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=78#comments</comments><guid isPermaLink="false">http://www.lolosport.com/blog/?p=78</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=78</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442094/1234140</fs:itemid></item><item><title>搜索整体架构流程图</title><link>http://www.ihero.cn/blog/?p=77</link><content:encoded>&lt;p&gt;&lt;img src=&quot;http://www.lolosport.com/blog/image/searchframe.jpg&quot; title=&quot;搜索整体架构图&quot; alt=&quot;搜索整体架构图&quot; height=&quot;322&quot; width=&quot;763&quot; /&gt;&lt;/p&gt;
&lt;p&gt;1：索引和搜索虽然可以分开，但是如何保证时效性，就是2个共享一个索引库，如何同步，把新索引的如何及时提供给搜索，就是相当与文件系统的flush才能从内存写入文件中。有几个想法&lt;/p&gt;
&lt;p&gt;2：分布式：底层socket包装，如何把结果交给前端应用，需要对每个结果合并。&lt;/p&gt;
&lt;p&gt;3：合并后可以通过ICE/socket进行输出，这块需要多线程并发到后端通过soket取数据，然后进行合并，注意线程锁的死锁问题&lt;/p&gt;
&lt;p&gt;4：缓存是搜索的核心，没有好的缓存机制，像google等是无法抵抗大数据量的并发请求，这个阶段暂不要求，想法到是有几个&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/01b938d3b4fdd1c3e7f88408a1bd3ad7&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/01b938d3b4fdd1c3e7f88408a1bd3ad7/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5a6350520858e1d398cace93639d27ad&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5a6350520858e1d398cace93639d27ad&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c8f1799bf3690710521bd9e1038cd1ac&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c8f1799bf3690710521bd9e1038cd1ac&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=df6a484922b2d5725a4b6d2896d82013&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=df6a484922b2d5725a4b6d2896d82013&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c15f8d7a1debde426609e4415aa32750&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c15f8d7a1debde426609e4415aa32750&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7657d88a28eef4f951cba503ac49215d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7657d88a28eef4f951cba503ac49215d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5cd8d3a9ae1c3f234d71b610ddf749ac&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5cd8d3a9ae1c3f234d71b610ddf749ac&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=77</wfw:commentRss><description>1：索引和搜索虽然可以分开，但是如何保证时效性，就是2个共享一个索引库，如何同步，把新索引的如何及时提供给搜索，就是相当与文件系统的flush才能从内存写入文件中。有几个想法
2：分布式：底层socket包装，如何把结果交给前端应用，需要对每个结果合并。
3：合并后可以通过ICE/socket进行输出，这块需要多线程并发到后端通过soket取数据，然后进行合并，注意线程锁的死锁问题
4：缓存是搜索的核心，没有好的缓存机制，像google等是无法抵抗大数据量的并发请求，这个阶段暂不要求，想法到是有几个&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/01b938d3b4fdd1c3e7f88408a1bd3ad7&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/01b938d3b4fdd1c3e7f88408a1bd3ad7/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5a6350520858e1d398cace93639d27ad&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5a6350520858e1d398cace93639d27ad&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c8f1799bf3690710521bd9e1038cd1ac&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c8f1799bf3690710521bd9e1038cd1ac&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=df6a484922b2d5725a4b6d2896d82013&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=df6a484922b2d5725a4b6d2896d82013&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c15f8d7a1debde426609e4415aa32750&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c15f8d7a1debde426609e4415aa32750&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7657d88a28eef4f951cba503ac49215d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7657d88a28eef4f951cba503ac49215d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5cd8d3a9ae1c3f234d71b610ddf749ac&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5cd8d3a9ae1c3f234d71b610ddf749ac&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Thu, 08 May 2008 13:48:40 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=77#comments</comments><guid isPermaLink="false">http://ihero.cn/blog/?p=77</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=77</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442095/1234140</fs:itemid></item><item><title>pthread加socket</title><link>http://www.ihero.cn/blog/?p=76</link><content:encoded>&lt;p&gt;        开始之前写了一个类似jms，mom4j，safmq的一个mcc消息通讯件，对socket的服务启动，只用主进程引导，只是对socket的accept进行了pthread多线程创建，一开始就设定了accept的线程数，对每次accept的线程进行安全锁处理，不能让接收到的数据混淆不完整，从理论上也是应该使用锁的，不过我当时为了想提高效率，本想尝试不用锁，认为accept到的数据就放到了队列中了，但是理论上是要对每个线程加锁的，怕每次接收到的数据由于线程的同时并发运行使得数据的不完整还是加上了锁，效果最后证明还是很不错的，并且应用到了很多重要模块中。&lt;/p&gt;
&lt;p&gt;这次真对长期运行的socket-client做一个功能，我开始对socket的连接就进行了pthread多线程设置，因为client端，所以可以多个connect句柄，我对每次应用的send和recv进行了pthread_mutex_lock处理，为了每次send和recv的完整，正在大量并发测试，估计应该没有问题。&lt;/p&gt;
&lt;p&gt;好几天没写了，瞎写点内容，为了搜索优化和推广。&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/d2f1e60960ed9ccfa1c225d3c6600a5f&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/d2f1e60960ed9ccfa1c225d3c6600a5f/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=fd46b01c05b906b98a1351d44bd4c3c3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=fd46b01c05b906b98a1351d44bd4c3c3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f1f51ea9daf39d7a595bea5d6d3197b3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f1f51ea9daf39d7a595bea5d6d3197b3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=a81a6d1ecae974ad3d1a051da47930dd&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=a81a6d1ecae974ad3d1a051da47930dd&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=80bd1e42155d7a219cc1316419476587&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=80bd1e42155d7a219cc1316419476587&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5837c9384a5661f5e8190a9f23d09c06&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5837c9384a5661f5e8190a9f23d09c06&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8c48e370a0b882e2157bf842feec29f3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8c48e370a0b882e2157bf842feec29f3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=76</wfw:commentRss><description>        开始之前写了一个类似jms，mom4j，safmq的一个mcc消息通讯件，对socket的服务启动，只用主进程引导，只是对socket的accept进行了pthread多线程创建，一开始就设定了accept的线程数，对每次accept的线程进行安全锁处理，不能让接收到的数据混淆不完整，从理论上也是应该使用锁的，不过我当时为了想提高效率，本想尝试不用锁，认为accept到的数据就放到了队列中了，但是理论上是要对每个线程加锁的，怕每次接收到的数据由于线程的同时并发运行使得数据的不完整还是加上了锁，效果最后证明还是很不错的，并且应用到了很多重要模块中。
这次真对长期运行的socket-client做一个功能，我开始对socket的连接就进行了pthread多线程设置，因为client端，所以可以多个connect句柄，我对每次应用的send和recv进行了pthread_mutex_lock处理，为了每次send和recv的完整，正在大量并发测试，估计应该没有问题。
好几天没写了，瞎写点内容，为了搜索优化和推广。&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/d2f1e60960ed9ccfa1c225d3c6600a5f&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/d2f1e60960ed9ccfa1c225d3c6600a5f/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=fd46b01c05b906b98a1351d44bd4c3c3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=fd46b01c05b906b98a1351d44bd4c3c3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f1f51ea9daf39d7a595bea5d6d3197b3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f1f51ea9daf39d7a595bea5d6d3197b3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=a81a6d1ecae974ad3d1a051da47930dd&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=a81a6d1ecae974ad3d1a051da47930dd&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=80bd1e42155d7a219cc1316419476587&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=80bd1e42155d7a219cc1316419476587&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5837c9384a5661f5e8190a9f23d09c06&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5837c9384a5661f5e8190a9f23d09c06&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8c48e370a0b882e2157bf842feec29f3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8c48e370a0b882e2157bf842feec29f3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Tue, 29 Apr 2008 18:07:25 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=76#comments</comments><guid isPermaLink="false">http://ihero.cn/blog/?p=76</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=76</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442096/1234140</fs:itemid></item><item><title>cc视频插件需要升级方可继续使用</title><link>http://www.ihero.cn/blog/?p=75</link><content:encoded>&lt;p&gt;        倒霉的是用户,突然用的discuz的视频不能上传了,提示cc视频插件需要升级方可继续使用.&lt;/p&gt;
&lt;p&gt;后来搜索google,没有结果,后来去bokecc发现好几个人在说这个问题,才有bokecc版主说是和discuz解除了api合作.&lt;/p&gt;
&lt;p&gt;这对用户来说很受伤,你们因为利益问题,而我们用户呢,这个连接是bokecc论坛的回帖:&lt;a href=&quot;http://bbs.bokecc.com/viewthread.php?tid=23997&quot; title=&quot;好像说是 CC 和DZ 结束了合作~~  郁闷吖&quot;&gt;出现&amp;#8221;CC视频插件需要升级才能使用&amp;#8221;的进下&lt;/a&gt; 是今天的新贴&lt;/p&gt;
&lt;p&gt;bbs提示报错图片:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.lolosport.com/blog/image/dzandbokecc.gif&quot; title=&quot;discuz的视频不能上传&quot; alt=&quot;discuz的视频不能上传&quot; height=&quot;61&quot; width=&quot;317&quot; /&gt;&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/bfbd70b895463a3a820a47fbfa681fc7&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/bfbd70b895463a3a820a47fbfa681fc7/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=515bea73d332fd5da0a7bb51b4b82180&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=515bea73d332fd5da0a7bb51b4b82180&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8a9f8b20ac26827800d740b4e5e9dbaf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8a9f8b20ac26827800d740b4e5e9dbaf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=960bfb6d9c9e8e49f9661c606179736f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=960bfb6d9c9e8e49f9661c606179736f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f32c7409af85f40b93ab6e54805a1710&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f32c7409af85f40b93ab6e54805a1710&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8d6fae6f0c490484747d59e75a877c4a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8d6fae6f0c490484747d59e75a877c4a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7d1d1cd9e521867665aed8bd892d1f02&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7d1d1cd9e521867665aed8bd892d1f02&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=75</wfw:commentRss><description>        倒霉的是用户,突然用的discuz的视频不能上传了,提示cc视频插件需要升级方可继续使用.
后来搜索google,没有结果,后来去bokecc发现好几个人在说这个问题,才有bokecc版主说是和discuz解除了api合作.
这对用户来说很受伤,你们因为利益问题,而我们用户呢,这个连接是bokecc论坛的回帖:出现&amp;#8221;CC视频插件需要升级才能使用&amp;#8221;的进下 是今天的新贴
bbs提示报错图片:&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/bfbd70b895463a3a820a47fbfa681fc7&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/bfbd70b895463a3a820a47fbfa681fc7/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=515bea73d332fd5da0a7bb51b4b82180&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=515bea73d332fd5da0a7bb51b4b82180&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8a9f8b20ac26827800d740b4e5e9dbaf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8a9f8b20ac26827800d740b4e5e9dbaf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=960bfb6d9c9e8e49f9661c606179736f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=960bfb6d9c9e8e49f9661c606179736f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f32c7409af85f40b93ab6e54805a1710&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f32c7409af85f40b93ab6e54805a1710&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=8d6fae6f0c490484747d59e75a877c4a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=8d6fae6f0c490484747d59e75a877c4a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7d1d1cd9e521867665aed8bd892d1f02&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7d1d1cd9e521867665aed8bd892d1f02&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Wed, 23 Apr 2008 16:41:59 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=75#comments</comments><guid isPermaLink="false">http://www.lolosport.com/blog/?p=75</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=75</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442097/1234140</fs:itemid></item><item><title>所以商务很重要</title><link>http://www.ihero.cn/blog/?p=74</link><content:encoded>&lt;p&gt;很多人做网站，其实哪块重要，这确实是个认识问题。&lt;/p&gt;
&lt;p&gt;认识也其实决定了合作对像选取。每个人对合作开始都是很好的认识，合作当然好啊，双赢的事，合作问题是怎么做啊&lt;/p&gt;
&lt;p&gt;比如：商业的重要性认识人，认为网络虽然是平台，但是平台后面的事更重要。&lt;br /&gt;
一定要有自己的核心竞争力啊，一定要能满足客户需求，我觉得这个核心竞争力，不是界面，一定要能满足客户需求，而是能不能真正给消费者带来价值，带来实惠，能带来价值，界面不好，消费者依然买单，界面再精美，没有内容，有什么用啊。&lt;/p&gt;
&lt;p&gt;所以商务很重要&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/8ed058414cf724e78fdfa020fca70a49&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/8ed058414cf724e78fdfa020fca70a49/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=31a96e260ad28255ad28e899617bec8b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=31a96e260ad28255ad28e899617bec8b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=26f3586073d768b3a9c4f4a90e8d8ddf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=26f3586073d768b3a9c4f4a90e8d8ddf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3bdfb0cd0af553433f6bdaafab69d67f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3bdfb0cd0af553433f6bdaafab69d67f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=341d26f3ed669cce6e90f15dc266493d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=341d26f3ed669cce6e90f15dc266493d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ff85602891003abbedda8f9b8e38435a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ff85602891003abbedda8f9b8e38435a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=caf270e9bfe9b68cc672f20375d669fc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=caf270e9bfe9b68cc672f20375d669fc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=74</wfw:commentRss><description>很多人做网站，其实哪块重要，这确实是个认识问题。
认识也其实决定了合作对像选取。每个人对合作开始都是很好的认识，合作当然好啊，双赢的事，合作问题是怎么做啊
比如：商业的重要性认识人，认为网络虽然是平台，但是平台后面的事更重要。
一定要有自己的核心竞争力啊，一定要能满足客户需求，我觉得这个核心竞争力，不是界面，一定要能满足客户需求，而是能不能真正给消费者带来价值，带来实惠，能带来价值，界面不好，消费者依然买单，界面再精美，没有内容，有什么用啊。
所以商务很重要&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/8ed058414cf724e78fdfa020fca70a49&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/8ed058414cf724e78fdfa020fca70a49/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=31a96e260ad28255ad28e899617bec8b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=31a96e260ad28255ad28e899617bec8b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=26f3586073d768b3a9c4f4a90e8d8ddf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=26f3586073d768b3a9c4f4a90e8d8ddf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=3bdfb0cd0af553433f6bdaafab69d67f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=3bdfb0cd0af553433f6bdaafab69d67f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=341d26f3ed669cce6e90f15dc266493d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=341d26f3ed669cce6e90f15dc266493d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ff85602891003abbedda8f9b8e38435a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ff85602891003abbedda8f9b8e38435a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=caf270e9bfe9b68cc672f20375d669fc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=caf270e9bfe9b68cc672f20375d669fc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Tue, 22 Apr 2008 11:22:21 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=74#comments</comments><guid isPermaLink="false">http://ihero.cn/blog/?p=74</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=74</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442098/1234140</fs:itemid></item><item><title>老吃东西,总饿,养不起</title><link>http://www.ihero.cn/blog/?p=73</link><content:encoded>&lt;p&gt;和一个老朋友突然聊天，问他得qq宠物还在养吗，结果他说：不养了,老吃东西,总饿,养不起。&lt;/p&gt;
&lt;p&gt;网络虚拟宠物跟真的似的，真是不错，体验过程，他还是觉得挺有意思的。&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/72d784a0fada659e33e6761d1f3cdd55&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/72d784a0fada659e33e6761d1f3cdd55/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7ffefeab0e526d70d7694a3c05314e26&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7ffefeab0e526d70d7694a3c05314e26&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ba254b0f4fa474920a2af4410289ffb0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ba254b0f4fa474920a2af4410289ffb0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=1a6de7ff9e8976944ed327f27b37e84c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=1a6de7ff9e8976944ed327f27b37e84c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=d4d5e94ee9f329d7295a5f43848cbd68&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=d4d5e94ee9f329d7295a5f43848cbd68&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=dd9eabead2d95d4262e0bc7e37f0e557&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=dd9eabead2d95d4262e0bc7e37f0e557&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=97c4683da5df2a3039ef12dc332b14ee&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=97c4683da5df2a3039ef12dc332b14ee&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=73</wfw:commentRss><description>和一个老朋友突然聊天，问他得qq宠物还在养吗，结果他说：不养了,老吃东西,总饿,养不起。
网络虚拟宠物跟真的似的，真是不错，体验过程，他还是觉得挺有意思的。&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/72d784a0fada659e33e6761d1f3cdd55&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/72d784a0fada659e33e6761d1f3cdd55/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=7ffefeab0e526d70d7694a3c05314e26&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=7ffefeab0e526d70d7694a3c05314e26&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ba254b0f4fa474920a2af4410289ffb0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ba254b0f4fa474920a2af4410289ffb0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=1a6de7ff9e8976944ed327f27b37e84c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=1a6de7ff9e8976944ed327f27b37e84c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=d4d5e94ee9f329d7295a5f43848cbd68&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=d4d5e94ee9f329d7295a5f43848cbd68&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=dd9eabead2d95d4262e0bc7e37f0e557&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=dd9eabead2d95d4262e0bc7e37f0e557&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=97c4683da5df2a3039ef12dc332b14ee&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=97c4683da5df2a3039ef12dc332b14ee&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Tue, 22 Apr 2008 11:04:56 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=73#comments</comments><guid isPermaLink="false">http://www.ihero.cn/blog/?p=73</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=73</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442099/1234140</fs:itemid></item><item><title>对近来ali推出的b2c，易趣承认陶宝信用</title><link>http://www.ihero.cn/blog/?p=72</link><content:encoded>&lt;p&gt;    易趣被tom并购后，还是做了很大动作，毕竟是中国公司，就是懂国情。首先用户开店免费，把以前的收费用户归为vip网店，如果不续费，自动成为普通网店，少了几个高级功能而已。易趣这点算是很大的改变。&lt;/p&gt;
&lt;p&gt;今天又看到易趣发布承认陶宝用户在陶宝开店的信用，&lt;strong&gt;也就是出台了一个陶宝用户信用到易趣开店信用转换等式&lt;/strong&gt;，这也是一个拉拢陶宝店主的大好事，对近来ali推出的b2c，让好多陶宝店住不满得到了可以发泄的地方&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/8ea9e88d576eafda3020b5cb9425e157&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/8ea9e88d576eafda3020b5cb9425e157/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c979dc15dbedda8cd652b3ccc938c644&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c979dc15dbedda8cd652b3ccc938c644&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=684e99d0f9841b81146e271da1fef8be&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=684e99d0f9841b81146e271da1fef8be&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=6a987858fd03db8c23e7984616353d27&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=6a987858fd03db8c23e7984616353d27&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=26d47eb9f40f8a585986344a7ebcf404&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=26d47eb9f40f8a585986344a7ebcf404&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=9191b361b0a52bcd6313ab93a93865ea&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=9191b361b0a52bcd6313ab93a93865ea&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=28ab71ca3908f695ab8f0109d0bff556&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=28ab71ca3908f695ab8f0109d0bff556&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=72</wfw:commentRss><description>    易趣被tom并购后，还是做了很大动作，毕竟是中国公司，就是懂国情。首先用户开店免费，把以前的收费用户归为vip网店，如果不续费，自动成为普通网店，少了几个高级功能而已。易趣这点算是很大的改变。
今天又看到易趣发布承认陶宝用户在陶宝开店的信用，也就是出台了一个陶宝用户信用到易趣开店信用转换等式，这也是一个拉拢陶宝店主的大好事，对近来ali推出的b2c，让好多陶宝店住不满得到了可以发泄的地方&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/8ea9e88d576eafda3020b5cb9425e157&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/8ea9e88d576eafda3020b5cb9425e157/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=c979dc15dbedda8cd652b3ccc938c644&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=c979dc15dbedda8cd652b3ccc938c644&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=684e99d0f9841b81146e271da1fef8be&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=684e99d0f9841b81146e271da1fef8be&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=6a987858fd03db8c23e7984616353d27&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=6a987858fd03db8c23e7984616353d27&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=26d47eb9f40f8a585986344a7ebcf404&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=26d47eb9f40f8a585986344a7ebcf404&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=9191b361b0a52bcd6313ab93a93865ea&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=9191b361b0a52bcd6313ab93a93865ea&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=28ab71ca3908f695ab8f0109d0bff556&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=28ab71ca3908f695ab8f0109d0bff556&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Wed, 16 Apr 2008 10:58:37 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=72#comments</comments><guid isPermaLink="false">http://www.lolosport.com/blog/?p=72</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=72</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442100/1234140</fs:itemid></item><item><title>今天访问了一下sina首页，发现变了</title><link>http://www.ihero.cn/blog/?p=71</link><content:encoded>&lt;p&gt;sina这样的门户，要是大修改一下首页，一般调查用户习惯什么，很久时间才能确定。之前的那种窄屏和密密麻麻的小字，一大堆的内容确实不是很美观，很多人都指责，但是sina改起来不是那么一句话的事。他考虑很多老用户习惯，这也是sina的一切由你开始。&lt;/p&gt;
&lt;p&gt;这次我觉得sina的首页改版的挺好，保留了一半sina原有首页面貌和颜色，让老用户觉得可以接受，感觉变化不大，又大胆的增加了很多元素，有yahoo，apple很多风格，宽屏。我觉得整体很不错。&lt;/p&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/5819b88d134b81b0ed9549942754c141&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/5819b88d134b81b0ed9549942754c141/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=0aaf7e9d0b30a4195b5df1ae55102411&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=0aaf7e9d0b30a4195b5df1ae55102411&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=cc5b4c3e1309bde6180093eb8ce4f656&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=cc5b4c3e1309bde6180093eb8ce4f656&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ceefd4fe4af7492a2e6b7bdefef95fcf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ceefd4fe4af7492a2e6b7bdefef95fcf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5ef304258f8b521360027cff53ffe0c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5ef304258f8b521360027cff53ffe0c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f921d045eb848fc718146e7b1fae1159&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f921d045eb848fc718146e7b1fae1159&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=96681b2af7e27d4951a8524e2493006a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=96681b2af7e27d4951a8524e2493006a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=71</wfw:commentRss><description>sina这样的门户，要是大修改一下首页，一般调查用户习惯什么，很久时间才能确定。之前的那种窄屏和密密麻麻的小字，一大堆的内容确实不是很美观，很多人都指责，但是sina改起来不是那么一句话的事。他考虑很多老用户习惯，这也是sina的一切由你开始。
这次我觉得sina的首页改版的挺好，保留了一半sina原有首页面貌和颜色，让老用户觉得可以接受，感觉变化不大，又大胆的增加了很多元素，有yahoo，apple很多风格，宽屏。我觉得整体很不错。&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/ihero/5819b88d134b81b0ed9549942754c141&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/ihero/5819b88d134b81b0ed9549942754c141/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=0aaf7e9d0b30a4195b5df1ae55102411&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=0aaf7e9d0b30a4195b5df1ae55102411&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=cc5b4c3e1309bde6180093eb8ce4f656&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=cc5b4c3e1309bde6180093eb8ce4f656&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=ceefd4fe4af7492a2e6b7bdefef95fcf&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=ceefd4fe4af7492a2e6b7bdefef95fcf&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=5ef304258f8b521360027cff53ffe0c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=5ef304258f8b521360027cff53ffe0c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=f921d045eb848fc718146e7b1fae1159&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=f921d045eb848fc718146e7b1fae1159&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/ihero?a=96681b2af7e27d4951a8524e2493006a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/ihero?i=96681b2af7e27d4951a8524e2493006a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>没有分类</category><pubDate>Tue, 15 Apr 2008 16:12:37 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=71#comments</comments><guid isPermaLink="false">http://www.lolosport.com/blog/?p=71</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=71</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/83442101/1234140</fs:itemid></item><item><title>测试网页速度工具</title><link>http://www.ihero.cn/blog/?p=67</link><content:encoded>&lt;p&gt;测试网页速度工具，平时朋友们总是让我打开他们的网页，看看快慢，后来用了IMB的一个工具，很简单的工具，估计是个人爱好者开发的，名字叫IBM Page Detailer Basic，可以看到页面的哪个元素快慢，如图：&lt;/p&gt;
&lt;p&gt;&lt;img width=&quot;570&quot; src=&quot;http://www.ihero.cn/blog/image/htmltest.gif&quot; alt=&quot;IBM Page Detailer Basic&quot; height=&quot;226&quot; style=&quot;width: 570px; height: 226px&quot; title=&quot;IBM Page Detailer Basic&quot; /&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.ihero.cn/blog/?feed=rss2&amp;p=67</wfw:commentRss><description>测试网页速度工具，平时朋友们总是让我打开他们的网页，看看快慢，后来用了IMB的一个工具，很简单的工具，估计是个人爱好者开发的，名字叫IBM Page Detailer Basic，可以看到页面的哪个元素快慢，如图：</description><category>没有分类</category><pubDate>Fri, 11 Apr 2008 15:49:30 +0800</pubDate><author>ihero</author><comments>http://www.ihero.cn/blog/?p=67#comments</comments><guid isPermaLink="false">http://www.ihero.cn/blog/?p=67</guid><dc:creator>ihero</dc:creator><fs:srclink>http://www.ihero.cn/blog/?p=67</fs:srclink><fs:srcfeed>http://www.ihero.cn/blog/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/ihero/~5939987/79082727/1234140</fs:itemid></item></channel></rss>