<?xml version="1.0" encoding="utf-8"?><feed
  xmlns="http://www.w3.org/2005/Atom"
  xmlns:thr="http://purl.org/syndication/thread/1.0"
  xml:lang=""
  xml:base="http://oneoo.com/wp-atom.php"
   >
	<title type="text">oneoo's 私家花园</title>
	<subtitle type="text">这里是我的私人地方，一片属于我的天地～</subtitle>

	<updated>2009-11-30T06:28:09Z</updated>
	<generator uri="http://wordpress.org/" version="2.7.1">WordPress</generator>

	<link rel="alternate" type="text/html" href="http://oneoo.com" />
	<id>http://oneoo.com/feed/atom</id>
	<link rel="self" type="application/atom+xml" href="http://oneoo.com/feed/atom" />

			<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[Twitter]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/twitter.html" />
		<id>http://oneoo.com/articles/twitter.html</id>
		<updated>2009-07-13T07:11:56Z</updated>
		<published>2008-12-09T16:47:53Z</published>
		<category scheme="http://oneoo.com" term="Think" />		<summary type="html"><![CDATA[<br />
心情歌曲：<br />
 酷爱<br />
&#160;不要在我寂寞的时候说爱我<br />
&#160;我想更懂你<br />
&#160;如果没有你<br />
 一定要爱你<br />

<br /><p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/twitter.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/twitter.html#comments" thr:count="26"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/twitter.html/feed/atom" thr:count="26"/>
		<thr:total>26</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[正确认识LUA在WEB开发上的特长]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html" />
		<id>http://oneoo.com/?p=644659</id>
		<updated>2009-11-30T06:28:09Z</updated>
		<published>2009-11-30T05:10:44Z</published>
		<category scheme="http://oneoo.com" term="Develop" /><category scheme="http://oneoo.com" term="LUA" /><category scheme="http://oneoo.com" term="WEB" /><category scheme="http://oneoo.com" term="开发" />		<summary type="html"><![CDATA[　　在此前我发表过两篇文章，主要介绍LUA在WEB开发上的尝试和LUA的性能测试。其中它的性能测试是蛮不错的，普通的逻辑运算确实比PHP强，但一旦连接数据库的处理，那么这个优势就缩小了，但也基本有1.5～2倍的处理效率吧  但这点性能提升好像不足以让我们从应用非常普遍的PHP转到LUA上进行开发吧～包括我自己也只是在项目中的一小块应用上使用了LUA来处理。<br />
　　那么LUA如此之简单，很多操作库都需要自己开发来实现。值得吗？当你认识到LUA的真正意义，你会知道这是值得的。<br />
　　第一点：你可以用C或LUA本身来实现需要的操作库，如：数据库操作、模板、图片处理、文件处理等等。<br />
　　第二点：随心所欲的书写代码，没有什么你是无法实现的。Pool、Hook、Filter等都是非常简单的实现，PHP要实现这些功能却有点难度咯。其中WordPress博客系统上的Hook、Filter应用比较多，正是因为WordPress提供了这样的开发模式，它的插件数量非常的多，并且要开发一个WordPress也是很简单的事情。重点是写WordPress插件，不需要修改它系统本身的代码。正是这 [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html#comments" thr:count="4"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/zheng-que-ren-shi-lua-zai-web-kai-fa-shang-di-te-chang.html/feed/atom" thr:count="4"/>
		<thr:total>4</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[Yo2三岁了～该上幼儿园咯]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html" />
		<id>http://oneoo.com/?p=644001</id>
		<updated>2009-10-27T03:34:17Z</updated>
		<published>2009-10-27T03:32:52Z</published>
		<category scheme="http://oneoo.com" term="Feels" /><category scheme="http://oneoo.com" term="Think" />		<summary type="html"><![CDATA[　　转眼三年了，时间过得很快。我们Yo2成长蛮顺利的，我和charles都为此感到欣慰！毕竟这几年过来，还是只有我们两个人扛起了Yo2的大小事务～目前Yo2的博客服务已经走上正轨，在健康发展ing。今年我的时间明显比早两年投入的少一些，大家别以为俺的心思不在这上面哦，Yo2可是我们最大的财富，我只是在想日后更多的事情。<br />
　　在Yo2两岁时，我们的技术架构基本定型，足以承载百万级的用户量，所以今年我们需要做的工作并不算多。维持稳定的服务才是重点。今年加入的服务器数量也是历年最多的，但过程中有点问题需要调整，目前到位的新机器还未正在发挥作用，很抱歉～ _-!! 尽快把它们用起来吧 <br />
　　Yo2能顺利走到今天，我们非常感谢大家的支持。没有大家，Yo2会出现资金压力的，尤其是现在的盘子已经够大的了，每月的硬件成本，是收费服务的营收来支撑的呢。大家应该认识到，Yo2的做事风格很务实。从来就没乱花一分钱，更别说铺张浪费呢  我们只会尽最大的努力，给大家带来更好的服务。（挑机房，要货比三家，带宽质量要好好的，价格要优惠再优惠的。～囧～我的工作QQ上居然有上百个做IDC服务的，看来我这 [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html#comments" thr:count="38"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/yo2-san-sui-liao-gai-shang-you-er-yuan-ka.html/feed/atom" thr:count="38"/>
		<thr:total>38</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[LUA与PHP在WEB应用的性能对比]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html" />
		<id>http://oneoo.com/?p=642801</id>
		<updated>2009-08-25T06:42:32Z</updated>
		<published>2009-08-25T06:08:31Z</published>
		<category scheme="http://oneoo.com" term="Develop" /><category scheme="http://oneoo.com" term="LUA" /><category scheme="http://oneoo.com" term="WEB" /><category scheme="http://oneoo.com" term="开发" /><category scheme="http://oneoo.com" term="框架" />		<summary type="html"><![CDATA[　　这几天用在WEB开发的LUA框架已经完成，框架中已包括数据库操作和模板操作的功能，能够很简单方便的应用在WEB开发上。在此时我对这个LUA框架和PHP开发的WEB应用分别进行充分的压力测试 <br />
　　服务器配置：WEB服务器一台，压力测试服务器一台，均为双核+4G内存，CentOS 64位操作系统<br />
　　网络环境：局域网<br />
　　软件环境：yo2lua (50线程)，Nginx+PHP-FPM (50进程)<br />
　　　　　　　应用程序均为连接MySQL数据库查询1行数据并输出（表中就只有一行数据）<br />
　　压力测试软件：httperf+autobench<br />
　　操作命令行：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 --tim [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html#comments" thr:count="7"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/lua-yu-php-zai-web-ying-yong-di-xing-neng-dui-bi.html/feed/atom" thr:count="7"/>
		<thr:total>7</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[LUA-WEB开发的新方向]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/lua-web-development-of-a-new-direction.html" />
		<id>http://oneoo.com/?p=642553</id>
		<updated>2009-08-12T17:05:51Z</updated>
		<published>2009-08-12T16:56:59Z</published>
		<category scheme="http://oneoo.com" term="Develop" /><category scheme="http://oneoo.com" term="LUA" /><category scheme="http://oneoo.com" term="server" /><category scheme="http://oneoo.com" term="WEB" /><category scheme="http://oneoo.com" term="开发" />		<summary type="html"><![CDATA[　　从事PHP开发有好几年了，初出茅庐时就接触了PHP和JAVA两种WEB开发语言，其中JAVA主要是SERVLET模式，而PHP则是使用时间最长的一门语言。真正应用在业务上的也就是PHP了。PHP的优点我就不废话了，但并不代表它没缺点。PHP给我最大的困扰就是不支持多线程，不支持异步处理，也正是因为这两点导致PHP容易导致堵塞。<br />
　　近期一个项目上，我写了一个简单的PHP开发框架，在这个框架基础上已经做了两个版本的开发，第二个版本是Flash+PHP。其中主要应用到的是JSON-RPC接口部分，PHP要做的基本就是数据逻辑处理方面的工作了。因为有了点经验，所以我就想是否可以从PHP换到LUA类的语言上做WEB开发。<br />
　　查看过不少的资料，发现LUA会是一个很好的选择。我看中它的原因就在于LUA跟C的无缝配接上，C与LUA上的代码方法都可以互相调用、共享数据。并且我在去年就自己写了一个WEB SERVER程序，我可以比较简单的在原来的基础上集成对LUA的支持。但也有一个大的问题存在，LUA在WEB应用上的开发资料非常少，国内甚至没有什么WEB项目是使用LUA进行开发的， [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/lua-web-development-of-a-new-direction.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/lua-web-development-of-a-new-direction.html#comments" thr:count="4"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/lua-web-development-of-a-new-direction.html/feed/atom" thr:count="4"/>
		<thr:total>4</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[尊重是双方的互动]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/respect-for-the-interaction-between-the-two-sides.html" />
		<id>http://oneoo.com/?p=639725</id>
		<updated>2009-05-02T08:17:44Z</updated>
		<published>2009-05-02T08:17:43Z</published>
		<category scheme="http://oneoo.com" term="Think" /><category scheme="http://oneoo.com" term="互动" /><category scheme="http://oneoo.com" term="尊重" />		<summary type="html"><![CDATA[　　我们从小时候，文化就教育我们应该尊重人，和如何获得人家的尊重。非常简单的一个词语：尊重，但我们是不是真的认识这个词的含义？未必吧～<br />
　　人要获得其他的人尊重，就先从自己开始尊重别人。这是一个互动的过程。我在此前尊重（也许还带崇拜？）过一些人，但我在过程中受到一点点的伤害了，so～我也就开始藐视这些人的存在，why？因我在这个互动的过程中，付出了，但没有回报，更甚至被人‘藐视’～？我人的本性显露出来了，自私的我认为付出了，你不给回报就算了，居然还来伤害我？这肯定不行的，马上从之前的尊重来个180度转弯，藐视之～嘿嘿。<br />
　　如果你是一个上司，希望得到下属的尊重吧？请问，你在乎他们的感受吗？你乐意接纳下属的意见吗？<br />
　　如果你是一个大款，希望得到大家的尊重吧？请问，你觉得清洁工的劳动跟你有关吗？<br />
　　如果你是TA的另一半，TA做家务、或者TA努力赚钱，你会如何对待TA的付出？<br />
　　不懂的朋友向你请教、问个意见，请问你会如何对待这些问题？<br />
　　请问你有尊重的人吗？跟他互动过吗？互动的过程愉快吗？<br />
<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/respect-for-the-interaction-between-the-two-sides.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/respect-for-the-interaction-between-the-two-sides.html#comments" thr:count="16"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/respect-for-the-interaction-between-the-two-sides.html/feed/atom" thr:count="16"/>
		<thr:total>16</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[分享歌曲： 即使知道要见面]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/fen-xiang-ge-qu.html" />
		<id>http://oneoo.com/?p=639527</id>
		<updated>2009-04-20T11:04:34Z</updated>
		<published>2009-04-20T10:01:02Z</published>
		<category scheme="http://oneoo.com" term="Gather" /><category scheme="http://oneoo.com" term="Love" />		<summary type="html"><![CDATA[<br />
Sara 即使知道要见面（泰语）演唱：泰国歌手--Sara<br />
歌词+翻译：<br />

译音：mong kon orn aen lae mong kon rong hai<br />
译意：看见脆弱的人看到哭泣的人<br />
bung kon pwud jai gub ruk tee mi<br />
某人为爱而心伤痛<br />
bung kon toom tae toom jai hai daem tee<br />
某人奉献付出全部的心<br />
mai hen waa mi arai keun ma<br />
没看到有任何回报<br />
chun kae yark tum sing tee tum nun peur krai<br />
我只是想要问 那样做是为了谁<br />
tee tum long bpai naed neuy bung mai<br />
一直做下去 疲惫吗 ?<br />
peur kum waa ruk laew arai gor yom ton !<br />
为了爱 甚麽都愿意承受<br />
peur bung kon arai gor yom tum<br />
为了某人 甚麽都 [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/fen-xiang-ge-qu.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/fen-xiang-ge-qu.html#comments" thr:count="8"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/fen-xiang-ge-qu.html/feed/atom" thr:count="8"/>
		<thr:total>8</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[IDC～折腾啊～]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/bei-idc-zhe-teng-liao.html" />
		<id>http://oneoo.com/?p=638917</id>
		<updated>2009-04-18T07:30:44Z</updated>
		<published>2009-04-10T11:58:16Z</published>
		<category scheme="http://oneoo.com" term="Feels" /><category scheme="http://oneoo.com" term="Gather" /><category scheme="http://oneoo.com" term="cdn" /><category scheme="http://oneoo.com" term="IDC" /><category scheme="http://oneoo.com" term="服务" />		<summary type="html"><![CDATA[　　Yo2 从3月15进行 WordPress 博客系统的升级工作，当时Yo2在浙江的电信CDN节点网络质量比较差，部分地区用户反映访问非常慢。我们为在升级后给用户更好的体验，决定在浙江在增加一个双线服务器节点，以提升网络质量。当时机房的选择我们已测试过一个多星期，感觉还算不错的。<br />
　　但事与愿违，新增加的服务器跟数据中心的连接并不顺畅。经过跟IDC服务商的交涉，从旧机房搬迁到一个新机房，总算解决连接数据中心的网络问题。但把服务正式迁移到该节点后，用户陆续反映访问速度慢的问题。<br />
　　因同时WordPress升级后有比较多的BUG处理工作，兼顾起CDN节点的事情就比较困难了。并且马上就增加新的电信节点，也不合适。因为我们每个节点的增加都是需要预支付租金的，服务商也不见得会给我们退款。跌跌撞撞的勉强服务到4月3号左右，实在抗不住&#160;_-!!博客系统的BUG处理也基本完成，so～再寻找到一家新的服务商，机房在江苏。当时我们测试速度是比较理想的，为了尽快解决CDN网络问题，也不容多想，就决定租用一个月作为测试用。<br />
　　依然是事与愿违，新增加的服务器跟数据中心链接 [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/bei-idc-zhe-teng-liao.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/bei-idc-zhe-teng-liao.html#comments" thr:count="33"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/bei-idc-zhe-teng-liao.html/feed/atom" thr:count="33"/>
		<thr:total>33</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[互联网+博客+能力+机遇=成功]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/internet-blog-ability-opportunity-for-success.html" />
		<id>http://oneoo.com/articles/internet-blog-ability-opportunity-for-success.html</id>
		<updated>2009-11-30T04:32:03Z</updated>
		<published>2008-12-26T04:23:30Z</published>
		<category scheme="http://oneoo.com" term="Feels" /><category scheme="http://oneoo.com" term="互联网" /><category scheme="http://oneoo.com" term="博客" /><category scheme="http://oneoo.com" term="成功" /><category scheme="http://oneoo.com" term="机遇" /><category scheme="http://oneoo.com" term="能力" />		<summary type="html"><![CDATA[　　互联网 - 新时代的信息传播平台<br />
　　博客 - 个人信息的发布平台<br />
　　能力 - 个人技能、知识、经验<br />
　　机遇 - 现实的项目、工作<br />
　　以上四个因素你都做好了吗？请认真想想你距离成功还有多长 <br />
　　互联网，只要你是个网民就算是完成了。但如何能够用好互联网是个非常重要的，有的是玩网游、有的是看电影、有的看八卦杂志、更有人用来学习与工作。我自己则更倾向于学习与工作<br />
　　为了能让别人能够通过互联网找到自己，我们就需要找一个信息发布平台了。而博客则是一个非常好的平台。发布平台在现在的web2.0环境，很容易就能找到，但你是否能在这个舞台跳好一支舞则大有学问 。只是转转文章、写些流水帐，我建议你不如不写了，这些东西根本没有价值，无法体现出你的个人！我们更应该在这里发表一些自己的经验、心得，这些才是体现个人价值的重点。<br />
　　当然你没有能力的话，上面的纯粹空谈。当你还未有足够能力时，更应该在互联网平台上好好充实自己，积累经验。这些不能一步到位的，要有个积累的过程。<br />
　　当我们在舞台上跳出一支美妙的舞蹈，台下总会有人欣赏自己  机 [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/internet-blog-ability-opportunity-for-success.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/internet-blog-ability-opportunity-for-success.html#comments" thr:count="5"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/internet-blog-ability-opportunity-for-success.html/feed/atom" thr:count="5"/>
		<thr:total>5</thr:total>
	</entry>
		<entry>
		<author>
			<name>oneoo</name>
					</author>
		<title type="html"><![CDATA[使用加密 cookie 代替 session 的应用方案]]></title>
		<link rel="alternate" type="text/html" href="http://oneoo.com/articles/the-use-of-encryption-session-of-the-application-instead-of-cookie.html" />
		<id>http://oneoo.com/articles/the-use-of-encryption-session-of-the-application-instead-of-cookie.html</id>
		<updated>2008-12-23T15:03:09Z</updated>
		<published>2008-12-23T14:49:46Z</published>
		<category scheme="http://oneoo.com" term="Develop" /><category scheme="http://oneoo.com" term="cookie" /><category scheme="http://oneoo.com" term="session" /><category scheme="http://oneoo.com" term="开发" />		<summary type="html"><![CDATA[　　在传统的网站应用中，我们会把一些相对敏感的用户信息保存在 session 中，目的就是为了避免这些敏感信息的意外泄漏，给用户带来不便。但要实现这个功能，我们却要付出比较昂贵的代价。比如单服务器的小型网站，session 占用文件系统或数据库资源，当然因为网站小，用户数量并不多，这个不会带来多大的问题。但如果对一个大型网站，过数万个用户同时在线的话，这个成本就非常大了，并且为了解决多服务器共享 session 的问题，还可能会使用数据库来保存 session 的数据，数万个在线用户的 session 可不是随便搞个数据库就可以抗起来的。<br />
　　其实在我们真实的互联网应用中，这部分的数据是否真的很敏感？这个值得大家思考。为了避免使用 session 所要花费的成本，我们可以考虑使用加密的 cookie 来代替。下面介绍一下我做的 cookie 共享方案：<br />
&#160;<br />
　　从图中可以看到，我们为加密 cookie 专门提供了一个 XTea Server（Xtea是一个加密协议），其实它就是一个加密和解密字符串的服务程序，采用 TCP Socket 进行连接。<br [...]<p>文章来源 <a href="http://oneoo.com">oneoo's 私家花园</a> : http://oneoo.com/articles/the-use-of-encryption-session-of-the-application-instead-of-cookie.html, 数字验证: b96690767bb506e0257e9532a7888dc4</p>]]></summary>
		<link rel="replies" type="text/html" href="http://oneoo.com/articles/the-use-of-encryption-session-of-the-application-instead-of-cookie.html#comments" thr:count="9"/>
		<link rel="replies" type="application/atom+xml" href="http://oneoo.com/articles/the-use-of-encryption-session-of-the-application-instead-of-cookie.html/feed/atom" thr:count="9"/>
		<thr:total>9</thr:total>
	</entry>
	</feed>