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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ryosk7
November 14, 2024
Programming
140
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
290
Campfireから学ぶ、37signalsのRails設計入門
ryosk7
0
78
実践「Clean Coder」
ryosk7
1
29
実運用を目指す、PicoRuby と MQTT
ryosk7
1
620
PicoRubyでMQTTサポートの実装をしている話 (3)
ryosk7
0
210
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
950
PicoRubyでMQTTサポートの実装をしている話
ryosk7
0
780
Gitを理解した話
ryosk7
9
1.2k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
1.7k
Other Decks in Programming
See All in Programming
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.9k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.5k
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
260
JRuby: Past, Present, and Future
headius
0
210
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
350
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
700
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
180
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
310
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
8.8k
Webの地図
yosuke_furukawa
PRO
6
4.9k
Featured
See All Featured
Mind Mapping
helmedeiros
1
370
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
250
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Building the Perfect Custom Keyboard
takai
2
890
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5k
HDC tutorial
michielstock
2
920
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Become a Pro
speakerdeck
PRO
31
6.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
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を切断
っていうのをやりたい
続きは来月か来年はなします
おわり