<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.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:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/oneoo" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/oneoo" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 20 Sep 2011 06:40:28 GMT</lastBuildDate><title>oneoo's 私家花园</title><description>这里是我的私人地方，一片属于我的天地～</description><link>http://oneoo.com</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Tue, 20 Sep 2011 06:55:26 GMT</pubDate><item><title>ngx_xxtea 模块发布</title><link>http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html</link><content:encoded>&lt;p&gt;　　就如其名，这是一个基于 XXTEA 加密算法实现的 NGINX 模块。至于用途，我也不知道。我是用在 URL 防盗方面的（隐藏真实地址）&lt;/p&gt;
&lt;p&gt;安装：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;configure --add-module=../ngx_xxtea-1.0&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;配置：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#加密方法，其中 content 和 key 支持 nginx 内部变量&lt;br&gt;
set xxtea_data &quot;aaa&quot;;&lt;br&gt;
set xxtea_key &quot;123&quot;;&lt;br&gt;
set $var1 &lt;span style=&quot;color: #ff0000;&quot;&gt;$xxtea_encrypto&lt;/span&gt;;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;#解密方法，其中 q+tThwMc2vg= 是需解密的内容&lt;br&gt;
set xxtea_data &quot;q+tThwMc2vg=&quot;;&lt;br&gt;
set xxtea_key &quot;123&quot;;&lt;br&gt;
set $var1 &lt;span style=&quot;color: #ff0000;&quot;&gt;$xxtea_decrypto&lt;/span&gt;;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;场景：&lt;/p&gt;
&lt;p&gt;　　我需要对 http://a.com/*.url 下的所有图片资源进行防盗处理，我会在调用页面上使用 php 对这些 url 进行加密。如：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;xxtea_encode($URI, $REMOTE_ADDR); // 使用用户的客户端IP，当然你也可以用 COOKIE&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;　　这样页面上所有的图片请求，都应该是：http://a.com/e/&lt;span style=&quot;color: #ff0000;&quot;&gt;q+tThwMc2vg=&lt;/span&gt; 类的地址（注意别对 URI 进行 encode）。并且该地址是通过客户端IP进行加密的，也就是说其他人无法使用这个地址。&lt;/p&gt;
&lt;p&gt;配置 NGINX 对这类地址进行解密操作：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;location /e {&lt;br&gt;
if ( $request_uri ~* &quot;/e/&lt;span style=&quot;color: #ff0000;&quot;&gt;(.*)&lt;/span&gt;$&quot;)&lt;br&gt;
{&lt;br&gt;
set $xxtea_data &lt;span style=&quot;color: #ff0000;&quot;&gt;$1&lt;/span&gt;;&lt;br&gt;
set $xxtea_key $remote_addr;&lt;br&gt;
rewrite (.*) $xxtea_decrypto;&lt;br&gt;
}&lt;br&gt;
}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;　　&lt;strong&gt;ngx_xxtea 模块 &lt;a href=&quot;http://files.blogcn.com/wp02/M00/01/C6/wKgKC054NQ8AAAAAAAAOdHFIHAs1881.gz&quot;&gt;下载地址&lt;/a&gt; (.tar.gz)&lt;/strong&gt; 压缩包中包含 PHP XXTEA 方法&lt;/p&gt;
&lt;p&gt;　　另外，章哥也有一个类似功能的模块，地址：&lt;a href=&quot;https://github.com/agentzh/encrypted-session-nginx-module&quot; target=&quot;_blank&quot;&gt;https://github.com/agentzh/encrypted-session-nginx-module&lt;/a&gt; ，大家按需求选择 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;使用 Nginx 构建一个“高”可用的 PHP 集群&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/21/13610731.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;使用 Nginx 构建一个“高”可用的 PHP 集群&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;SBLACK 示范模板发布&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fsblack-%25E7%25A4%25BA%25E8%258C%2583%25E6%25A8%25A1%25E6%259D%25BF%25E5%258F%2591%25E5%25B8%2583.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042560.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;SBLACK 示范模板发布&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;邮件发布测试&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E9%2582%25AE%25E4%25BB%25B6%25E5%258F%2591%25E5%25B8%2583%25E6%25B5%258B%25E8%25AF%2595-2.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;邮件发布测试&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;BSS 新模板发布&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fbss-%25E6%2596%25B0%25E6%25A8%25A1%25E6%259D%25BF%25E5%258F%2591%25E5%25B8%2583.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;BSS 新模板发布&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784622/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>　　就如其名，这是一个基于 XXTEA 加密算法实现的 NGINX 模块。至于用途，我也不知道。我是用在 URL 防盗方面的（隐藏真实地址） 安装： configure --add-module=../ngx_xxtea-1.0 配置： #加密方法，其中 content 和 key 支持 nginx 内部变量 set xxtea_data &quot;aaa&quot;; set xxtea_key &quot;123&quot;; set $var1 $xxtea_encrypto; #解密方法，其中 q+tThwMc2vg= 是需解密的内容 set xxtea_data &quot;q+tThwMc2vg=&quot;; set xxtea_key &quot;123&quot;; set $var1 $xxtea_decrypto; 场景： 　　我需要对 http://a.com/*.url 下的所有图片资源进行防盗处理，我会在调用页面上使用 php 对这些 url 进行加密。如： xxtea_encode($URI, $REMOTE_ADDR); // 使用用户的客户端IP，当然你也可以用 COOKIE 　　这样页面上所有的图片请求，都应该是：http://a.com/e/q+tThwMc2vg= 类的地址（注意别对 URI [...]&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;使用 Nginx 构建一个“高”可用的 PHP 集群&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/21/13610731.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;使用 Nginx 构建一个“高”可用的 PHP 集群&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;SBLACK 示范模板发布&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fsblack-%25E7%25A4%25BA%25E8%258C%2583%25E6%25A8%25A1%25E6%259D%25BF%25E5%258F%2591%25E5%25B8%2583.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042560.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;SBLACK 示范模板发布&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;邮件发布测试&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E9%2582%25AE%25E4%25BB%25B6%25E5%258F%2591%25E5%25B8%2583%25E6%25B5%258B%25E8%25AF%2595-2.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;邮件发布测试&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;BSS 新模板发布&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fbss-%25E6%2596%25B0%25E6%25A8%25A1%25E6%259D%25BF%25E5%258F%2591%25E5%25B8%2583.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fngx_xxtea-%25E6%25A8%25A1%25E5%259D%2597%25E5%258F%2591%25E5%25B8%2583.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;BSS 新模板发布&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784622/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>c</category><category>xxtea</category><category>nginx</category><category>module</category><category>Develop</category><pubDate>Tue, 20 Sep 2011 14:40:28 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645707</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/ngx_xxtea-%e6%a8%a1%e5%9d%97%e5%8f%91%e5%b8%83.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784622/3372955</fs:itemid></item><item><title>充分发挥服务器的各项资源</title><link>http://oneoo.com/articles/full-power-of-the-server.html</link><content:encoded>&lt;p&gt;　　在当前的网站架构中，经常会有较多的角色分工，如：缓存服务（文件型）、缓存加速服务（内存型）、PHP/Java 计算服务和数据库服务等等。每种服务对服务器的资源占用各有不同，例如：缓存加速服务就需要大量的内存，而 PHP/Java 计算服务则需要占用大量的 CPU 资源。如何充分发挥单机的资源利用，往往是运维的同学负责规划。认为的来进行分配，必然会有所疏漏，也正因此现在发展出 VMware 类虚拟服务器的云计算，可以实现一定的自动分配资源，达到节省成本的效果。&lt;/p&gt;
&lt;p&gt;　　但使用 VMware 类方案并不太适合单个企业选用，原因一：架设一套自主的虚拟机集群，会产生软硬件成本，二：虚拟服务器系统本身要消耗掉一小部分性能。或者我们可以考虑以下方案 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; 可在原有的业务基础上进行简单的梳理，以达到需要的效果。&lt;/p&gt;
&lt;p&gt;　　我们把服务器抽象出，磁盘、内存和 CPU 三项资源。服务角色可把 PHP/Java 归为计算类型，而 Memcached/Redis 等归为内存类型，对文件/页面缓存归为磁盘类，数据库较为特殊，它对三类资源的需求都比较高，将其定位特殊的全需求类型。&lt;/p&gt;
&lt;p&gt;　　现在资源和服务类型都很清晰了，那么我们就可以针对服务器的三项资源进行网络化，抽象出三小块分布式服务。PHP/Java 计算类型，可在Web Server层加入分布式逻辑，使得业务可自动均衡的分配到服务器群；对于 Memcached/Redis 这些缓存加速服务基本都带有分布式支持能力；而磁盘类型的业务则需要找到一个适合业务所需要的解决方案（如业务本身对文件名没要求，那可考虑 FastDFS 类分布式存储系统，否则可考虑 MongoFS 类存储系统）以此我们可以构建出下图所绘的架构：&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://files.blogcn.com/wp03/M00/00/CF/wKgKC04KlFcAAAAAAAB07ShjJmk805.png&quot; rel=&quot;lightbox[645702]&quot;&gt;&lt;img title=&quot;simple-3-grid&quot; src=&quot;http://files.blogcn.com/wp03/M00/00/CF/wKgKC04KlFcAAAAAAAB07ShjJmk805.png&quot; alt=&quot;&quot; width=&quot;508&quot; height=&quot;387&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　此架构不仅能让服务器的各项资源得到充分发挥，还具备分布式计算的热备能力，并且单台服务器的软件、配置环境标准化，可减少运维的工作量，日常维护也更加方便。是一举几得的好事！以下为我们某个业务的服务器组状态：&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://files.blogcn.com/wp06/M00/00/97/wKgKDU4KlKIAAAAAAACKlGQ1rXI791.png&quot; rel=&quot;lightbox[645702]&quot;&gt;&lt;img class=&quot;aligncenter size-medium wp-image-645704&quot; title=&quot;simple-3-grid-status&quot; src=&quot;http://files.blogcn.com/wp02/M00/00/CD/wKgKC04KlKIAAAAAAAA2-zNk9tQ663.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;61&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　上面这组服务器，我们部署有 PHP/Memcached/MySQL 和一个分布式文件系统。&lt;/p&gt;
&lt;p&gt;　　题外话：这素云计算的基础形态麽？嗯，有点云的意思，当然未能达到这个高度。主要因这个方案是非常基础的，仅适合单网站（公司）使用，如果非要说云，那只能说私有云。而要做公有云，我们还需要在此架构基础上，加入安全隔离、资源租赁和统计等很多子系统。&lt;/p&gt;
&lt;p&gt;　　此文撰写于昨晚国航灰机晚点的几个小时里～晚上10点的票居然凌晨3点才到家～故留此印记。&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td &gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fprtg-software-monitoring-the-use-of-servers-network-status.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;使用 PRTG 软件监控服务器、网络状态&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F139com-mail-server-monitoring-to-achieve-notice.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;@139.com 邮箱实现服务器监测通知&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fchina-internet.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;China Internet ;(&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fhttp-background-tasks.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;HTTP 的后台任务&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td  align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784623/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/full-power-of-the-server.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/full-power-of-the-server.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>　　在当前的网站架构中，经常会有较多的角色分工，如：缓存服务（文件型）、缓存加速服务（内存型）、PHP/Java 计算服务和数据库服务等等。每种服务对服务器的资源占用各有不同，例如：缓存加速服务就需要大量的内存，而 PHP/Java 计算服务则需要占用大量的 CPU 资源。如何充分发挥单机的资源利用，往往是运维的同学负责规划。认为的来进行分配，必然会有所疏漏，也正因此现在发展出 VMware 类虚拟服务器的云计算，可以实现一定的自动分配资源，达到节省成本的效果。 　　但使用 VMware 类方案并不太适合单个企业选用，原因一：架设一套自主的虚拟机集群，会产生软硬件成本，二：虚拟服务器系统本身要消耗掉一小部分性能。或者我们可以考虑以下方案 可在原有的业务基础上进行简单的梳理，以达到需要的效果。 　　我们把服务器抽象出，磁盘、内存和 CPU 三项资源。服务角色可把 PHP/Java 归为计算类型，而 Memcached/Redis 等归为内存类型，对文件/页面缓存归为磁盘类，数据库较为特殊，它对三类资源的需求都比较高，将其定位特殊的全需求类型。 　　现在资源和服务类型都很清晰了，那么我们就可以针对服务器的三项资源进行网络化，抽象出三小块分布式服务。PHP/Java 计算类型，可在Web Server层加入分布式逻辑，使得业务可自动均衡的分配到服务器群；对于 Memcached/Redis 这些缓存加速服务基本都带有分布式支持能力；而磁盘类型的业务则需要找到一个适合业务所需要的解决方案（如业务本身对文件名没要求，那可考虑 FastDFS 类分布式存储系统，否则可考虑 MongoFS 类存储系统）以此我们可以构建出下图所绘的架构： 　　此架构不仅能让服务器的各项资源得到充分发挥，还具备分布式计算的热备能力，并且单台服务器的软件、配置环境标准化，可减少运维的工作量，日常维护也更加方便。是一举几得的好事！以下为我们某个业务的服务器组状态： 　　上面这组服务器，我们部署有 PHP/Memcached/MySQL 和一个分布式文件系统。 　　题外话：这素云计算的基础形态麽？嗯，有点云的意思，当然未能达到这个高度。主要因这个方案是非常基础的，仅适合单网站（公司）使用，如果非要说云，那只能说私有云。而要做公有云，我们还需要在此架构基础上，加入安全隔离、资源租赁和统计等很多子系统。 　　此文撰写于昨晚国航灰机晚点的几个小时里～晚上10点的票居然凌晨3点才到家～故留此印记。&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td &gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fprtg-software-monitoring-the-use-of-servers-network-status.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;使用 PRTG 软件监控服务器、网络状态&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F139com-mail-server-monitoring-to-achieve-notice.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;@139.com 邮箱实现服务器监测通知&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fchina-internet.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;China Internet ;(&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fhttp-background-tasks.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;HTTP 的后台任务&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td  align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784623/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/full-power-of-the-server.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>架构</category><category>Think</category><category>服务器</category><category>Develop</category><pubDate>Wed, 29 Jun 2011 11:33:46 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/full-power-of-the-server.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645702</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/full-power-of-the-server.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784623/3372955</fs:itemid></item><item><title>使用 Nginx 构建一个“高”可用的 PHP 集群</title><link>http://oneoo.com/articles/nginx-php-grid.html</link><content:encoded>&lt;p&gt;　　跳过没必要的介绍，直接进入主题。目前建立一个高可用集群的方案不少，可以使用硬件或软件 LVS 类构建，现在我说的方案是只用 Nginx 来进行构建。&lt;/p&gt;
&lt;p&gt;　　这个集群的架构如下图：&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://files.blogcn.com/wp03/M00/00/B5/wKgKC04AA0UAAAAAAAAbRgZl2pI948.png&quot; rel=&quot;lightbox[645695]&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-645696&quot; title=&quot;nginx-php-grid&quot; src=&quot;http://files.blogcn.com/wp03/M00/00/B5/wKgKC04AA0UAAAAAAAAbRgZl2pI948.png&quot; alt=&quot;&quot; width=&quot;262&quot; height=&quot;271&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　上面我们共部署了5个节点，每个节点上配有 Nginx + PHP。这个架构的重点就在于，Nginx 不只是与本机的 PHP 通信，整个集群应该把 Nginx 部分抽象到面向业务的第一层，而 PHP 则在第二层。每层都为多节点均衡架构。&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://files.blogcn.com/wp05/M00/00/F1/wKgKDE4AA1IAAAAAAAA4aAaXlpE755.png&quot; rel=&quot;lightbox[645695]&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-645697&quot; title=&quot;nginx-php-grid2&quot; src=&quot;http://files.blogcn.com/wp05/M00/00/F1/wKgKDE4AA1IAAAAAAAA4aAaXlpE755.png&quot; alt=&quot;&quot; width=&quot;349&quot; height=&quot;442&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　其中 Nginx 层面使用 DNS 均衡实现，DNS 负载均衡是一个很传统的方案，在单个域名下绑定多个 IP 进行轮循，可有效的把业务请求分发到多个节点上，但某节点故障时则需要有相应的解析处理，把故障的节点从 DNS 记录中删除。目前推荐使用 DNSPOD 的解析服务，可支持 API 操作。这样我们就可以自己建立一个服务器状态管理的程序，自动切换 DNS 解析。（注意：域名解析的切换需要 5～10 分钟，当然这是由域名解析记录的 TTL 值决定，为避免大量的 DNS 解析影响请求打开速度，建议 10 分钟或以上为佳）&lt;/p&gt;
&lt;p&gt;　　第二层 PHP 则由 Nginx 使用 upstream 实现均衡，Nginx 本身的 upstream 就已支持节点健康维护的功能，可以放心的交给 Nginx 来做。而如果 PHP 业务层带缓存功能，则要考虑使用一致性哈希模块来实现 upstream 的均衡策略，否则节点故障对整个 PHP 集群的缓存造成大幅度的震荡。根据我们测试的数据，在普通哈希策略下，一个节点故障会导致 90% 的缓存失效，而使用一致性哈希则可降低到 50% 。并且我们的 Nginx 一致性哈希模块，还可以把故障节点的请求分发到邻近的节点，可以再提高部分缓存命中率，使得整体提升到 70% 的样子。&lt;/p&gt;
&lt;p&gt;　　这样一个架构方案给我们实现了一个“高”可用的 PHP 集群，并且没有单点故障的隐患存在。DNS 解析服务是多节点，Nginx 层是多节点，PHP 层更是多节点的模式。如使用 LVS 方案，LVS 服务本身也要做一套热备，才能避免单点问题，且增加了架构复杂性。&lt;/p&gt;
&lt;p&gt;　　应该选择那套架构方案还由业务决定，这里我只是提供一个新思路罢了 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　Nginx 一致性哈希模块：&lt;a href=&quot;http://files.blogcn.com/wp02/M00/01/2D/wKgKCk4AA6UAAAAAAAAKWgjv9fM0419.gz&quot;&gt;&lt;span style=&quot;text-decoration: line-through;&quot;&gt;ngx_consistent_hash-1.0.tar&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　　　　　　　　　　　　&lt;a href=&quot;http://files.blogcn.com/wp06/M00/00/BA/wKgKDU4jmI4AAAAAAAAKYUjXsUY9705.gz&quot; target=&quot;_blank&quot;&gt;ngx_consistent_hash-1.1.tar.gz&lt;/a&gt; (Fix nginx reload bug)&lt;/p&gt;
&lt;p&gt;　　使用方法：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;upstream backend {&lt;br&gt;
server 192.168.1.101 &lt;span style=&quot;color: #ff0000;&quot;&gt;weight=1;&lt;/span&gt;&lt;br&gt;
server 192.168.1.102 &lt;span style=&quot;color: #ff0000;&quot;&gt;weight=2;&lt;/span&gt;&lt;br&gt;
server 192.168.1.103 &lt;span style=&quot;color: #ff0000;&quot;&gt;weight=3;&lt;/span&gt;&lt;br&gt;
server 192.168.1.104 &lt;span style=&quot;color: #ff0000;&quot;&gt;weight=4;&lt;/span&gt;&lt;br&gt;
server 192.168.1.105 &lt;span style=&quot;color: #ff0000;&quot;&gt;weight=5;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #ff0000;&quot;&gt;consistent_hash $host$request_uri 2;&lt;/span&gt;&lt;br&gt;
}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;　　consistent_hash 支持2个参数，第一个参数为哈希字符串，第二个参数为备份节点数量。当某节点故障时，将把该节点的请求分发到2个备份节点上。当然你可以设置1或更高，建议2为佳 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　模块对 nginx 原 upstream 模块的 weight 节点权重功能进行了替换，weight 的功能是配置节点在集群中的位置顺序。&lt;span style=&quot;color: #ff0000;&quot;&gt;（做一致性哈希，这是必须的）&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;PHP GD 图片上加文字的例子&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fphp-gd-%25E5%259B%25BE%25E7%2589%2587%25E4%25B8%258A%25E5%258A%25A0%25E6%2596%2587%25E5%25AD%2597%25E7%259A%2584%25E4%25BE%258B%25E5%25AD%2590.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;PHP GD 图片上加文字的例子&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;充分发挥服务器的各项资源&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/29/14957731.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;充分发挥服务器的各项资源&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;中国IDC质量问题与Yo2的解决方案&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fidc-china-yo2-quality-problems-and-solutions.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;中国IDC质量问题与Yo2的解决方案&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784624/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/nginx-php-grid.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/nginx-php-grid.html/feed</wfw:commentRss><slash:comments>3</slash:comments><description>　　跳过没必要的介绍，直接进入主题。目前建立一个高可用集群的方案不少，可以使用硬件或软件 LVS 类构建，现在我说的方案是只用 Nginx 来进行构建。 　　这个集群的架构如下图： 　　上面我们共部署了5个节点，每个节点上配有 Nginx + PHP。这个架构的重点就在于，Nginx 不只是与本机的 PHP 通信，整个集群应该把 Nginx 部分抽象到面向业务的第一层，而 PHP 则在第二层。每层都为多节点均衡架构。 　　其中 Nginx 层面使用 DNS 均衡实现，DNS 负载均衡是一个很传统的方案，在单个域名下绑定多个 IP 进行轮循，可有效的把业务请求分发到多个节点上，但某节点故障时则需要有相应的解析处理，把故障的节点从 DNS 记录中删除。目前推荐使用 DNSPOD 的解析服务，可支持 API 操作。这样我们就可以自己建立一个服务器状态管理的程序，自动切换 DNS 解析。（注意：域名解析的切换需要 5～10 分钟，当然这是由域名解析记录的 TTL 值决定，为避免大量的 DNS 解析影响请求打开速度，建议 10 分钟或以上为佳） 　　第二层 PHP 则由 Nginx 使用 upstream 实现均衡，Nginx 本身的 upstream 就已支持节点健康维护的功能，可以放心的交给 Nginx 来做。而如果 PHP 业务层带缓存功能，则要考虑使用一致性哈希模块来实现 [...]&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;PHP GD 图片上加文字的例子&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fphp-gd-%25E5%259B%25BE%25E7%2589%2587%25E4%25B8%258A%25E5%258A%25A0%25E6%2596%2587%25E5%25AD%2597%25E7%259A%2584%25E4%25BE%258B%25E5%25AD%2590.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;PHP GD 图片上加文字的例子&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;充分发挥服务器的各项资源&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffull-power-of-the-server.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/29/14957731.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;充分发挥服务器的各项资源&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;中国IDC质量问题与Yo2的解决方案&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fidc-china-yo2-quality-problems-and-solutions.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fnginx-php-grid.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;中国IDC质量问题与Yo2的解决方案&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784624/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/nginx-php-grid.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>集群</category><category>php</category><category>架构</category><category>Think</category><category>nginx</category><category>Tips</category><category>Develop</category><pubDate>Tue, 21 Jun 2011 10:43:35 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/nginx-php-grid.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645695</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/nginx-php-grid.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784624/3372955</fs:itemid></item><item><title>Yo2Lua App Engine 一个全新的应用开发模式</title><link>http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html</link><content:encoded>&lt;p&gt;Yo2Lua App Engine 简介：&lt;/p&gt;
&lt;p&gt;　　Yo2Lua App Engine (简称 YAE)于2009年开始研发，并在2011年5月正式推出第一个Alpha版本的公有云计算平台（&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://yo2lua.com/&quot; target=&quot;_blank&quot;&gt;http://yo2lua.com&lt;/a&gt; ）。&lt;/p&gt;
&lt;p&gt;　　YAE 通过借鉴 PHP 语言的众多功能，来完善 LUA 语言在 Web 开发场景中所需要到的功能，充分模仿 PHP 的函数方法，让开发者可以很简单的从 PHP 语言转入到 LUA 语言开发环境。&lt;/p&gt;
&lt;p&gt;　　YAE 向用户提供一系列分布式计算、存储服务，包括分布式文件系统、分布式数据库集群、分布式缓存、分布式定时服务等。在这些服务基础上， YAE 更引入多个开放平台功能，以创新的模式提供给开发者使用。如：手机短信接口、网易微博开放接口等丰富多彩的应用。&lt;/p&gt;
&lt;p&gt;关于 LUA 语言：&lt;/p&gt;
&lt;p&gt;　　Lua 是一个小巧的脚本语言。作者是巴西人。该语言的设计目的是为了嵌入应用程序中，从而为应用程序提供灵活的扩展和定制功能。它的主页是&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.lua.org/&quot; target=&quot;_blank&quot;&gt;http://www.lua.org&lt;/a&gt; 。&lt;/p&gt;
&lt;p&gt;　　Lua最著名的应用是在暴雪公司的网络游戏WOW中。&lt;/p&gt;
&lt;p&gt;　　更多信息请查阅：&lt;a rel=&quot;nofollow&quot; href=&quot;http://yo2lua.com/wiki/lua/&quot; target=&quot;_blank&quot;&gt;http://yo2lua.com/wiki/lua/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;使用 YAE 进行开放平台的应用开发：&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://files.blogcn.com/wp02/M00/00/F6/wKgKCk3pnqQAAAAAAAHG-zonPqU128.png&quot; rel=&quot;lightbox[645693]&quot;&gt;&lt;img class=&quot;size-large wp-image-645694 aligncenter&quot; title=&quot;yo2lua-app-engine-intro-1&quot; src=&quot;http://files.blogcn.com/wp04/M00/00/BB/wKgKDU3pnqYAAAAAAAT28kk9kr4090.png&quot; alt=&quot;&quot; width=&quot;640&quot; height=&quot;452&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　YAE 已经把开放平台的 API 进行了完整的封装，开发者点下按钮就可以把开放平台的 API 接口集成到你的应用开发环境，形成简单的函数调用。&lt;/p&gt;
&lt;p&gt;　　如腾讯微博获取首页动态的接口是：weibo.qq.statuses.home_timeline()&lt;/p&gt;
&lt;p&gt;　　由此开发者在使用 YAE 进行应用开发的门槛和周期都大大降低，并且托管在 YAE 公有云计算平台上，开发者不再需要为架构而折腾，这些由 YAE 提供服务。&lt;/p&gt;
&lt;p&gt;　　对于应用开发者，YAE 带来的好处有：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;硬件成本更低，无需预先购买设备，承担更大的投入风险&lt;/li&gt;
&lt;li&gt;开发成本更低，YAE 提供许多服务供开发者使用，开发者无需重复开发，包括队列、数据库、缓存、定时、验证码、计数器，几乎覆盖了Web开发的所有领域。&lt;/li&gt;
&lt;li&gt;运维成本更低，在 YAE 上的应用无需关心硬件维护、服务监控、数据容灾等操作，YAE 会通过其高可靠的架构和方便的监控页面为用户将运维成本降到最低扩展性更强，在 YAE 上的服务无需关心服务压力猛增时带来的扩容等操作，YAE 自动支持服务扩展&lt;/li&gt;
&lt;li&gt;更加安全可靠，前端防攻击、代码检查等功能，在 YAE 上的所有应用均为多机房容灾部署，比传统的部署模式更加安全可靠，并且 YAE 提供服务的 SLA 来实现对用户服务质量的承诺&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;　　数据库热备？有木有？？？负载均衡？有木有？？？&lt;/p&gt;
&lt;p&gt;　　都有 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; YAE 是云计算平台，你的应用会被分布到多台服务器上执行。并且我们可以确保没有单点故障，而导致你的应用访问受限。&lt;/p&gt;
&lt;p&gt;YAE 作为开放平台应用托管服务商，我们到目前已接入的开放平台有：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;腾讯微博&lt;/li&gt;
&lt;li&gt;网易微博&lt;/li&gt;
&lt;li&gt;手机短信接口&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;　　在未来半年我们还会加入更多第三方接口到我们 YAE 平台上。帮助开发者从众多第三方接口 API 中抽身出来，专注于做好自己的应用功能。&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;正确认识LUA在WEB开发上的特长&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;正确认识LUA在WEB开发上的特长&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;FastDFS 分布式存储与 yo2cache 的结合&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffastdfs-distributed-storage-with-a-combination-of-yo2cache.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041498.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;FastDFS 分布式存储与 yo2cache 的结合&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784625/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html/feed</wfw:commentRss><slash:comments>4</slash:comments><description>yo2lua,yae,云计算&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;正确认识LUA在WEB开发上的特长&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;正确认识LUA在WEB开发上的特长&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;FastDFS 分布式存储与 yo2cache 的结合&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffastdfs-distributed-storage-with-a-combination-of-yo2cache.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041498.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;FastDFS 分布式存储与 yo2cache 的结合&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784625/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>Develop</category><pubDate>Sat, 04 Jun 2011 11:10:09 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645693</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/yo2lua-app-engine-%e4%b8%80%e4%b8%aa%e5%85%a8%e6%96%b0%e7%9a%84%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e6%a8%a1%e5%bc%8f.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784625/3372955</fs:itemid></item><item><title>理解云计算</title><link>http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html</link><content:encoded>&lt;p&gt;　　现在互联网最热门的关键字“云计算”，大大小小的公司纷纷加入到这块领域。简单来说，目前的“云计算”主要分为：SaaS、PaaS和IaaS三大类。&lt;/p&gt;
&lt;p&gt;　　其中SaaS云计算，为软件即服务的概念。把传统客户端软件部署在互联网上，用户只需要一个浏览器就可以使用到软件的模式。其实早在2000年就已经有B/S结构的软件服务，与现在所说的SaaS云计算相近，但此前的B/S结构软件服务，数据库等服务端是需要用户自行部署的，而非由软件提供商进行统一部署。SaaS模式则由软件提供商统一部署并提供计算和存储服务。鉴于此特性一方面用户的使用成本降低很多，在软硬件的投入都大大缩小，但由此而衍生新的问题：数据保密和安全性。因为数据都是存放在软件服务商的服务器上，如何保障用户的数据保密性和安全性，将是SaaS模式在推广上的主要门槛。&lt;/p&gt;
&lt;p&gt;　　PaaS云计算，为平台即服务的概念。这是一种较创新的服务模式，PaaS云计算平台将为用户提供一个标准的、可扩展的应用计算与数据存储服务。用户可以在PaaS平台上开发并部署自己的应用程序，目前已有&lt;a href=&quot;http://code.google.com/appengine/&quot; target=&quot;_blank&quot;&gt;Google的App Engine&lt;/a&gt;（Java、Python语言）、&lt;a href=&quot;http://sae.sina.com.cn/&quot; target=&quot;_blank&quot;&gt;Sina的App Engine&lt;/a&gt;（PHP语言）、&lt;a href=&quot;http://heroku.com&quot; target=&quot;_blank&quot;&gt;HeroKu.com的App Engine&lt;/a&gt;（Ruby语言）和我们的&lt;a href=&quot;http://yo2lua.com&quot; target=&quot;_blank&quot;&gt;Yo2lua App Engine&lt;/a&gt;（Lua语言）等多个PaaS平台。PaaS云计算要求用户使用平台所支持的开发语言，并以平台开发SDK为基础进行应用程序开发。按业界常规服务都会提供数据库和文件存储服务，其中数据库服务因需要做到云服务支持非常庞大的数据量，一般服务商多为基于key/value非关系型数据库为主，当然有技术实力的云计算平台还在此基础上实现类关系型数据库的特性，以方便开发者使用；而文件存储服务也是一个巨大的系统，可容纳PB级别的文件。&lt;/p&gt;
&lt;p&gt;　　目前大多数网站因其规模已有较多在使用云存储系统（文件/KeyValue DB），这部分就是我们一般说的私有云服务。这些系统一般只为其网站本身使用，而非公有云计算平台是为计算服务。&lt;/p&gt;
&lt;p&gt;　　对于PaaS云计算平台的数据保密和安全，同样是平台发展的主要门槛。但相对SaaS平台则要低一些，并且数据服务敏感度也没有SaaS类服务高。PaaS平台的数据存储服务为应用程序服务，平台方并不理会客户的应用存储什么类型的数据和数据结构，但SaaS平台则对于平台方更简单易懂，是由SaaS平台方制定的存储方案，最清楚的也是平台方咯 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　IaaS云计算，为系统计算和存储服务为主。这是由原来虚拟机服务延伸出来的服务，（虚拟机：把一台服务器虚拟成多台服务器使用）就是我们在05年间开始流行的&lt;a href=&quot;http://baike.baidu.com/view/698769.htm#sub698769&quot; target=&quot;_blank&quot;&gt;VPS虚拟服务器&lt;/a&gt;。但IaaS云计算跟我们此前的虚拟机服务有非常大的区别，老的虚拟机服务只是简单的在一台服务器上虚拟出多台虚拟的服务器，以供多种业务使用，但这些虚拟服务器的计算和存储都将局限在一台物理服务器上，并且要跟其他几个虚拟服务器共同使用这台物理服务器，计算能力和存储能力都无法达到一台物理服务器的效果。而IaaS云计算服务则可按客户需求，购买需要多快的CPU、更大的内存和磁盘空间，通常这些要求可以大于一台物理服务器；比如我可以个购买几个TB的磁盘，并且这个磁盘还会带有Raid备份，不需要担心硬盘损坏而丢失任何数据。&lt;/p&gt;
&lt;p&gt;　　IaaS云计算服务平台更侧重于提供硬件服务，客户需要在购买到的虚拟机上安装自己需要的操作系统，并部署应用服务。也因此IaaS云计算服务跟传统的应用程序兼容性最好，不需要客户对原应用程序进行修改就可以迁移到IaaS云计算平台上，享用云计算带来的多种好处。虽然IaaS提供的类虚拟服务器服务，看似没有数据保密和安全的问题，但可不要忽略虽然数据是一个虚拟的硬盘空间，但同样是可以被可获取到该磁盘映像的第三方读取。当然这个风险较PaaS平台和SaaS平台都要低。&lt;/p&gt;
&lt;p&gt;　　目前国外的&lt;a href=&quot;http://aws.amazon.com/&quot; target=&quot;_blank&quot;&gt;亚马逊EC2&lt;/a&gt;和国内的阿里云、&lt;a href=&quot;http://www.cloudex.cn/&quot; target=&quot;_blank&quot;&gt;世纪互联&lt;/a&gt;和华为等企业都在发展自己的IaaS云计算平台。但目前国内的IaaS云计算平台与亚马逊所提供的云计算服务还有一定差距，国内还未有一个标杆服务，大家仍处于紧张的研发和测试阶段，并未出现国内的亚马逊 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; 但相信未来两年就会有的了。届时国内的IDC服务将被彻底  **  （当然服务的售价可不能比普通托管服务器的费用还高）如世纪互联的服务，因其机房带宽资源比较优秀，但其云计算服务的销售价格偏高，相信一般网站不会轻易选择他们的服务。毕竟托管物理服务器价格比你低的话，那么IaaS云计算还有哪些优势来吸引客户？&lt;/p&gt;
&lt;p&gt;　　总结来说，PaaS和IaaS才是严格意义上的云计算平台，而SaaS只是一个云计算的服务场景。而PaaS云计算平台也包括一部分标准的IaaS平台服务，如：文件存储和数据库服务；IaaS云计算平台更容易让客户接受，但虽然客户在使用IaaS云计算服务与传统的服务器计算没什么区别，同样客户也是需要SA（运维工程师）来管理这些虚拟服务器，IaaS只是提供虚拟的服务器而已。&lt;/p&gt;
&lt;p&gt;　　现在来看，SaaS平台可以构建在PaaS平台或IaaS云平台上，PaaS平台也包括一些IaaS平台所提供的服务，而IaaS平台更接近传统的服务器服务、更容易让客户接受（现阶段是这样）&lt;/p&gt;
&lt;p&gt;　　依我看：未来云计算必然会是PaaS云计算平台为主，PaaS云计算平台可给客户更廉价、更简单的服务。&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;阅：《标签，标签云》&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E9%2598%2585%25EF%25BC%259A%25E3%2580%258A%25E6%25A0%2587%25E7%25AD%25BE%25EF%25BC%258C%25E6%25A0%2587%25E7%25AD%25BE%25E4%25BA%2591%25E3%2580%258B.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;阅：《标签，标签云》&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;昨天 8 号，我跟女友登记注册了 :)&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E6%2598%25A8%25E5%25A4%25A9-8-%25E5%258F%25B7%25EF%25BC%258C%25E6%2588%2591%25E8%25B7%259F%25E5%25A5%25B3%25E5%258F%258B%25E7%2599%25BB%25E8%25AE%25B0%25E6%25B3%25A8%25E5%2586%258C%25E4%25BA%2586.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042527.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;昨天 8 号，我跟女友登记注册了 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;今天把自己的私人博客搬过来了&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E4%25BB%258A%25E5%25A4%25A9%25E6%258A%258A%25E8%2587%25AA%25E5%25B7%25B1%25E7%259A%2584%25E7%25A7%2581%25E4%25BA%25BA%25E5%258D%259A%25E5%25AE%25A2%25E6%2590%25AC%25E8%25BF%2587%25E6%259D%25A5%25E4%25BA%2586.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042356.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;今天把自己的私人博客搬过来了&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;电信发春～～～google被百度劫持&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fgoogle2baidu.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042092.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;电信发春～～～google被百度劫持&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784626/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html/feed</wfw:commentRss><slash:comments>5</slash:comments><description>云计算,yo2,yo2lua&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;阅：《标签，标签云》&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E9%2598%2585%25EF%25BC%259A%25E3%2580%258A%25E6%25A0%2587%25E7%25AD%25BE%25EF%25BC%258C%25E6%25A0%2587%25E7%25AD%25BE%25E4%25BA%2591%25E3%2580%258B.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;阅：《标签，标签云》&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;昨天 8 号，我跟女友登记注册了 :)&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E6%2598%25A8%25E5%25A4%25A9-8-%25E5%258F%25B7%25EF%25BC%258C%25E6%2588%2591%25E8%25B7%259F%25E5%25A5%25B3%25E5%258F%258B%25E7%2599%25BB%25E8%25AE%25B0%25E6%25B3%25A8%25E5%2586%258C%25E4%25BA%2586.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042527.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;昨天 8 号，我跟女友登记注册了 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;今天把自己的私人博客搬过来了&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2F%25E4%25BB%258A%25E5%25A4%25A9%25E6%258A%258A%25E8%2587%25AA%25E5%25B7%25B1%25E7%259A%2584%25E7%25A7%2581%25E4%25BA%25BA%25E5%258D%259A%25E5%25AE%25A2%25E6%2590%25AC%25E8%25BF%2587%25E6%259D%25A5%25E4%25BA%2586.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042356.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;今天把自己的私人博客搬过来了&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;电信发春～～～google被百度劫持&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fgoogle2baidu.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E7%2590%2586%25E8%25A7%25A3%25E4%25BA%2591%25E8%25AE%25A1%25E7%25AE%2597.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042092.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;电信发春～～～google被百度劫持&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784626/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>Think</category><category>Develop</category><pubDate>Sun, 24 Apr 2011 22:15:01 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645692</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/%e7%90%86%e8%a7%a3%e4%ba%91%e8%ae%a1%e7%ae%97.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784626/3372955</fs:itemid></item><item><title>聊聊创业</title><link>http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html</link><content:encoded>&lt;p&gt;　　创业？人人都在说创业，我从18岁开始就想着开网吧。哈哈，当时是2000年哦。整体在计算5块/小时耶，网吧50台电脑上座率达到80%，持续8小时就不得了。40x8x5=1600/天。幸苦当时老爸没钱给我折腾这个，否则我就可能因为这个改道了。并且后来验证了我当时的想法很天真，背后的成本是多大自己完全不知道。但也不否认一部分人是做网吧做到上市了（顺网？）&lt;/p&gt;
&lt;p&gt;　　我觉得这个机会不适合我，我当时也没有能力把这个机会把握得住。看看现在我们今天，刚出校门就有太多人是想开始创业的。谁不想做老板而去做个小员工？成功率不到1%。&lt;/p&gt;
&lt;p&gt;　　机会对大家都是平等的，但并不是人人都有做好准备去迎接机会。成功的背后有着很多辛酸，未吃过苦头光有远大想法有何用？如果上帝真眷顾你，让你成功了，但也很难保证你能对这个成功有深刻的认识和珍惜。有句俗语“来得快，去得快”。我们可以找找看谁中彩票后能得到成功的发展，成为亿万富翁。&lt;/p&gt;
&lt;p&gt;　　在我未有社会经验的情况下，我选择了打工。当然我知道我自己未来是属于互联网的，所以我的工作是网站后台开发一职。我也从份工作中得到了很多经验，在04年我投入到了一份全新的工作岗位：弱电工程师（网络、监控、安防系统）、智能灯光系统工程师。why ？因为互联网需要网络，另外是智能灯光这个项目可与互联网连接。05年我们就可以在手机上控制家中的电灯、电视机 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; 我是在为自己的未来积累着很多很多有可能需要到的经验，让我可以从多个角度去理解互联网。&lt;/p&gt;
&lt;p&gt;　　我在06年感觉时机到了，创办了Yo2.cn优博网。虽然当时已经过了博客热潮，但我们凭借更专业的技术得以跻身于BSP前列。我对成功的定义并不是说我们是否获得投资，发展更大。而是我们却却实实的体现到自我价值，才使得我们在08年实现收支平衡。也是因为Yo2项目让我这个乡下农民可以跻身于浩浩荡荡的互联网行业之中。目前还跟BlogCN合并，想当初我们还在想如果我们有BlogCN，BlogBUS的用户量，会是怎样的发展。&lt;/p&gt;
&lt;p&gt;　　在09年我到了杭州跟一老板做网游，但最终因游戏题材不算入流只能作罢。现在他们还在继续努力，我祝福他们可以早日得到大家的认可，打入市场 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; 从这个项目中让我学到不做自己不在行的事！否则成本是巨大的。当然我在这个项目中获得最大还是技术经验，毕竟自己从来没接触过网游的开发，具体的技术实现也是由我们几个同事从无到有做出来的。更重要的是我从中得到Lua开发的方向，可行性 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; so～有了我们目前正在筹备的 yo2lua.com 项目。&lt;/p&gt;
&lt;p&gt;　　Yo2LUA 项目从09年开始筹备一直到今天，它依然是在筹备状态。不过我们在10年可做了很多准备工作，1.技术预览、评估， 2.收购 yo2.com 域名，3.组建团队，4.开发demo，5.积累资金人脉。等等很多事情&lt;/p&gt;
&lt;p&gt;　　当你想到一个idea时，世界上不少于3个人也都想到了。云计算这算啥，现在很多公司都在做，google app engine、sina app engine、yun engine太多了。所以我说想法不值钱，值钱的是实现。谁有能力把想法以最低成本最高效率做出来。反观我们的状态好像有点滞后 _-!! 呵呵，但我有信心可以做好，因为我们走不寻常路。也许我们的赛道还未有竞争者加入，但我们也不能放松！在我们的筹备阶段，已经把技术核心实现得差不多并且在给其他项目提供技术支撑了 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_smile.gif' alt=':)' class='wp-smiley'&gt; 未来几个月我们还将更大的努力，尽快能够立项正式开始发展。&lt;/p&gt;
&lt;p&gt;　　 &lt;strong&gt;最后我想对创业说的是：机会和时机！你要有丰富的经验把握机会，在不同的阶段请做正确的事，沉着稳定的走向自己目标。&lt;/strong&gt;&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;.mobi 的网络机会&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fmobi-%25E7%259A%2584%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%25BA%25E4%25BC%259A.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;.mobi 的网络机会&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;debianchina.org 被黑 _-!!&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fdebianchinaorg-%25E8%25A2%25AB%25E9%25BB%2591-_.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042688.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;debianchina.org 被黑 _-!!&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2F%3Fp%3D642553&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/04/17/5783429.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;让你的 FireFox 带上 Chrome 面具 :D&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fallows-you-to-bring-the-firefox-chrome-mask-d.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041828.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;让你的 FireFox 带上 Chrome 面具 :D&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784627/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html/feed</wfw:commentRss><slash:comments>20</slash:comments><description>　　创业？人人都在说创业，我从18岁开始就想着开网吧。哈哈，当时是2000年哦。整体在计算5块/小时耶，网吧50台电脑上座率达到80%，持续8小时就不得了。40x8x5=1600/天。幸苦当时老爸没钱给我折腾这个，否则我就可能因为这个改道了。并且后来验证了我当时的想法很天真，背后的成本是多大自己完全不知道。但也不否认一部分人是做网吧做到上市了（顺网？） 　　我觉得这个机会不适合我，我当时也没有能力把这个机会把握得住。看看现在我们今天，刚出校门就有太多人是想开始创业的。谁不想做老板而去做个小员工？成功率不到1%。 　　机会对大家都是平等的，但并不是人人都有做好准备去迎接机会。成功的背后有着很多辛酸，未吃过苦头光有远大想法有何用？如果上帝真眷顾你，让你成功了，但也很难保证你能对这个成功有深刻的认识和珍惜。有句俗语“来得快，去得快”。我们可以找找看谁中彩票后能得到成功的发展，成为亿万富翁。 　　在我未有社会经验的情况下，我选择了打工。当然我知道我自己未来是属于互联网的，所以我的工作是网站后台开发一职。我也从份工作中得到了很多经验，在04年我投入到了一份全新的工作岗位：弱电工程师（网络、监控、安防系统）、智能灯光系统工程师。why ？因为互联网需要网络，另外是智能灯光这个项目可与互联网连接。05年我们就可以在手机上控制家中的电灯、电视机 我是在为自己的未来积累着很多很多有可能需要到的经验，让我可以从多个角度去理解互联网。 　　我在06年感觉时机到了，创办了Yo2.cn优博网。虽然当时已经过了博客热潮，但我们凭借更专业的技术得以跻身于BSP前列。我对成功的定义并不是说我们是否获得投资，发展更大。而是我们却却实实的体现到自我价值，才使得我们在08年实现收支平衡。也是因为Yo2项目让我这个乡下农民可以跻身于浩浩荡荡的互联网行业之中。目前还跟BlogCN合并，想当初我们还在想如果我们有BlogCN，BlogBUS的用户量，会是怎样的发展。 　　在09年我到了杭州跟一老板做网游，但最终因游戏题材不算入流只能作罢。现在他们还在继续努力，我祝福他们可以早日得到大家的认可，打入市场 从这个项目中让我学到不做自己不在行的事！否则成本是巨大的。当然我在这个项目中获得最大还是技术经验，毕竟自己从来没接触过网游的开发，具体的技术实现也是由我们几个同事从无到有做出来的。更重要的是我从中得到Lua开发的方向，可行性 so～有了我们目前正在筹备的 yo2lua.com 项目。 　　Yo2LUA 项目从09年开始筹备一直到今天，它依然是在筹备状态。不过我们在10年可做了很多准备工作，1.技术预览、评估， 2.收购 yo2.com 域名，3.组建团队，4.开发demo，5.积累资金人脉。等等很多事情 　　当你想到一个idea时，世界上不少于3个人也都想到了。云计算这算啥，现在很多公司都在做，google app engine、sina app engine、yun engine太多了。所以我说想法不值钱，值钱的是实现。谁有能力把想法以最低成本最高效率做出来。反观我们的状态好像有点滞后 _-!! 呵呵，但我有信心可以做好，因为我们走不寻常路。也许我们的赛道还未有竞争者加入，但我们也不能放松！在我们的筹备阶段，已经把技术核心实现得差不多并且在给其他项目提供技术支撑了 未来几个月我们还将更大的努力，尽快能够立项正式开始发展。 　　 最后我想对创业说的是：机会和时机！你要有丰富的经验把握机会，在不同的阶段请做正确的事，沉着稳定的走向自己目标。&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;.mobi 的网络机会&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fmobi-%25E7%259A%2584%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%25BA%25E4%25BC%259A.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;.mobi 的网络机会&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;debianchina.org 被黑 _-!!&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fdebianchinaorg-%25E8%25A2%25AB%25E9%25BB%2591-_.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3042688.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;debianchina.org 被黑 _-!!&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2F%3Fp%3D642553&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/04/17/5783429.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;让你的 FireFox 带上 Chrome 面具 :D&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fallows-you-to-bring-the-firefox-chrome-mask-d.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2F%25E8%2581%258A%25E8%2581%258A%25E5%2588%259B%25E4%25B8%259A.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041828.jpg&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;让你的 FireFox 带上 Chrome 面具 :D&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784627/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>时机</category><category>机会</category><category>创业</category><category>Home</category><pubDate>Sun, 28 Nov 2010 22:14:38 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645690</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/%e8%81%8a%e8%81%8a%e5%88%9b%e4%b8%9a.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784627/3372955</fs:itemid></item><item><title>Yo2.com 回家了！～</title><link>http://oneoo.com/articles/yo2com-home.html</link><content:encoded>&lt;p&gt;　　Yo2，多么熟悉的感觉。不过在我注册yo2域名时，yo2.com 已经被老外给注册了。退而求次购买了yo2.cn域名。04年cn域名还很好注册（但是要公司身份注册，所以有好多短的域名可供选择哦 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt; ）现在时代不一样了，时间很快就走了7年。.cn域名的注册量已经非常高啦。再想挑到个好点的域名来注册都挺难的～当然.com的域名就更难咯。&lt;/p&gt;
&lt;p&gt;　　不过近期的政策给我的信息是，.com 稳妥一些。而 yo2.com 域名一直是在荒废，注册者把它挂到域名拍卖的网站好几次，域名也是停靠在这些域名拍卖网站上的。早几年就想过把 yo2.com 买回来的（当然这笔费用肯定不小）苦于是 yo2 的起步阶段，未有这个能力。今年看到 yo2.com 停靠在 sedo.com 这个域名拍卖网站上，恰好又遇到被赶出国门的事情，使我的热火重新燃烧起来了 _-!!&lt;/p&gt;
&lt;p&gt;　　so～注册一个sedo帐号（居然注册还要签名验证，老外一点不马虎），尝试把 yo2.com 拍一下。经过一个月的拍卖过程（没有第三方加入，嘿好事），终于能跟卖家达成一个合适的价位 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt; 。当然还是高，但还是把自己一直以来的心愿完成重要！～哈哈。&lt;/p&gt;
&lt;p&gt;　　上周四跑银行电汇，周一钱就到sedo公司的帐上了。接着周二开始正式进入域名转移的流程，期间sedo的客服帮了很多忙（居然还有中国人的客服，直接中文沟通联系，方便 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt; ）今天下午就正式转入到我在 godaddy 的账户上了。&lt;/p&gt;
&lt;p&gt;　　嗯，就是2010年04月13日，下午15点20分。Yo2.com 正式属于俺的了！～谢谢，谢谢各位乡亲父老。弟达成这个心愿了。当然这个域名肯定是Yo2使用，至于是否使用在博客服务上，或其他项目这还未有决定。（Yo2不只是一个博客服务上唷～我们还有更酷的产品呢 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt; ）&lt;/p&gt;
&lt;p&gt;　　&lt;strong&gt;拭目以待！～Yo2.com 必将给你惊喜！&lt;/strong&gt;&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2 建博教程[完善ing]&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-howto.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3044723.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2 建博教程[完善ing]&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;FastDFS 分布式存储与 yo2cache 的结合&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffastdfs-distributed-storage-with-a-combination-of-yo2cache.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041498.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;FastDFS 分布式存储与 yo2cache 的结合&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2messager ??? 发展意向 :)&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2messager-%25E5%258F%2591%25E5%25B1%2595%25E6%2584%258F%25E5%2590%2591.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2messager ??? 发展意向 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2.cn 发展迅速，我们都很高兴&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2cn-%25E5%258F%2591%25E5%25B1%2595%25E8%25BF%2585%25E9%2580%259F%25EF%25BC%258C%25E6%2588%2591%25E4%25BB%25AC%25E9%2583%25BD%25E5%25BE%2588%25E9%25AB%2598%25E5%2585%25B4.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2.cn 发展迅速，我们都很高兴&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784628/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2com-home.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/yo2com-home.html/feed</wfw:commentRss><slash:comments>12</slash:comments><description>　　Yo2，多么熟悉的感觉。不过在我注册yo2域名时，yo2.com 已经被老外给注册了。退而求次购买了yo2.cn域名。04年cn域名还很好注册（但是要公司身份注册，所以有好多短的域名可供选择哦 ）现在时代不一样了，时间很快就走了7年。.cn域名的注册量已经非常高啦。再想挑到个好点的域名来注册都挺难的～当然.com的域名就更难咯。 　　不过近期的政策给我的信息是，.com 稳妥一些。而 yo2.com 域名一直是在荒废，注册者把它挂到域名拍卖的网站好几次，域名也是停靠在这些域名拍卖网站上的。早几年就想过把 yo2.com 买回来的（当然这笔费用肯定不小）苦于是 yo2 的起步阶段，未有这个能力。今年看到 yo2.com 停靠在 sedo.com 这个域名拍卖网站上，恰好又遇到被赶出国门的事情，使我的热火重新燃烧起来了 _-!! 　　so～注册一个sedo帐号（居然注册还要签名验证，老外一点不马虎），尝试把 yo2.com 拍一下。经过一个月的拍卖过程（没有第三方加入，嘿好事），终于能跟卖家达成一个合适的价位 。当然还是高，但还是把自己一直以来的心愿完成重要！～哈哈。 　　上周四跑银行电汇，周一钱就到sedo公司的帐上了。接着周二开始正式进入域名转移的流程，期间sedo的客服帮了很多忙（居然还有中国人的客服，直接中文沟通联系，方便 ）今天下午就正式转入到我在 godaddy 的账户上了。 　　嗯，就是2010年04月13日，下午15点20分。Yo2.com 正式属于俺的了！～谢谢，谢谢各位乡亲父老。弟达成这个心愿了。当然这个域名肯定是Yo2使用，至于是否使用在博客服务上，或其他项目这还未有决定。（Yo2不只是一个博客服务上唷～我们还有更酷的产品呢 ） 　　拭目以待！～Yo2.com 必将给你惊喜！&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2 建博教程[完善ing]&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-howto.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3044723.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2 建博教程[完善ing]&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;FastDFS 分布式存储与 yo2cache 的结合&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Ffastdfs-distributed-storage-with-a-combination-of-yo2cache.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041498.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;FastDFS 分布式存储与 yo2cache 的结合&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2messager ??? 发展意向 :)&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2messager-%25E5%258F%2591%25E5%25B1%2595%25E6%2584%258F%25E5%2590%2591.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2messager ??? 发展意向 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;yo2.cn 发展迅速，我们都很高兴&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2cn-%25E5%258F%2591%25E5%25B1%2595%25E8%25BF%2585%25E9%2580%259F%25EF%25BC%258C%25E6%2588%2591%25E4%25BB%25AC%25E9%2583%25BD%25E5%25BE%2588%25E9%25AB%2598%25E5%2585%25B4.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2com-home.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;yo2.cn 发展迅速，我们都很高兴&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784628/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2com-home.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>Think</category><category>Feels</category><category>Love</category><category>Home</category><pubDate>Tue, 13 Apr 2010 23:33:05 +0800</pubDate><comments>http://oneoo.com/articles/yo2com-home.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=645686</guid><fs:srclink>http://oneoo.com/articles/yo2com-home.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784628/3372955</fs:itemid></item><item><title>正确认识LUA在WEB开发上的特长</title><link>http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html</link><content:encoded>&lt;p&gt;　　在此前我发表过两篇文章，主要介绍LUA在WEB开发上的尝试和LUA的性能测试。其中它的性能测试是蛮不错的，普通的逻辑运算确实比PHP强，但一旦连接数据库的处理，那么这个优势就缩小了，但也基本有1.5～2倍的处理效率吧 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt; 但这点性能提升好像不足以让我们从应用非常普遍的PHP转到LUA上进行开发吧～包括我自己也只是在项目中的一小块应用上使用了LUA来处理。&lt;/p&gt;
&lt;p&gt;　　那么LUA如此之简单，很多操作库都需要自己开发来实现。值得吗？当你认识到LUA的真正意义，你会知道这是值得的。&lt;/p&gt;
&lt;p&gt;　　第一点：你可以用C或LUA本身来实现需要的操作库，如：数据库操作、模板、图片处理、文件处理等等。&lt;/p&gt;
&lt;p&gt;　　第二点：随心所欲的书写代码，没有什么你是无法实现的。Pool、Hook、Filter等都是非常简单的实现，PHP要实现这些功能却有点难度咯。其中WordPress博客系统上的Hook、Filter应用比较多，正是因为WordPress提供了这样的开发模式，它的插件数量非常的多，并且要开发一个WordPress也是很简单的事情。重点是写WordPress插件，不需要修改它系统本身的代码。正是这样插件才能广泛的流行和安装。如果插件需要修改系统代码来实现，这只能算是个 Hack ，这就无法做到很好的兼容性了。&lt;/p&gt;
&lt;p&gt;　　Yo2 正在努力开发一个LUA的WEB开发框架， 进一步降低从PHP转入LUA开发的门槛。&lt;/p&gt;
&lt;p&gt;　　贴一个很简单的LUA代码示例：&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;lua&quot;&gt;function aF()
return 'b'
end

