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
300
Campfireから学ぶ、37signalsのRails設計入門
ryosk7
0
81
実践「Clean Coder」
ryosk7
1
29
実運用を目指す、PicoRuby と MQTT
ryosk7
1
650
PicoRubyでMQTTサポートの実装をしている話 (3)
ryosk7
0
210
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
990
PicoRubyでMQTTサポートの実装をしている話
ryosk7
0
800
Gitを理解した話
ryosk7
9
1.2k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
1.7k
Other Decks in Programming
See All in Programming
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
23k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Designing for humans not robots
tammielis
254
26k
Building the Perfect Custom Keyboard
takai
2
910
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
How to make the Groovebox
asonas
2
2.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Odyssey Design
rkendrick25
PRO
2
870
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
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を切断
っていうのをやりたい
続きは来月か来年はなします
おわり