Faye, how to calculate the maximum number of customers

I am using faye with a ruby ​​server to post-subscribe messaging and it works well, but I have some doubts:

  • How can I estimate the maximum number of clients that can receive messages at the same time? It should be related to my message size, but now I do not know how to measure this value. I think it is very important to know, because I want to prevent any delay in the future.
  • How can I simulate N clients at the same time? Could it be done through capybara or is there a better way?

thanks

+4
source share
1 answer

You can try downloading the testing. Here are a few options to get you started:

https://github.com/dbrady/tourbus
https://flood.io/

0
source

All Articles