slack-ruby-client icon indicating copy to clipboard operation
slack-ruby-client copied to clipboard

Perf test and document # of max RTM connections and memory usage

Open thbar opened this issue 9 years ago • 1 comments

I'm only having a first look at slack-ruby-client and I wonder: typically, how many concurrent RTM connections are usually handled successfully without problems? Is it more in the 10, 100, 1000 range? Thanks!

(Note that I will do my homework, of course, yet I'm curious to hear about anyone with > 100 RTM connections setup).

thbar avatar Oct 10 '16 07:10 thbar

I have production services on https://www.playplay.io with many hundreds using https://github.com/slack-ruby/slack-ruby-bot-server which uses this library. The biggest issue becomes memory and startup time: ~1/3s to start (https://github.com/slack-ruby/slack-ruby-client/issues/87 needs fixing) and 1MB per connection.

This is generally a good question. Would love a paragraph in the README about this with some actual tests rather than anecdotal evidence.

dblock avatar Oct 10 '16 12:10 dblock