How to build truly scalable Rails apps

1,340 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,340
On SlideShare
0
From Embeds
0
Number of Embeds
278
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

How to build truly scalable Rails apps

  1. 1. WebスタートアップにやさしいRailsの育て方<br />RubyKaigi2009LT<br />松本一輝 / Kazuki MATSUMOTO<br />CTO,Lang-8,Inc.<br />
  2. 2. Language Exchange SNSLang-8<br />
  3. 3. +<br />How to scale Rails apps by using clouds<br />
  4. 4. The bottleneck of Rails apps<br />=&gt;RDB<br />
  5. 5. RDB:The most serious bottleneck of web apps<br /><ul><li>Tuning and Optimizations
  6. 6. Replication, Clustering
  7. 7. Horizonal split, Vertical split</li></li></ul><li>Clouds<br />
  8. 8. Railsin HaaS doesn’t scale<br />
  9. 9. Throw out ActiveRecord.<br />Use Cloud DB.<br />(ex. SimpleDB, GAE/BigTable…)<br />
  10. 10. What is it like to build an Rails app truly built on Cloud DB?<br />Cloud DB<br />Rails<br />Wrapper<br />Clients<br />REST<br />over HTTP<br />
  11. 11. Need Tons of Caching!<br />Cloud DB<br />Rails<br />Wrapper<br />Clients<br />REST<br />over HTTP<br />Memcache<br />Pool<br />
  12. 12. Now under testing in Lang-8<br />Rails<br />MySQL<br />Active<br />Resource<br />Clients<br />REST<br />I/F<br />REST<br />over HTTP<br />Memcache<br />Pool<br />
  13. 13. The Goal: <br />Find a way to build Rails apps stand only on cloud db.<br />=&gt;Truly scalable Rails apps<br />
  14. 14. ご清聴ありがとうございました!<br />Blog: http://d.hatena.ne.jp/kazuk_i/<br />開発者募集中!<br />

×