$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
日々のAPI通信を爆速にする 「bakusoku-api」を作りました
Search
西小倉宏信
May 28, 2017
Technology
0
180
日々のAPI通信を爆速にする 「bakusoku-api」を作りました
2016年11月19日開発合宿友の会@土善旅館
西小倉宏信
May 28, 2017
Tweet
Share
More Decks by 西小倉宏信
See All by 西小倉宏信
人に伝えるのが苦手なのでRubyが楽しい
pandeiro245
0
150
Rails+kintoneで フリーランス協会の決済機能実装@Ebisu.rb
pandeiro245
0
2k
JP_Stripes@大阪:StripeとkintoneとRailsで フリーランス協会の決済機能実装
pandeiro245
0
1.1k
複業と時間共有
pandeiro245
0
130
ノンプログラミングと僕 〜MSNコミュニティからkintoneまで〜
pandeiro245
0
860
2016年11月19日開発合宿友の会@土善旅館
pandeiro245
0
320
Rubyとポモドーロ とオープンソース @Roppongi.rb #1
pandeiro245
1
1.7k
Shortest
pandeiro245
0
330
2016-03-11Milkcocoaオジサン with 245cloud
pandeiro245
0
3.1k
Other Decks in Technology
See All in Technology
年間40件以上の登壇を続けて見えた「本当の発信力」/ 20251213 Masaki Okuda
shift_evolve
PRO
1
100
【AWS re:Invent 2025速報】AIビルダー向けアップデートをまとめて解説!
minorun365
4
500
re:Inventで気になったサービスを10分でいけるところまでお話しします
yama3133
1
120
A Compass of Thought: Guiding the Future of Test Automation ( #jassttokai25 , #jassttokai )
teyamagu
PRO
1
250
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
170
法人支出管理領域におけるソフトウェアアーキテクチャに基づいたテスト戦略の実践
ogugu9
1
220
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
6
1.4k
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
840
eBPFとwaruiBPF
sat
PRO
4
2.5k
乗りこなせAI駆動開発の波
eltociear
1
1.1k
Lambdaの常識はどう変わる?!re:Invent 2025 before after
iwatatomoya
1
450
ガバメントクラウド利用システムのライフサイクルについて
techniczna
0
190
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
76
5.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Why Our Code Smells
bkeepers
PRO
340
57k
Docker and Python
trallard
47
3.7k
Visualization
eitanlees
150
16k
Faster Mobile Websites
deanohume
310
31k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Transcript
日々の API通信を 爆速にする 「bakusoku-api」を作りました 2017年5月28日 開発合宿友の会@土善旅館 西小倉&村田 https://github.com/pandeiro245/bakusoku-api
開発経緯 ・西小倉が所属するラフノート株式会社では色々なサービスのAPIを活用した開発を 行っているが、データ全件取得とか、地味に時間を取られている ・一度API通信したらローカルしたらキャッシュしてくれて爆速で再利用できる仕組みが 欲しくて作りました
デモ
名前の由来
DBはinstances, users, dataの3つのみ
API通信のログを見てデータ構造を自動類推(再帰) structure({a: 1, b: ‘aaa’, c: [1,2,3], d: {e: 1,
f: ‘aaa’}}) =>{a: ‘Number’, b: ‘String’, c: [‘Number’], d: {e: ‘Number’, f: ‘String’}}
RocketChat
freee
Misoca
TimeCrowd
感想(西小倉) ・OAuthは仕様が統一されているように見えて実際のプロパイダ側の実装はちょくちょく 統一されていないので結構例外設定多くなりそう。 ・でも爆速は実現できたので嬉しい ・村田さんの会社、清水湯っていう銭湯からめっちゃ近くて羨ましいと思った
感想(村田) 最初にもっと要求と要件をキャッチアップ&考えてからやればよかった。 Ruby最高!(←すでに書いてあった
プルリクお待ちしております! https://github.com/pandeiro245/bakusoku-api 余談:恒例の開発合宿、個人もくもくもいいけど チームもくもくもいいなと思いました