Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ロードバランサーのセッション容量不足のため。
Socket.io でロング ポーリングを使用したくありません。
Socket.io で短時間で頻繁にポーリングする方法を知っている人はいますか?
または他の解決策?
ショートポールへ。Socket.IO のポーリング時間を 1 秒またはゼロなどの小さい値に設定できます。
io.set('polling duration', 1);
HTTP ポーリングのデフォルトは 20 秒です。ポーリング期間を 1 秒に設定すると、短いポーリングが効果的にエミュレートされます。