<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/post/491/</link>
<title><![CDATA[移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[移动互联网与手机]]></category>
<pubDate>Mon, 28 Oct 2013 07:23:37 +0000</pubDate> 
<guid>http://zyan.cc/post/491/</guid> 
<description>
<![CDATA[ 
	　　对于创业型团队来说，服务器托管费用+带宽成费用+运维成本，是压在头上的三座大山。满足业务性能需要，又要降低成本，尽快实现收支平衡，是当务之急。<br/><br/>　　一、不靠谱的 App Engine<br/><br/>　　1、Google App Engine 云服务在国外的成功，不代表国内巨头们各种 *AE 仿造品的成功。在微博上搜搜就可以看到小伙伴们吐槽的各种不稳定，另外，*AE们对资源使用最大数各种规定限制，加上为了计费、阉割功能的各种限制，使它的价格优势成为鸡肋。*AE们就好比100M共享带宽的小区宽带，以低价卖给每个上网用户5M的带宽，前几十个用户感觉这网速真不错，等他卖了100个以上用户5M带宽，而这部分用户白天上班去了，晚上下班回来都在上网，其中又有一部分看视频、BT下载，于是乎，白天网速快，晚上慢得要死，连200K带宽都达不到。要知道，不怕神一样的对手，就怕猪一样的队友，在国内的 App Engine 环境下，水平参差不齐的开发者的代码质量、习惯性的资源滥用、别人网站被攻击殃及池鱼对*AE性能的影响，导致*AE的稳定性非常差。<br/><br/>　　2、所以，*AE们也意识到公共 App Engine 不稳定，所以又推出专用 App Engine，但费用一下就翻了很多倍。所以，*AE只是个人博客、个人开发者玩玩的工具，真正用作项目，还是需谨慎。根据实际的经验，*AE们还真不如VPS稳定。<br/><br/><hr/><br/>　　二、成本低的小而美VPS<br/><br/>　　1、对于初创团队来说，购买服务器、交换机，托管服务器费用、带宽月使用费，是极其昂贵的。购买可以弹性升级硬件配置的云服务VPS，是降低成本不错的选择。国内VPS，1G内存、1~2核CPU、1M带宽、多线BGP，大概价格在100元/月左右，支持备案，可以作为最低入门选择，有条件可以购买两台互为热备，阿里云主机可以作为参考。大多数VPS服务商使用的都是廉价的SATA磁盘。如果你对磁盘IO要求较高，可以选择提供有SAS磁盘的IAAS云主机服务商，比如UCloud。<br/><br/>　　2、市场上的VPS商家主要有 Xen、OpenVZ、KVM 三种开源的虚拟化技术。全虚拟化的 Xen 更像独立主机，服务器资源按VPS实际大小平均分配，一般无法超售。半虚拟化的 OpenVZ 在同样的性能测试下，会比 Xen 高一些，但是，一台物理内存16G的服务器，可以分配出总内存大小超过16G很多倍的VPS，服务商可以超售，想卖多少台VPS就可以卖多少台，所以不推荐使用。KVM 在最新的 Linux 发行版中，已经是集成，但是，商业化应用还不成熟，基于 KVM 的 VPS 服务商很少。<br/><br/>　　3、VPS的操作系统，建议选择64位的Linux。在32位Linux下，PHP能给处理的整数不能超过正负2^31=2147483648，如果以后接入新浪微博、淘宝、腾讯等第三方开放平台，他们的接口里会有超过32位的整数（比如新浪用户ID、淘宝商品ID）。如果不幸使用32位Linux，你只能将这些整数当成字符串处理了，以后配合Sphinx等搜索引擎，会非常麻烦。<br/><br/>　　4、现在，可以在北京进行备案的域名有：国际域名 .com .net .org，国内域名 .cn .com.cn .中国，国别域名 .cc，其他的域名均不能进行备案。仅北京有限制，其它省市正常提交备案即可。我们原来申请的 .me 域名，在北京无法备案，后来只好拿到苏州去备案了。所以，在选择域名的时候，需要慎重。<br/><br/>　　5、使用 VPS，一定要定期在本地，做好数据备份，不要相信所谓的 7*24服务，99.99%安全稳定性，只要有人的VPS出问题了，都归为那 0.01%。<br/><br/><hr/><br/>　　三、应对峰值带宽的云存储<br/><br/>　　1、对于DAU（日活跃用户）过十万的网站、APP应用来说，CDN或云存储是必需品。使用云存储不是因为存储空间，因为一块几TB的SATA磁盘很便宜，使用云存储是因为高出平均带宽值几倍至几十倍的峰值带宽。做手机APP应用，峰值带宽更集中，当你向所有用户群发PUSH一条消息，用户被唤醒打开APP应用，几分钟的时间，会消耗几十倍的带宽峰值。图片、下载，是最主要的带宽消耗者。也许，数据接口API只需不到1M的带宽，而图片对带宽的峰值需求则会达到100M。为了几分钟的峰值，去购买100M昂贵的带宽，其他时间带宽都空闲，是一件非常奢侈的事。<br/><br/>　　2、国内提供云存储服务的商家有很多，真正好用得却不多，提供FTP等公共通用协议的云存储更是微乎其微。使用第三方云服务，切忌千万不要吊死在一棵树上。支持FTP等公共协议，如果将来有问题，能够方便的进行数据迁移和技术替代。如果云服务厂商一直能够提供优质的服务，那么，也就可以长期使用他们的云服务。相信优秀的云存储提供商，是不会惧怕这一点的。<br/><br/>............<br/>
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37193</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>懂你 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 08:44:00 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37193</guid> 
<description>
<![CDATA[ 
	顶，宴哥
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37201</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>ff &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 09:20:28 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37201</guid> 
<description>
<![CDATA[ 
	这篇文章总结的好哇，不过似乎，你说了半天就是说国内云不行，直接vps得了，
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37221</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>5169.info &lt;xinyu3ru@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 12:18:36 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37221</guid> 
<description>
<![CDATA[ 
	我来顶一下，看很多次的你的博客才能看到你更新一次，不容易呀谢谢分享创业心得
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37227</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>小蓝 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 14:23:54 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37227</guid> 
<description>
<![CDATA[ 
	感觉你的博客突然慢了好多~10M的联通
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37229</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>小蓝 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 14:42:25 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37229</guid> 
<description>
<![CDATA[ 
	上次您推荐的那个VPS就是您说您自己的这个博客的VPS我购买了1月3.99刀的可是现在我发现我无法访问了~翻墙倒是可以访问......这个神器的天朝啊~我如何解决呢？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37231</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>mengkang &lt;i@zhoumengkang.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 28 Oct 2013 15:12:16 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37231</guid> 
<description>
<![CDATA[ 
	什么？楼主在创业，真的假的。。。谁跟着发展，谁就赚了。。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37257</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>申法宽 &lt;shenfakuan@163.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 29 Oct 2013 01:08:51 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37257</guid> 
<description>
<![CDATA[ 
	写的就是不一样, 很中肯
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37279</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>123 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 29 Oct 2013 05:59:04 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37279</guid> 
<description>
<![CDATA[ 
	干货，干货。。。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37398</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>李明 &lt;admin@likinming.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 00:06:49 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37398</guid> 
<description>
<![CDATA[ 
	我觉得阿里云最靠普。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37400</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>169IT &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 01:48:39 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37400</guid> 
<description>
<![CDATA[ 
	纯干货，非常受用！
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37408</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>james &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 04:02:14 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37408</guid> 
<description>
<![CDATA[ 
	我是宴哥的粉丝，赞一个
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37424</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>coffeetea &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 06:28:44 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37424</guid> 
<description>
<![CDATA[ 
	宴哥自行开发的 Nosql 类似开源的那种?
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37440</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>jookie &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 08:22:17 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37440</guid> 
<description>
<![CDATA[ 
	32 64 位的系统 主要看的你的VPS内存 256的内存 跑64的 我感觉不太可能<br/><br/>1G一下 最好用32位<br/><br/>2G 用64 比较好
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37439</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>jookie &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 08:22:57 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37439</guid> 
<description>
<![CDATA[ 
	本人还是喜欢KVM的虚拟方式！主要支持FB系统 不过折腾的用户多了&nbsp;&nbsp;硬盘就出现问题！<br/><br/>一般SSD的硬盘不出现这样的情况！<br/><br/>一般是XEN-HVM&nbsp;&nbsp;或者 KVM
]]>
</description>
</item><item>
<link>http://zyan.cc/post/491/#blogcomment37448</link>
<title><![CDATA[[评论] 移动互联网初创型团队需要什么样的云计算服务？]]></title> 
<author>ksnw8d &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Oct 2013 09:10:43 +0000</pubDate> 
<guid>http://zyan.cc/post/491/#blogcomment37448</guid> 
<description>
<![CDATA[ 
	我也是粉丝
]]>
</description>
</item>
</channel>
</rss>