CF websockets
I'm running 2 Windows 2016 boxes with CF 2018 Ent installed.
We have a dedicated CF instance specifically to run as a websocket server.
It's setup to proxy via IIS.
We estimate that we could have 5,000 - 10,000 concurrent connections to it since our users could be subscribed to multiple channels.
After a fresh restart of CF and IIS, clients can connect to the websocket channel instantly and get a near instant success publish from the channel so you know you're successfully subscribed and updates will start coming in.
After a random amount of time after things are working well (minutes to days), clients will instantly connect but will no longer get the success publish until things are restarted again. This means they aren't truly subscribed to the channel anymore and no updates come through.
The instance resources look fine, good memory usage, garbage collection looks good, low cpu usage.
We've also been playing with the connection pool numbers.
server.xml max threads = 5000
config\wsproxy\1\bin\config.ini ConnectionPoolSize=20
workers.properties =
worker.wss.connection_pool_size=5000
worker.wss.connection_pool_timeout=60
worker.wss.max_reuse_connections=5000
We're knocking our heads against the wall with this for some time now and are hoping to get some help.
