Skip to content

Instantly share code, notes, and snippets.

@yasulab
Last active December 14, 2015 10:10
Show Gist options
  • Save yasulab/5070525 to your computer and use it in GitHub Desktop.
Save yasulab/5070525 to your computer and use it in GitHub Desktop.
The slides were presented on ScreenX TV using Terminal Keynote. ScreenX TV: http://screenx.tv/ Terminal Keynote: https://github.com/fxn/tkn
# encoding: utf-8
# NOTE: :center, :code, :block, and :section
slide <<-EOS, :center
\e[1m... now preparing ...\e[0m
YASUKAWA, Yohei
@YasuLab
http://yasulab.jp/
EOS
section "Become a friends w/ SSD Cloud Server" do
slide <<-EOS, :block
SSD: Solid State Drive
- e.g. MacBook Air/Pro
- HDD vs SSD 起動速度計測
> 結果は、
>
> 起動時間(スタートアップの画像が表示されるまで)
> SSD:0:35.5s
> HDD:0:59.2s
>
> 終了時間
> SSD:0:30.2sHDD:1:04.0s
EOS
slide <<-EOS, :block
Cloud Server: Vertualized Servers
- Server can be handled like an Instance
- e.g. RackSpace
- cf. Xen, KVM
but they're basically based on using a lot of cheap users.
EOS
end
section "SSD + Cloud Server = ???" do
slide <<-EOS, :center
Digital Ocean
- SSD Cloud Server-
http://www.digitalocean.com/
EOS
slide <<-EOS, :block
Price Example (1/2)
$5 / month
512MB Memory
1 Core
20GB SSD Disk
1TB Transfer (*)
EOS
slide <<-EOS, :block
Price Example (2/2)
$80 / month
8GB Memory
4 Cores
80GB SSD Disk
5TB Transfer (*)
EOS
end
section "So I benchmarked!" do
slide <<-EOS, :block
SPECIFICATIONS
自社製品
CI サーバ
やってみた.
テストコード数
||
約1,200個以上.
EOS
slide <<-EOS, :block
COMPARISON
Japanese Cloud vs. SSD CLoud
$10 / month | $5 / month
512MB Memory | 512MB Memory
1 Core | 1 Core
EOS
slide <<-EOS, :center
Japanese Cloud Server
Finished in 9 minutes 19.77 seconds
EOS
slide <<-EOS, :center
SSD Cloud Server
Finished in 2 minutes 53.68 seconds
EOS
slide <<-EOS, :center
結果の比較
Japanese Cloud Server
Finished in 9 minutes 19.77 seconds
SSD Cloud Server
Finished in 2 minutes 53.68 seconds
 
【結論】
半額で3倍の性能!
やばい!パナい!   
EOS
slide <<-EOS, :block
            |i
     \      |.|
      ト\   /| ト
      | トヽ   / | | ト
      | | トヽ\/| | | ト    /
      | | | ト\≧三ミゞ=イ/
     ム彡''´‾‾   ‾ ヽ{__..
    /             V´
    ノ  __          ',
,. == y‾, __、\_        )   世 界 的 で す も ん ね
 |i  }-| ゝ二 |/‾‾  /ニ,l
 ヽ__ノ/ヾ _ ノ       > }}
 / >≦'__        し /      乗 る し か な い
   Vて二オカ       (_,/}
 Yこ二ノ!!|          }      こ の ビッ グ ウ ェ ー ブ に
    Y⌒ 从        ∠)    
    从从从トミ   _.ィニ二‾丶     ScreenX TV
     ミ三三彡 ' ´      \ \ http://screenx.tv/
        /           \ヽ
      /            ミ;,. ', ',
       |   _  _ __    \',.',
EOS
end
section "My Thoughts" do
slide <<-EOS, :center
Regions are:
New York and Amsterdam.
Both are far, far from Japan.
EOS
slide <<-EOS, :center
So, Response Time is NOT good.
Japanese Cloud Server
64 bytes from 133.242.2.33: icmp_seq=0 ttl=52 time=45.692 ms
SSD CLoud Server
64 bytes from 133.242.2.33: icmp_seq=0 ttl=52 time=213.249 ms
EOS
slide <<-EOS, :center
But it doesn't matter if it's for CI server!!
And, actually I moved our CI server
from Japanese Cloud to Digital Ocean.
EOS
end
section "And one more thing ..." do
slide <<-EOS, :center
This slide is writtin in ALL Ruby!
See the following gist for details :)
Become a friend w/ SSD Cloud Server
https://gist.github.com/yasulab/5070525
Powered by Terminal Keynote
A hack for terminal-based talks
https://github.com/fxn/tkn
EOS
end
section "Thanks! @YasuLab" do
end
__END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment