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
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
AmebaブログはKMPから卒業します
kmars0605
0
160
残高管理から台帳サービスへの進化
artoy
1
200
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
27
30k
golang-bob.pdf
iwatsukayura
0
130
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
JIS keyboard support in Omarchy
lef237
0
110
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
440
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
590
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Side Projects
sachag
456
43k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
What's in a price? How to price your products and services
michaelherold
247
13k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
260
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Accessibility Awareness
sabderemane
1
250
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
RailsConf 2023
tenderlove
30
1.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を切断
っていうのをやりたい
続きは来月か来年はなします
おわり