Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
日々のAPI通信を爆速にする 「bakusoku-api」を作りました
Search
西小倉宏信
May 28, 2017
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
日々のAPI通信を爆速にする 「bakusoku-api」を作りました
2016年11月19日開発合宿友の会@土善旅館
西小倉宏信
May 28, 2017
More Decks by 西小倉宏信
See All by 西小倉宏信
人に伝えるのが苦手なのでRubyが楽しい
pandeiro245
0
160
Rails+kintoneで フリーランス協会の決済機能実装@Ebisu.rb
pandeiro245
0
2k
JP_Stripes@大阪:StripeとkintoneとRailsで フリーランス協会の決済機能実装
pandeiro245
0
1.1k
複業と時間共有
pandeiro245
0
150
ノンプログラミングと僕 〜MSNコミュニティからkintoneまで〜
pandeiro245
0
870
2016年11月19日開発合宿友の会@土善旅館
pandeiro245
0
320
Rubyとポモドーロ とオープンソース @Roppongi.rb #1
pandeiro245
1
1.8k
Shortest
pandeiro245
0
340
2016-03-11Milkcocoaオジサン with 245cloud
pandeiro245
0
3.1k
Other Decks in Technology
See All in Technology
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
Local CI × GitHub Actions
gogutan
2
190
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
450
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
330
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Done Done
chrislema
187
17k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
How STYLIGHT went responsive
nonsquared
100
6.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Paper Plane
katiecoart
PRO
5
54k
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 余談:恒例の開発合宿、個人もくもくもいいけど チームもくもくもいいなと思いました