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

Monolithic Architecture is Dead

potato2003
August 29, 2014

Monolithic Architecture is Dead

社内 TeckTalk 資料 - Microservices の紹介

potato2003

August 29, 2014
Tweet

Other Decks in Technology

Transcript

  1. Web2.0 ʙ 2000೥ޙ൒ Rails Browser • SNSɺCGMɺಈըαʔϏε ʙ ͳΜ͔͍ͬͺ͍ •

    AjaxɺFlash ! • Rails ͕͋Ε͹ͳΜͱ͔ͳͬͨ • PHP ͰϑϨʔϜϫʔΫΛ࡞ΔͱḿͬͨΒ͍͠ • ͳ͔ͥɺΈΜͳ࡞ͬͯͨ MySQL Memcached
  2. ࠷ۙ Rails Browser MySQL Redis Elasticsearch Fluenttd Hadoop Android iOS

    ϓογϡ௨஌ɺWebSocketͰϦΞϧλΠϜ௨৴ɺϒϥ΢β༻ʹ HTMLͭͬͨ͘ΓɺεϚϗΞϓϦ༻ʹAPIͭͬͨ͘Γɺݕࡧػೳ ఏڙͨ͠ΓɺϏοΫσʔλ࣌୅ͩ͠ϩΪϯάͨ͠Γɺະొ࿥ͷ Ϣʔβʔʹ΋IDৼͬͯ؅ཧͨ͠ΓɺOpenIDɺ2ཁૉೝূɺ WebRTCɺࣾ಺γεςϜͱ௨৴ͨ͠Γɺɺɺɺɺɺɺɺɺ
  3. ࠷ۙ Rails Browser MySQL Redis Elasticsearch Fluenttd Hadoop Android iOS

    ϓογϡ௨஌ɺWebSocketͰϦΞϧλΠϜ௨৴ɺϒϥ΢β༻ʹ HTMLͭͬͨ͘ΓɺεϚϗΞϓϦ༻ʹAPIͭͬͨ͘Γɺݕࡧػೳ ఏڙͨ͠ΓɺϏοΫσʔλ࣌୅ͩ͠ϩΪϯάͨ͠Γɺະొ࿥ͷ Ϣʔβʔʹ΋IDৼͬͯ؅ཧͨ͠ΓɺOpenIDɺ2ཁૉೝূɺ WebRTCɺࣾ಺γεςϜͱ௨৴ͨ͠Γɺɺɺɺɺɺɺɺɺ
  4. ະདྷ Rails Browser MySQL Redis Elasticsearch Fluenttd Hadoop Android iOS

    Robot ϩϘοτɺ΢ΣΞϥϒϧσόΠεɺWindows  PhoneɺFire  OSɺ! Firefox  OS  Έ͍ͨͳ৽͍͠σόΠεͨͪͷొ৔ɺطଘOSͷΞο ϓάϨʔυ(iOS,  Android)ɺطଘٕज़࢓༷ͷ֦ு(HTMLɺ JavaScriptɺHTTP)ɺ৽ٕज़ɺ৽धཁɺ΋ͬͱ΋ͬͱάϩʔόϦ θʔγϣϯɺɺɺɺɺɺɺɺɺ  
  5. Rails! Browser MySQL Redis Elasticsearch Fluenttd Hadoop Android iOS Robot

    ϩϘοτɺ΢ΣΞϥϒϧσόΠεɺWindows  PhoneɺFire  OSɺ! Firefox  OS  Έ͍ͨͳ৽͍͠σόΠεͨͪͷొ৔ɺطଘOSͷΞο ϓάϨʔυ(iOS,  Android)ɺطଘٕज़࢓༷ͷ֦ு(HTMLɺ JavaScriptɺHTTP)ɺ৽ٕज़ɺ৽धཁɺ΋ͬͱ΋ͬͱάϩʔόϦ θʔγϣϯɺɺɺɺɺɺɺɺɺ   ະདྷ
  6. ! ! ! ! • αʔϏε΋ϓϩάϥϛϯάͱಉ͡ • ϓϩάϥϜ΋1ճͰॻ͍ͯɺ׬ᘳͳΜͯͳ͍ • ίʔυॻ͍ͯɺΤϥʔग़ͯɺमਖ਼ͯ͠ɺֶशͯ͠ɺΛ܁Γฦ͠ਖ਼͍͠ίʔ

    υʹ͍ͯ͘͠ • αʔϏε΋มߋͯ͠Έͯɺܭଌͯ͠ɺֶशͯ͠ɺ܁Γฦ ͯ͠੒௕͍ͯ͘͠ ࣮૷ ֶश Ծઆ
  7. API Browser MySQL Redis Elasticsearch Android iOS Notification Service Search

    Service ֤ʑʹద࣮ͨ͠૷Λબ୒ HTML Render WebSocket
  8. Photos • https://www.flickr.com/photos/sophiadphotography/7585744722/in/photolist-68dujb-46W9RR-bRCPZM-iA2uir-4715E7-sPYJ8-tbUSE-471ePb-cyjVC7- gpKtiB-8vDKm8-oTUvZ-4rKrMD-6RroHF-BJuEk-46W9vM-56u5fn-iA2HmQ-dPjyLR-cm77s-iA2Vmn-4JC1fH-iA3cPU-689o3H-46W9hk-guANK3-2Qm8A5- hXvYqd-8vGMsE-2usKdV-nRWxvT-dz4vQ5-8vGNuA-A5eo-5yF9qU-bRCPBr-iA3eUH-8vDLzB-6f878H-6fch8J-6f87rz-6f87Jz-eeg1i9-46Zy7J- imrYkz-2Qm7Ku-5bj1Uf-5wLEJg-5GMyZV-iA3qH6 ! • https://www.flickr.com/photos/26335052@N06/14182713587/in/photolist-cFzfnJ-nBh7CB-nEf5rr-gkk69-9py3t-b7ynoa-dvN574-5syy- nzCAmh-69rkbP-6wmUYN

    ! • https://www.flickr.com/photos/rtarga/93573864/in/photolist-9gAfu-5BKjGR-bqjC46-apxGy8-4JjgYK-6WBQhd-8KZeDC-cA4NMm-j9fm-71Jvbc-8P5iQ8- y5Z88-cA4Pz5-7xgMsZ-8vRV3A-5nJkm9-6r8Vx4-8P5iPX-cA4PK7-5rvCYK-92Eao-mEbvW-adswkD-7GP2Eq-cXMkF-8Dww5Q- e4vrS1-8DtpUk-8DwwBN-8DtpMv-9qu92s-cA4Ni7-L1Bm7-97t61R-7TpmiZ-7xgMs8-ouUHe-c3V8sC-hPsU8w-cA4Q8E-5rvCWM-71NvsC-eSpCSL- buCJsa-5yzYaW-3BtQGi-fGhDM-uTKQj-4HPHHB-8Hwdfy