-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
受信したメッセージのキューイングに関する調査 #8
Comments
メッセージの受信は Lines 115 to 218 in 7b2e88e
|
Lines 1212 to 1225 in 7b2e88e
|
Lines 392 to 400 in 7b2e88e
Lines 212 to 225 in 7b2e88e
|
デフォルトだとサブスクライバのキューサイズは Line 56 in 7b2e88e
Lines 382 to 391 in 7b2e88e
|
キューのサイズを小さくし、サブスクライバの
エラー内容だとサーバからKeepAliveの時間内にPingReqに対するPingRespが受信できていないようである。しかし、パケットキャプチャを見てみると全てのPingReqに対するPingRespは受信できている。どうやらサーバからのMQTTパケットはクライアントのソケットのバッファに格納されているが、アプリケーションがバッファ内のデータを受信できていないようである。ソケットのバッファサイズのデフォルトは64KBであった(TCPNetworkModuleでSocketクラスが作成されており、これが使われているようである)。 問題の原因として、PingRespはクライアントに到着しているが、アプリケーションの処理( |
動的な負荷分散アルゴリズムの中で、クライアントの保留中のメッセージ数から動的に重みを計算するアルゴリズムがあった。それを実現するための調査を行う。
The text was updated successfully, but these errors were encountered: