Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum number of Clients (viewers) for Text editor #238

Closed
emcodemall opened this issue May 25, 2018 · 5 comments
Closed

Maximum number of Clients (viewers) for Text editor #238

emcodemall opened this issue May 25, 2018 · 5 comments

Comments

@emcodemall
Copy link

emcodemall commented May 25, 2018

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? :-)

@emcodemall
Copy link
Author

...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?

@pablojan
Copy link
Contributor

pablojan commented Jun 20, 2018 via email

@emcodemall
Copy link
Author

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

@emcodemall
Copy link
Author

emcodemall commented Aug 26, 2018

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)

@emcodemall
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants