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
Extreme MQTT on PicoRuby
ryosk7
1
77
Campfireから学ぶ、37signalsのRails設計入門
ryosk7
0
44
実践「Clean Coder」
ryosk7
1
16
実運用を目指す、PicoRuby と MQTT
ryosk7
1
460
PicoRubyでMQTTサポートの実装をしている話 (3)
ryosk7
0
170
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
820
PicoRubyでMQTTサポートの実装をしている話
ryosk7
0
650
Gitを理解した話
ryosk7
9
1.1k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
1.7k
Other Decks in Programming
See All in Programming
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
1.1k
実践CRDT
tamadeveloper
0
600
From Formal Specification to Property Based Test
ohbarye
0
430
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
830
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
300
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
880
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
260
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
290
Road to RubyKaigi: Play Hard(ware)
makicamel
1
490
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.3k
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
160
AIエージェントで業務改善してみた
taku271
0
550
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
320
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Designing for Timeless Needs
cassininazir
0
210
AI: The stuff that nobody shows you
jnunemaker
PRO
6
600
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
Six Lessons from altMBA
skipperchong
29
4.2k
WCS-LA-2024
lcolladotor
0
550
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
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を切断
っていうのをやりたい
続きは来月か来年はなします
おわり