heroku - Does pubnub affect the concurrency of my rails application? -


i read railscast #401 having long living connections takes threads in rails server. , puma server can optimally take on may 20-30 conncurrent connections.. mean have spin off many heroku instances rails application support (e.g. 1k - 5k people chatting?).

or not affecting because chat connections directly connceted pubnub's server?

yes, correct, end users (browser clients) connect (publish/subscribe) through pubnub without involving server.

in other words, not need have rails/server act subscriber. serve web page the appropriate pubnub javascript clients chat each other directly without involving server.

this image 1 of examples in links below illustration

enter image description here

here links should helpful:


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -