﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-flyonok-随笔分类-work record</title><link>http://www.cppblog.com/flyonok/category/14411.html</link><description /><language>zh-cn</language><lastBuildDate>Wed, 10 Nov 2010 17:13:38 GMT</lastBuildDate><pubDate>Wed, 10 Nov 2010 17:13:38 GMT</pubDate><ttl>60</ttl><item><title>S3的价格</title><link>http://www.cppblog.com/flyonok/archive/2010/11/09/133112.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Tue, 09 Nov 2010 08:40:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/11/09/133112.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/133112.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/11/09/133112.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/133112.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/133112.html</trackback:ping><description><![CDATA[<h2 style="font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif; font-weight: bold; font-size: 1.6em; color: rgb(51, 51, 51); text-decoration: none; margin-top: 30px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 19px; ">Amazon S3 價格表 (US &#8211; Standard)</h2><div class="entry" style="line-height: 1.4em; color: rgb(51, 51, 51); font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; "><p style="font-size: 1.05em; ">Amazon S3 網站上有<a href="http://aws.amazon.com/s3/#pricing" target="_blank" style="color: rgb(0, 102, 204); text-decoration: none; ">收費方式說明</a>，也有<a href="http://calculator.s3.amazonaws.com/calc5.html" target="_blank" style="color: rgb(0, 102, 204); text-decoration: none; ">每月收費計算程式</a>提供簡易試算。<br>這裡稍微整理一下，將各收費級距的最多收費金額列出，以便報價時參考。</p><table align="center" border="1" cellpadding="3" cellspacing="0" summary="Amazon S3 Pricing - Storage （資料儲存）"><caption>Amazon S3 Pricing &#8211; Storage （資料儲存）</caption><thead><tr><th align="center">資料量收費級距</th><th align="center">每 GB 單價</th><th align="center">資料量</th><th align="center">最多收費</th></tr></thead><tbody><tr><th align="center">0 ~ 50TB</th><td align="right">$0.150</td><th align="center">50TB</th><td align="right">$7,680.00</td></tr><tr><th align="center">50TB ~ 100TB</th><td align="right">$0.140</td><th align="center">100TB</th><td align="right">$14,848.00</td></tr><tr><th align="center">100TB ~ 500TB</th><td align="right">$0.130</td><th align="center">500TB</th><td align="right">$68,096.00</td></tr><tr><th align="center">500TB ~ 1,000TB</th><td align="right">$0.105</td><th align="center">1,000TB</th><td align="right">$121,856.00</td></tr><tr><th align="center">1,000TB ~ 5,000TB</th><td align="right">$0.080</td><th align="center">5,000TB</th><td align="right">$449,536.00</td></tr><tr><th align="center">5,000TB ~</th><td align="right">$0.055</td><th align="center">超過 5,000TB</th><td align="right">NA</td></tr></tbody><tfoot><tr><td colspan="4"><ul style="margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; list-style-type: none; list-style-position: initial; list-style-image: initial; padding-left: 10px; text-indent: -10px; "><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述資料量是按月計算，每個月結算一次。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述價格是美金。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">1TB = 1024GB。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">範例: 如果月資料量是 75TB，收費金額是 50 x 1024 x 0.15 + 25 x 1024 x 0.14。</li></ul></td></tr></tfoot></table><table align="center" border="1" cellpadding="3" cellspacing="0" summary="Amazon S3 Pricing - Data Transfer （資料傳輸）"><caption>Amazon S3 Pricing &#8211; Data Transfer （資料傳輸）</caption><thead><tr><th align="center">收費方式</th><th align="center">每 GB 單價</th><th align="center">傳輸量</th><th align="center">最多收費</th></tr></thead><tbody><tr><th align="left" colspan="4">Data Transfer In 資料輸入（傳入 S3）</th></tr><tr><th align="center">不限流量</th><td align="right">$0.100</td><th align="center">NA</th><td align="right">NA</td></tr><tr><td colspan="4" align="center">（在 2010/06/30 之前， Data Transfer In 不收費。）</td></tr><tr><th align="left" colspan="4">Data Transfer Out 資料傳出（從 S3 傳出）</th></tr><tr><th align="center">0 ~ 1GB</th><td align="right">$0.000</td><th align="center">1GB</th><td align="right">$0.00</td></tr><tr><th align="center">1GB ~ 10TB</th><td align="right">$0.150</td><th align="center">10TB</th><td align="right">$1,535.85</td></tr><tr><th align="center">10TB ~ 50TB</th><td align="right">$0.110</td><th align="center">50TB</th><td align="right">$6,041.45</td></tr><tr><th align="center">50TB ~ 150TB</th><td align="right">$0.090</td><th align="center">150TB</th><td align="right">$15,257.45</td></tr><tr><th align="center">150TB ~</th><td align="right">$0.080</td><th align="center">150TB ~</th><td align="right">NA</td></tr></tbody><tfoot><tr><td colspan="7"><ul style="margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; list-style-type: none; list-style-position: initial; list-style-image: initial; padding-left: 10px; text-indent: -10px; "><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述資料量是按月計算，每個月結算一次。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述價格是美金。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">1TB = 1024GB。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述的傳輸量的最多收費金額與 AWS Simple Monthly Calculator 計算出來的金額有 $0.15 的差異。這是因為依照 Amazon S3 的報價，不到 1GB 是不收費，但 AWS Simple Monthly Calculator 卻會收 $0.15，因此上表中會將此 $0.15 扣掉。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">Data Transfer In</li></ul></td></tr></tfoot></table><table align="center" border="1" cellpadding="3" cellspacing="0" summary="Amazon S3 Pricing - Requests"><caption>Amazon S3 Pricing &#8211; Requests</caption><thead><tr><th align="center">收費方式</th><th align="center">單價</th></tr></thead><tbody><tr><th align="left">PUT, COPY, POST, LIST</th><td align="right">每 1,000 次 $0.01</td></tr><tr><th align="left">DELETE</th><td align="right">不收費</td></tr><tr><th align="left">GET 與其他</th><td align="right">每 10,000 次 $0.01</td></tr></tbody><tfoot><tr><td colspan="7"><ul style="margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; list-style-type: none; list-style-position: initial; list-style-image: initial; padding-left: 10px; text-indent: -10px; "><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述資料量是按月計算，每個月結算一次。</li><li style="margin-top: 7px; margin-right: 0px; margin-bottom: 8px; margin-left: 10px; ">上述價格是美金。</li></ul></td></tr></tfoot></table></div><img src ="http://www.cppblog.com/flyonok/aggbug/133112.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-11-09 16:40 <a href="http://www.cppblog.com/flyonok/archive/2010/11/09/133112.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>2010年8月4日</title><link>http://www.cppblog.com/flyonok/archive/2010/08/04/122177.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Wed, 04 Aug 2010 02:57:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/08/04/122177.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/122177.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/08/04/122177.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/122177.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/122177.html</trackback:ping><description><![CDATA[<span style="FONT-SIZE: 12pt">1、在thrift的目录下运行bootstrap.sh报错的原因很可能是autoconf，automake或者libtool的版本太低造成的，请升级这几个版本，我一般是从gnu上下载最新的版本，源码安装<br>2、thrift的php动态库thrift_protocol.so不能加载的原因很可能是php-devel的版本太低，网络上说是需要php 5.2以上版本，待确认<br>3、在thrift下运行./configure --prefix=/usr/local/thrift 时出现syntax error near unexpected token `MONO,syntax error near unexpected token `MONO,样的错误，解决办法<br>&nbsp;cp /opt/local/share/aclocal/pkg.m4&nbsp;aclocal ，然后重新运行 ./bootstrap.sh 和 ./configure --prefix=/usr/local/thrift<br>4、上午用hadoop fs -put srcfile dest 时系统报错说系统处于safemode 模式，不能上传，解决办法：hadoop dfsadmin -safemode leave，让系统离开安全模式；至于系统为何处于安全模式，需要进一步研究；</span>
<img src ="http://www.cppblog.com/flyonok/aggbug/122177.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-08-04 10:57 <a href="http://www.cppblog.com/flyonok/archive/2010/08/04/122177.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>