SwellRT/swellrt

Maximum number of Clients (viewers) for Text editor

emcodemall opened this issue · 5 comments

Hey there!
before i go for empherical testing, could you please indicate what is the maximum thinkable number of attendents to an editor? I am investigating the options to have let us say 1000+ viewers and 2 editors for the same text document at a time.
What would i need to do to support at least 1000 viewers on the same document without adding too much latency in receiving the latest modifications to the document, just add lots of cpu and ram to the host and modify the java vm options accordingly? :-)

...if nobody wants to write any answer i close this topic, assuming that a maximum of 10 users or so can be supported using swellrt and turn to other technologies spreading my text (e.g. video transmission)...
any last comments?

Hey Pablo,
thanks for your reply :-)
Sure i already had a think about how to avoid to send any metadata from the client, but even if i am already able to work on the source code and build new versions, currently i don't stand any chance to get out how this could possibly be done.
What would be your first try? :-)

cheers,
Harald

Real life maximum users: on a relatively small cloud server, 2cores, 8gb ram:
The swellrt functions broke completele when about 34 users within 2 hours were connected. Not that it took the service to fail after 2 hours, but more like after about 20 users were connected it started to fail.

Workaound: Instead of supporting "view" or read only users giving direct access to the website with the swell editor loaded, present them a screenshot (in multiple different size resolutions) that is updated and relaoded every 1s by developing a tool taking constantly a screenshot of the text using CEF (chrome embedded framework)

Problem is too fuzzy to grep yet, working on server stability in https://github.com/P2Pvalue/swellrt/issues/243