You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have three nodes with these hardware
2 * Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz
64 GB Ram
256 SSD
When each of the servers is under ~300-400 channel request per second and ~35000 user connection (System load 15/56), I get timeout error from list and track methods.
Your user_online? function is quite expensive to find a single user, but the work is being done in the client. That said, a Presence.list requires a server call so it is contributing to your timeouts. Please open the issue on the phoenix_pubsub side and we can take a look. In the long term, we can pool the trackers, but in the short term, you could shard the trackers yourself by topic, which would help.
Environment
Expected behavior
Presence works fine
Actual behavior
I have three nodes with these hardware
2 * Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz
64 GB Ram
256 SSD
When each of the servers is under ~300-400 channel request per second and ~35000 user connection (System load 15/56), I get timeout error from
list
andtrack
methods.Presence.list error:
Presence.track error:
This is the track code section:
This is the list code section:
I'm sure this is not hardware resources issue. So what's problem ?
The text was updated successfully, but these errors were encountered: