Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <13LPX> Hello everyone 🙂 Glad to see an active community still working on BT
irc-discord-bot <13LPX> Tron can go screw themselves for not only going closed source but not pushing any updates for 3 years
irc-discord-bot <13LPX> So many countless hours of volunteers devs wasted
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> Thanks!!
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <08DiegoRBaquero> v1.2.0 is out 🙂
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> @Feross when i add so many torrents my server ram usage gets full and node process auto killed because of no more memory. can you tell me how to keep memory usage low when adding many torrents ?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> please help 😩
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> post your code here and maybe someone can help you debug it!
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> its long
irc-discord-bot <04stephin> https://pastebin.com/raw/6B5jAJ5S
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> How many torrents are you adding? WebTorrent currently doesn't handle >20 torrents at the same time super well. We need to auto-pause all but 5 or something like that, which other clients do
irc-discord-bot <04stephin> tons
irc-discord-bot <04stephin> means 100 or more
irc-discord-bot <09Feross> I don't think that's currently going to work well - need to only have ~5-10 which are downloading at once. Once they're seeding, you can leave them there and not worry about RAM as much
irc-discord-bot <04stephin> so i should explore other clients to add 100+ torrents ?
irc-discord-bot <04stephin> i am not the one who use this
irc-discord-bot <04stephin> its for a bot for telegram messengers
irc-discord-bot <04stephin> means more number of users will send magnet link to bot and bot will interact with webtorrent via http erequest
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> do you know when webtorrent can handle 100+ torrents ? is there a workaround?
irc-discord-bot <04stephin> i like webtorrent because of its simplicity and its events which is nicely suits my usecase
irc-discord-bot <04stephin> 👀
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> 😩
irc-discord-bot <04stephin> please make webtorrent support 100+ torrents
irc-discord-bot <04stephin> 😭
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06anesu> The solution below is if you have a lot of resources to scale. I.e you can't expect to be downloading thousands of torrents with barely any ram and a single core etc You could have 1 instance of node.js that handles seeding once a torrent is downloaded. Not sure what's the limit on that though (no of torrents seeding at any given time). Could be used as a central control to handle the new sub processes. By that I
irc-discord-bot mean launch instances of node that handle 5 torrents max to download and close them accordingly based on scaling.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04stephin> i just need download no seeding
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> Please help people discover WebTorrent. Give it a heart and 5 stars on this review website! https://alternativeto.net/software/webtorrent/about/ React with a ❤️ to indicate you've done it
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <05᲼ ᲼> I have a question if a torrent canceled and I have the files will I be able to add the files to a existing downloading torrent so I don’t have to download again?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> shouldn't arbitrary data/bep 44 methods be accessible from webtorrent as well and not just the dht package?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> shouldn't the arbitrary data/bep44 be accessible from webtorrents, not just the bittorrent-dht package? would be nice to have the methods when using webtorrents
irc-discord-bot <06zaaz> by methods, i mean .put() and .get()
irc-gitter-bot
@irc-gitter-bot
passingby Hi
passingby Just came by the github library for webtorrent :)
passingby Forgive my inexperience please. I'm a web dev, but there are currently huge holes in my understanding/knowledge
passingby Could this system in effect enable the creation of a simple streaming site that is run by p2p connections?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> well yes, but actually no
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> TLDR: not yet, but very soon, pls contribute if you're coming from the anime communities I'll say simply: lack of codec and subtitle support doesn't make it viable. if you're not then: codec support and video container support isn't great, but that's due to change this year for sure, it also might not handle itself well on low ended devices because of how the lib handles buffers, this is also 100% gonna change,
irc-discord-bot storing large torrents >5GB also gets difficult if you want super high quality playback, but that's also gonna be changed very soon
ofsource
@ofsource:matrix.org
[m]
Thanks for the info. I was looking at music streaming. Video perhaps but would be happy to start with video and image only.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> music streaming should be fine
irc-discord-bot <11ThaUnknown_> like netflix
irc-discord-bot <11ThaUnknown_> video might be challenging depending on your criteria/demands tho
irc-discord-bot <11ThaUnknown_> again, it's all possible and working, but viability is another concern
ofsource
@ofsource:matrix.org
[m]
Got it, thanks
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> if i want to use dht.put() or dht.get() along with webtorrent at the same time, i gotta instantiate the another dht, if we can access the dht instance webtorrent is already using, that would be great. is that possible already. if not that is fine, i will keep on using the way i have
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> also, is it possible to have a delete/remove method on bittorrent-dht package? .del() or .remove() to remove a piece of value as long as it is the data originator doing it
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> read more about mutable torrents, some people brought up security issues of having someone automatically making an update and people unknowingly seeding a malicious torrent/file. so the arbitrary data/bep44 can be a way to store infohashes and update them with a newer info hash as the message with each new update. i'm no pro, not even a beginner but this was fun. made this shitty play package. too bad browser can't do
irc-discord-bot dht, i can envision pasting a infohash on the address url bar and then downloading a torrent/app and being served by others peers instead of a central server.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03jsNinja> Check out https://www.npmjs.com/package/dht-keyvalue. I'm working on a browser version, but it requires a server component still.