Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby which Supports Social Platform

Koichiro Ohba
November 09, 2012

Ruby which Supports Social Platform

GREE Platform is a large social platform on which worldwide users can play games with each other.
It's developed by PHP, but Ruby is also used, especially in DevOpts.
I'll talk about how we are using Ruby.

Koichiro Ohba

November 09, 2012
Tweet

More Decks by Koichiro Ohba

Other Decks in Technology

Transcript

  1.         Making the

    world a better place through the power of the Internet. 12೥11݄9೔༵ۚ೔
  2. San Francisco São Paulo Vancouver London Tokyo Beijing Singapore Amsterdam

    Seoul Dubai Osaka 11 branches in the world 12೥11݄9೔༵ۚ೔
  3. GREE Platform Stream Social Graph Community Auth App Portal Web

    Platform GREE Platform SDK Social API Web Service Node M iddleware 12೥11݄9೔༵ۚ೔
  4.  4FSWFS%BTICPBSE "1*  4FSWFS$POpHVSBUJPO.BOBHFNFOU  %/4#JOE1SJN%/4 PSJHJOBM  -PBE#BMBODFS

     "QQ4FSWFS  ,74  -BSHF0CKFDU4UPSBHF  .FTTBHJOH2VFVF  'VMM5FYU4FBSDI .POJUPSJOH"MFSUT %FQMPZNFOU "OBMZUJDT 12೥11݄9೔༵ۚ೔
  5. IUUQBQJQSPEVDU@JETFSWFST ςΩετ {“results”  =>    [{“property”  =>  {“server_type”  =>  “DB”,

       “ipaddr”  =>  “XX.XX.XX.XX”,    “hardware”  =>  “Intel  Xeon  2.6Ghz”,    ...    } } 12೥11݄9೔༵ۚ೔
  6. LVS Proxy Web Proxy Web Web Web Web Web LVS

    Deploy 12೥11݄9೔༵ۚ೔
  7. LVS Proxy Web Proxy Web Web Web Web Web LVS

    Deploy 12೥11݄9೔༵ۚ೔
  8. LVS Proxy Web Proxy Web Web Web Web Web LVS

    Deploy 12೥11݄9೔༵ۚ೔
  9. "1*͔Βඞཁͳ໾ׂͷαʔ όϦετΛऔಘ͠ɺҰ෦ͷ αʔόΛαʔϏεΞ΢τ͠ ͯ഑Δ Get the target servers list and

    make part of them in- active and deploy the application there. 12೥11݄9೔༵ۚ೔
  10. gree_deploy Dashboard Web Collect Proxy Control Deploy Proxy Enable/ Disable

    Worker Worker Worker Worker Restart Deploy Dist. 12೥11݄9೔༵ۚ೔
  11. require  'gree/server' servers  =  GREE::Server.find({          

         'virtual_server_name'  =>  'ds%',                'type'        =>  'master',                'service'  =>  'mail',                'state'      =>  'on_service', }) 12೥11݄9೔༵ۚ೔
  12. Commit stage Capacity test User acceptance test Acceptance test stage

    Production ʰܧଓతσϦόϦʔʱ+F[)VNCMF %BWJE'BSMFZஶ "4$** %FQMPZNFOU1JQFMJOF gree_deploy 12೥11݄9೔༵ۚ೔