function aF_filter(b)
if b == 'a' then return 'aaa' end
return 'cc'
end

addFilter('aF',aF_filter)

print(aF())&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;　　函数aF的返回值将被aF_filter过滤为cc输出。其中 add_filter 是LUA开发框架提供的函数（框架还包括数据库操作、模板操作、分布式文件操作等等功能唷～）&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;Yo2Lua App Engine 一个全新的应用开发模式&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/04/10962341.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;Yo2Lua App Engine 一个全新的应用开发模式&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;我对中国web2.0模式的理解&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fweb20-in-china.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;我对中国web2.0模式的理解&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784629/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html/feed</wfw:commentRss><slash:comments>7</slash:comments><description>　　在此前我发表过两篇文章，主要介绍LUA在WEB开发上的尝试和LUA的性能测试。其中它的性能测试是蛮不错的，普通的逻辑运算确实比PHP强，但一旦连接数据库的处理，那么这个优势就缩小了，但也基本有1.5～2倍的处理效率吧 但这点性能提升好像不足以让我们从应用非常普遍的PHP转到LUA上进行开发吧～包括我自己也只是在项目中的一小块应用上使用了LUA来处理。 　　那么LUA如此之简单，很多操作库都需要自己开发来实现。值得吗？当你认识到LUA的真正意义，你会知道这是值得的。 　　第一点：你可以用C或LUA本身来实现需要的操作库，如：数据库操作、模板、图片处理、文件处理等等。 　　第二点：随心所欲的书写代码，没有什么你是无法实现的。Pool、Hook、Filter等都是非常简单的实现，PHP要实现这些功能却有点难度咯。其中WordPress博客系统上的Hook、Filter应用比较多，正是因为WordPress提供了这样的开发模式，它的插件数量非常的多，并且要开发一个WordPress也是很简单的事情。重点是写WordPress插件，不需要修改它系统本身的代码。正是这样插件才能广泛的流行和安装。如果插件需要修改系统代码来实现，这只能算是个 Hack ，这就无法做到很好的兼容性了。 　　Yo2 正在努力开发一个LUA的WEB开发框架， 进一步降低从PHP转入LUA开发的门槛。 　　贴一个很简单的LUA代码示例： function aF() return 'b' end function aF_filter(b) if b == 'a' then return 'aaa' end return 'cc' end addFilter('aF',aF_filter) print(aF()) 　　函数aF的返回值将被aF_filter过滤为cc输出。其中 add_filter 是LUA开发框架提供的函数（框架还包括数据库操作、模板操作、分布式文件操作等等功能唷～）&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA与PHP在WEB应用的性能对比&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3040946.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA与PHP在WEB应用的性能对比&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;Yo2Lua App Engine 一个全新的应用开发模式&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/04/10962341.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;Yo2Lua App Engine 一个全新的应用开发模式&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;我对中国web2.0模式的理解&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fweb20-in-china.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;我对中国web2.0模式的理解&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784629/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>LUA</category><category>开发</category><category>WEB</category><category>Develop</category><pubDate>Mon, 30 Nov 2009 13:10:44 +0800</pubDate><author>oneoo</author><comments>http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=644659</guid><dc:creator>oneoo</dc:creator><fs:srclink>http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784629/3372955</fs:itemid></item><item><title>Yo2三岁了～该上幼儿园咯</title><link>http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html</link><content:encoded>&lt;p&gt;　　转眼三年了，时间过得很快。我们Yo2成长蛮顺利的，我和charles都为此感到欣慰！毕竟这几年过来，还是只有我们两个人扛起了Yo2的大小事务～目前Yo2的博客服务已经走上正轨，在健康发展ing。今年我的时间明显比早两年投入的少一些，大家别以为俺的心思不在这上面哦，Yo2可是我们最大的财富，我只是在想日后更多的事情。&lt;/p&gt;
&lt;p&gt;　　在Yo2两岁时，我们的技术架构基本定型，足以承载百万级的用户量，所以今年我们需要做的工作并不算多。维持稳定的服务才是重点。今年加入的服务器数量也是历年最多的，但过程中有点问题需要调整，目前到位的新机器还未正在发挥作用，很抱歉～ _-!! 尽快把它们用起来吧 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　Yo2能顺利走到今天，我们非常感谢大家的支持。没有大家，Yo2会出现资金压力的，尤其是现在的盘子已经够大的了，每月的硬件成本，是收费服务的营收来支撑的呢。大家应该认识到，Yo2的做事风格很务实。从来就没乱花一分钱，更别说铺张浪费呢 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt; 我们只会尽最大的努力，给大家带来更好的服务。（挑机房，要货比三家，带宽质量要好好的，价格要优惠再优惠的。～囧～我的工作QQ上居然有上百个做IDC服务的，看来我这几年联系过的真不少了）&lt;/p&gt;
&lt;p&gt;　　用技术节约成本，也是Yo2能走到今天的重要因素。charles的技术架构，使得Yo2的硬件成本压到了最低。业界的朋友们，都很难相信Yo2的数据处理服务器，单机可以提供10万个WordPress博客服务。甭笑我们一台机器叫什么数据中心，我们为此而自豪呢 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　在10月我们已经购入两台高端配置的服务器加入到数据处理上，主要目的是优化博客的服务能力，其次Yo2的目标不仅仅是博客，我们还要给大家提供更多元化的服务。博客是一块基石，站得稳才能跳得高。大家的支持，是我们强劲的后盾啊，Yo2要再看远一些。&lt;/p&gt;
&lt;p&gt;　　&lt;strong&gt;Yo2正式上幼儿园了，Yo2今年会有更多的服务出来。其中一个也将在11月正式向大家发布，大家记得捧场。嘿嘿！～&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;　　后续的发展路线在我们脑海里已经有了清晰的描绘，接着就是如何实现，进入实际性的操作上。新的一年，Yo2不会让你失望，处处惊喜 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　&lt;strong&gt;最后我诚意邀请大家参加Yo2在杭州举办的生日会，&lt;/strong&gt;&lt;a href=&quot;http://yo2.cn/birthday-3/&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;马上报名去～&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td &gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-service-0712.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;关于yo2服务不稳定&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2cn-%25E7%259A%2584%25E5%259B%25A2%25E9%2598%259F%25E7%25BB%2584%25E5%25BB%25BAing.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;yo2.cn 的团队组建ing&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2messager-%25E5%258F%2591%25E5%25B1%2595%25E6%2584%258F%25E5%2590%2591.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;yo2messager ??? 发展意向 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-two-years.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;Yo2 两周岁&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td  align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784630/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html/feed</wfw:commentRss><slash:comments>38</slash:comments><description>　　转眼三年了，时间过得很快。我们Yo2成长蛮顺利的，我和charles都为此感到欣慰！毕竟这几年过来，还是只有我们两个人扛起了Yo2的大小事务～目前Yo2的博客服务已经走上正轨，在健康发展ing。今年我的时间明显比早两年投入的少一些，大家别以为俺的心思不在这上面哦，Yo2可是我们最大的财富，我只是在想日后更多的事情。 　　在Yo2两岁时，我们的技术架构基本定型，足以承载百万级的用户量，所以今年我们需要做的工作并不算多。维持稳定的服务才是重点。今年加入的服务器数量也是历年最多的，但过程中有点问题需要调整，目前到位的新机器还未正在发挥作用，很抱歉～ _-!! 尽快把它们用起来吧 　　Yo2能顺利走到今天，我们非常感谢大家的支持。没有大家，Yo2会出现资金压力的，尤其是现在的盘子已经够大的了，每月的硬件成本，是收费服务的营收来支撑的呢。大家应该认识到，Yo2的做事风格很务实。从来就没乱花一分钱，更别说铺张浪费呢 我们只会尽最大的努力，给大家带来更好的服务。（挑机房，要货比三家，带宽质量要好好的，价格要优惠再优惠的。～囧～我的工作QQ上居然有上百个做IDC服务的，看来我这几年联系过的真不少了） 　　用技术节约成本，也是Yo2能走到今天的重要因素。charles的技术架构，使得Yo2的硬件成本压到了最低。业界的朋友们，都很难相信Yo2的数据处理服务器，单机可以提供10万个WordPress博客服务。甭笑我们一台机器叫什么数据中心，我们为此而自豪呢 　　在10月我们已经购入两台高端配置的服务器加入到数据处理上，主要目的是优化博客的服务能力，其次Yo2的目标不仅仅是博客，我们还要给大家提供更多元化的服务。博客是一块基石，站得稳才能跳得高。大家的支持，是我们强劲的后盾啊，Yo2要再看远一些。 　　Yo2正式上幼儿园了，Yo2今年会有更多的服务出来。其中一个也将在11月正式向大家发布，大家记得捧场。嘿嘿！～ 　　后续的发展路线在我们脑海里已经有了清晰的描绘，接着就是如何实现，进入实际性的操作上。新的一年，Yo2不会让你失望，处处惊喜 　　最后我诚意邀请大家参加Yo2在杭州举办的生日会，马上报名去～&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td &gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-service-0712.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;关于yo2服务不稳定&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2cn-%25E7%259A%2584%25E5%259B%25A2%25E9%2598%259F%25E7%25BB%2584%25E5%25BB%25BAing.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;yo2.cn 的团队组建ing&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2messager-%25E5%258F%2591%25E5%25B1%2595%25E6%2584%258F%25E5%2590%2591.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;yo2messager ??? 发展意向 :)&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td style=&quot;margin: 0 !important; padding: 0 !important; line-height: 20px !important;&quot;&gt;
                    &lt;img border=&quot;0&quot; src=&quot;http://static.wumii.com/images/widget/widget_solidPoint.gif&quot;&gt;
                    &lt;a target=&quot;_blank&quot; style=&quot;text-decoration: none !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-two-years.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot;&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;line-height: 1.65em; font-size: 12px !important;&quot;&gt;Yo2 两周岁&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td  align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784630/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>Think</category><category>Feels</category><pubDate>Tue, 27 Oct 2009 11:32:52 +0800</pubDate><comments>http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=644001</guid><fs:srclink>http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784630/3372955</fs:itemid></item><item><title>LUA与PHP在WEB应用的性能对比</title><link>http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html</link><content:encoded>&lt;p&gt;　　这几天用在WEB开发的LUA框架已经完成，框架中已包括数据库操作和模板操作的功能，能够很简单方便的应用在WEB开发上。在此时我对这个LUA框架和PHP开发的WEB应用分别进行充分的压力测试 &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_wink.gif' alt=';)' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　服务器配置：WEB服务器一台，压力测试服务器一台，均为双核+4G内存，CentOS 64位操作系统&lt;/p&gt;
&lt;p&gt;　　网络环境：局域网&lt;/p&gt;
&lt;p&gt;　　软件环境：yo2lua (50线程)，Nginx+PHP-FPM (50进程)&lt;br&gt;
　　　　　　　应用程序均为连接MySQL数据库查询1行数据并输出（表中就只有一行数据）&lt;/p&gt;
&lt;p&gt;　　压力测试软件：httperf+autobench&lt;/p&gt;
&lt;p&gt;　　操作命令行：autobench --host1=192.168.200.251 --port1=8001 --host2=v2.54xing.com --port2=80 --uri1=/ --uri2=/a.php --quiet --low_rate=500 --high_rate=5000 --rate_step=100 --num_call=1 --num_conn=10000 --timeout=10 --file /tmp/result.tsv&lt;br&gt;
　　从500并发起步，直到5000个并发，每次测试以10000个连接为基准取得平均值&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://oneoo.com/wp-content/uploads/1/151/2009/08/result.png&quot; rel=&quot;lightbox[642801]&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-642805&quot; title=&quot;result&quot; src=&quot;http://oneoo.com/wp-content/uploads/1/151/2009/08/result-300x225.png&quot; alt=&quot;result&quot; width=&quot;300&quot; height=&quot;225&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　从测试结果中分析得出，PHP在并发数达到800的时候，性能出现严重的下降并且不稳定。而LUA则一直达到3200个并发时出现一次突发的性能下降，上升到3800个并发后性能下降一半并且不稳定，但依然能维持在2000个并发以上。&lt;/p&gt;
&lt;p&gt;　　这份简单的测试告诉我，LUA在WEB应用上，性能可以是PHP的4倍以上，并且LUA在3000个并发时，占用的服务器资源非常少，远比PHP要低得多。&lt;/p&gt;
&lt;p&gt;　　这个LUA的WEB开发框架定位就是简单、高性能，也许一些复杂的功能无法实现，我认为这部分功能可以转到PHP类的语言进行开发就可以，不必要把这个开发框架变得复杂庞大起来，不然就背离原来简单、高效的宗旨了&amp;nbsp; &lt;img src='http://oneoo.com/wp-includes/images/smilies-3/icon_razz.gif' alt=':P' class='wp-smiley'&gt;&lt;/p&gt;
&lt;p&gt;　　LUA跟C的无缝对接，彻底征服俺了 _-!! ～ 刚用一台四核8G内存的WEB服务器跑个压力测试，稳定达到4500个并发/秒。&lt;/p&gt;
&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;正确认识LUA在WEB开发上的特长&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;正确认识LUA在WEB开发上的特长&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;Yo2Lua App Engine 一个全新的应用开发模式&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/04/10962341.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;Yo2Lua App Engine 一个全新的应用开发模式&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;我对中国web2.0模式的理解&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fweb20-in-china.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;我对中国web2.0模式的理解&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784631/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html/feed</wfw:commentRss><slash:comments>15</slash:comments><description>　　这几天用在WEB开发的LUA框架已经完成，框架中已包括数据库操作和模板操作的功能，能够很简单方便的应用在WEB开发上。在此时我对这个LUA框架和PHP开发的WEB应用分别进行充分的压力测试 　　服务器配置：WEB服务器一台，压力测试服务器一台，均为双核+4G内存，CentOS 64位操作系统 　　网络环境：局域网 　　软件环境：yo2lua (50线程)，Nginx+PHP-FPM (50进程) 　　　　　　　应用程序均为连接MySQL数据库查询1行数据并输出（表中就只有一行数据） 　　压力测试软件：httperf+autobench 　　操作命令行：autobench --host1=192.168.200.251 --port1=8001 --host2=v2.54xing.com --port2=80 --uri1=/ --uri2=/a.php --quiet --low_rate=500 --high_rate=5000 --rate_step=100 --num_call=1 --num_conn=10000 --timeout=10 --file /tmp/result.tsv 　　从500并发起步，直到5000个并发，每次测试以10000个连接为基准取得平均值 　　从测试结果中分析得出，PHP在并发数达到800的时候，性能出现严重的下降并且不稳定。而LUA则一直达到3200个并发时出现一次突发的性能下降，上升到3800个并发后性能下降一半并且不稳定，但依然能维持在2000个并发以上。 　　这份简单的测试告诉我，LUA在WEB应用上，性能可以是PHP的4倍以上，并且LUA在3000个并发时，占用的服务器资源非常少，远比PHP要低得多。 　　这个LUA的WEB开发框架定位就是简单、高性能，也许一些复杂的功能无法实现，我认为这部分功能可以转到PHP类的语言进行开发就可以，不必要把这个开发框架变得复杂庞大起来，不然就背离原来简单、高效的宗旨了&amp;#160; 　　LUA跟C的无缝对接，彻底征服俺了 _-!! ～ 刚用一台四核8G内存的WEB服务器跑个压力测试，稳定达到4500个并发/秒。&lt;table class=&quot;wumii-related-items&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; border=&quot;0&quot;  style=&quot;clear: both;&quot;&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot;&gt;&lt;b&gt;&lt;font size=&quot;-1&quot;  style=&quot;display: block !important; padding: 20px 0 5px !important;&quot;&gt;无觅猜您也喜欢：&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    
        &lt;tr&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;LUA-WEB开发的新方向&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Flua-web-development-of-a-new-direction.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/03/02/3041678.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;LUA-WEB开发的新方向&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;正确认识LUA在WEB开发上的特长&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fzheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;正确认识LUA在WEB开发上的特长&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;Yo2Lua App Engine 一个全新的应用开发模式&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fyo2lua-app-engine-%25E4%25B8%2580%25E4%25B8%25AA%25E5%2585%25A8%25E6%2596%25B0%25E7%259A%2584%25E5%25BA%2594%25E7%2594%25A8%25E5%25BC%2580%25E5%258F%2591%25E6%25A8%25A1%25E5%25BC%258F.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/site_images/2011/06/04/10962341.png&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;Yo2Lua App Engine 一个全新的应用开发模式&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
                &lt;td width=&quot;102&quot; valign=&quot;top&quot; style=&quot;padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;&quot;&gt;
                    &lt;a target=&quot;_blank&quot; title=&quot;我对中国web2.0模式的理解&quot; style=&quot;text-decoration: none !important; cursor: pointer !important;&quot; href=&quot;http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Foneoo.com%2Farticles%2Fweb20-in-china.html&amp;from=http%3A%2F%2Foneoo.com%2Farticles%2Flua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot;&gt;
                        &lt;img style=&quot;margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;&quot; src=&quot;http://static.wumii.com/images/blogWidget/wordpress_default.gif&quot; width=&quot;96px&quot; height=&quot;96px&quot; /&gt;&lt;br /&gt;
                        &lt;font size=&quot;-1&quot; color=&quot;#333333&quot; style=&quot;display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;&quot;&gt;我对中国web2.0模式的理解&lt;/font&gt;
                    &lt;/a&gt;
                &lt;/td&gt;
        &lt;/tr&gt;
    
    &lt;tr&gt;
        &lt;td colspan=&quot;4&quot; align=&quot;right&quot;&gt;
            &lt;a style=&quot;text-decoration: none !important;&quot; href=&quot;http://www.wumii.com/widget/relatedItems.htm&quot; target=&quot;_blank&quot; title=&quot;无觅相关文章插件&quot;&gt;
                &lt;font size=&quot;-1&quot; color=&quot;#bbbbbb&quot; style=&quot;display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;&quot;&gt;无觅&lt;/font&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/558784631/oneoo/feedsky/s.gif?r=http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>LUA</category><category>开发</category><category>WEB</category><category>Develop</category><category>框架</category><pubDate>Tue, 25 Aug 2009 14:08:31 +0800</pubDate><comments>http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html#comments</comments><guid isPermaLink="false">http://oneoo.com/?p=642801</guid><fs:srclink>http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html</fs:srclink><fs:srcfeed>http://oneoo.com/feed/</fs:srcfeed><fs:itemid>feedsky/oneoo/~5263818/558784631/3372955</fs:itemid></item></channel></rss>
