Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kaigi on Rails 2024 その後
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ryosk7
November 14, 2024
Programming
110
0
Share
Kaigi on Rails 2024 その後
ryosk7
November 14, 2024
More Decks by ryosk7
See All by ryosk7
Campfireから学ぶ、37signalsのRails設計入門
ryosk7
0
44
実践「Clean Coder」
ryosk7
1
14
実運用を目指す、PicoRuby と MQTT
ryosk7
1
400
PicoRubyでMQTTサポートの実装をしている話 (3)
ryosk7
0
160
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
760
PicoRubyでMQTTサポートの実装をしている話
ryosk7
0
620
Gitを理解した話
ryosk7
9
1.1k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
1.6k
【月刊MEMTUS】2024ハッカソン登壇後アプデ内容
ryosk7
0
140
Other Decks in Programming
See All in Programming
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
140
おれのAgentic Coding 2026/03
tsukasagr
1
120
PHPで TLSのプロトコルを実装してみる
higaki_program
0
720
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
270
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
290
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
910
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
160
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
AI 開発合宿を通して得た学び
niftycorp
PRO
0
190
Featured
See All Featured
Accessibility Awareness
sabderemane
0
88
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Building the Perfect Custom Keyboard
takai
2
720
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
940
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
150
Raft: Consensus for Rubyists
vanstee
141
7.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
How to train your dragon (web standard)
notwaldorf
97
6.6k
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を切断
っていうのをやりたい
続きは来月か来年はなします
おわり