Upload
parrotstudio
View
1.120
Download
0
Embed Size (px)
DESCRIPTION
「web community cafe」で提供した「話題」 LTでも発表でもないので、最後はあくまで話題の提供で終わってます あと、ぱろっとPadrinoやめへんで( ゚Д゚)y─~~
Citation preview
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
ぱろっと、Padrino
やめるってよ
ぱろっと(@parrot̲studio)web�community�cafe�#2
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
※やめません
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
今の仕事はPadrinoです
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
提供するテーマ
アーキテクチャの選び⽅
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
以前紹介したROGv
http://blog.parrot-studio.com/2012/05/gunmaweb9-you-can-create/
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
最初の仕様:ver1.0
データ受付API✓
現在の戦況表⽰画⾯✓
データは最新のもののみ保持✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
"Sinatraで⼗分"
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
ver1.0のアーキテクチャ
Ruby1.9.x✓
Sinatra✓
データはファイルに保存✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
その後の仕様:ver2.0〜
履歴をMongoDBに保持✓
履歴の確認✓
データの解析機能✓
データ肥大による⾼速化要求✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
"Railsを使うほど大きくはないが、Sinatraでは構造化が難しい"
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
よろしい、ならば
Padrinoだ(�゚Д゚)y─~~
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
ver2.0以降のアーキテクチャ
Ruby1.9.x✓
Padrino✓
MongoDB✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
転機:ver5.0
新ギルド戦対応✓
⽇付をまたいだデータ解析✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
その結果・・・
重い(´・ω・`)✓
複雑化した構造✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
追い打ち1
http://www.ruby-lang.org/ja/news/2013/02/24/ruby-2-0-0-p0-is-released/
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
追い打ち2
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
設計をやり直すか(´-ω-)
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
そして完成
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
"Gagnrath"
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
Gagnrathサンプル1
Sample�:�http://ro.parrot-studio.com/rogvs
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
Gagnrathサンプル2
Sample�:�http://ro.parrot-studio.com/rogvs
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
Gagnrathのアーキテクチャ
Ruby2.0✓
Rails4(β1)✓
MariaDB�✓
Source�:�https://github.com/parrot-studio/gagnrath
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
結果
速いΣ(゚Д゚;≡;゚д゚)✓
⼀から⾒直したことで構造もシンプルに(`・ω・´)�b
✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
素朴な疑問
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
"だったら、最初からそうすべきだったのでは?"
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
そうは⾔うがな大佐・・・
複雑化したのは「結果」✓
すでに運用しているシステムを⼀から作り直すというコスト
✓
どんどんバージョンUPする⾔語/フレームワーク
✓
新しい技術の出現Scala+Play�etc...✓
✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
But...
最初からスタンダードを選んでおけば移⾏コストはいらないのでは?
✓
「枯れた技術」を使えばコストを下げられるのでは?
✓
個⼈的なシステムだったからいいけど、仕事のシステムならばどうか?
✓
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
というわけで
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
アーキテクチャの選び⽅
ぱろっと、Padrinoやめるってよ by�@parrot̲studio�for�#webcommcafe�2013/04/14
どう思いますか(´・ω・)?