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
Kaigi on Rails 2024 その後
Search
ryosk7
November 14, 2024
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kaigi on Rails 2024 その後
ryosk7
November 14, 2024
More Decks by ryosk7
See All by ryosk7
Extreme MQTT on PicoRuby
ryosk7
1
320
Campfireから学ぶ、37signalsのRails設計入門
ryosk7
0
87
実践「Clean Coder」
ryosk7
1
30
実運用を目指す、PicoRuby と MQTT
ryosk7
1
660
PicoRubyでMQTTサポートの実装をしている話 (3)
ryosk7
0
220
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
1k
PicoRubyでMQTTサポートの実装をしている話
ryosk7
0
810
Gitを理解した話
ryosk7
9
1.2k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
1.8k
Other Decks in Programming
See All in Programming
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
360
ChromeでローカルLLM
ryu1013
0
200
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
310
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
190
AI-Powered Domain-Driven Design
ziobrando
0
410
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
250
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
110
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
8.8k
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
540
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
410
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.2k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
300
Unsuck your backbone
ammeep
672
58k
Agile that works and the tools we love
rasmusluckow
331
22k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
470
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
560
Testing 201, or: Great Expectations
jmmastey
46
8.4k
The untapped power of vector embeddings
frankvandijk
2
2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Speed Design
sergeychernyshev
33
2.2k
Transcript
Kaigi on Rails 2024 その後 ryosk7
None
Kaigi on Railsでました
Kaigi on Railsでしくじった話は話は今度はなします まだ解決していない
Kaigi on Rails登壇でお話した残された課題
コネクションタイムアウト問題
ロードバランサーの設定を見直した タイムアウトを3分 → 30分に変更
これで安定するかと思いきや...
NewRelicで監視をすると、まだ完全にエラー出てる
再接続に10秒以上かかり、 データ反映に時間がかかっていた
Action Cableの仕組み
None
再接続には時間がかかる
観測した限り、再接続には1s以上かかる
マッチングアプリ的には致命的
クライアント側で15分たったら再接続させるようにし た
2ms ~ 10msで接続できるようになった
次に試したいこと
ずっと繋げられる仕組みを作りたい
2重でconnectionを貼れば実現できそう
切断する直前に新しいconnectionとconnection_idを 用意 接続されたら古いconnectionを切断
っていうのをやりたい
続きは来月か来年はなします
おわり