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

managing multiple clients on the same server #1520

Closed
david1542 opened this issue Oct 3, 2018 · 1 comment
Closed

managing multiple clients on the same server #1520

david1542 opened this issue Oct 3, 2018 · 1 comment
Labels

Comments

@david1542
Copy link

@david1542 david1542 commented Oct 3, 2018

Hello guys!

Currently I'm working on an application which you sign in and watch movies via torrents.
The way I'm managing the user clients is on the ram. Every user that logs in, I create a dedicated web torrent client for that user, using node js middelware.

Now, I'm feeling this method of creating client for every user is a bit problematic. Firstly, when I go to a move, the movie start downloading using the web torrent. If I go back and try to watch another movie, the client doesn't downloading the content. When I check the logs, I see it still downloading the first movie.

I'd be glad if anyone would help me understand how to better manage multiple client instances for multiple users.

What version of WebTorrent?
0.102.4
What operating system and Node.js version?
Windows 10, Node Version v9.9.0

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Jan 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jan 1, 2019
@stale stale bot closed this Jan 8, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.