Code Monkey home page Code Monkey logo

Comments (7)

feross avatar feross commented on July 23, 2024

Hey @coldwinds! There is currently no benchmark, but it's something that we should definitely test. Once a benchmark is written we can use it to optimize this module so it's competitive (and one day, better!) than opentracker! I think the simplicity of being to setup a tracker with a simple npm install is super compelling and hope to get this module there.

Do you have any experience with bittorrent trackers and/or writing benchmarks?

from bittorrent-tracker.

feross avatar feross commented on July 23, 2024

I recently made some changes for code simplicity that should also have an effect on tracker server performance. See this issue: #29

Let me know if you're interested in writing up some benchmarks or helping to test the performance.

from bittorrent-tracker.

coldwinds avatar coldwinds commented on July 23, 2024

Hi @feross, I'm not experienced with torrent tracker benchmark, but I think perhaps some web load / stress testing tools will do the job,

I collected some informations on tracker testing and it's hardware requirement

opentracker once setup a real world tracker to test it's tracker software

also because we could test the software with a huge amount of hashes and peers!

Source: http://opentracker.blog.h3q.com/

Demonii currently runs on a KVM based VPS on my own nodes. The main node is a Xeon X5677, and the VPS specs are 512MB RAM and 1000Mhz is still enough to run it now. When it needs more I can simply allocate more resources to the VPS.

Source: https://torrentfreak.com/pirate-bay-blessing-propels-new-bittorrent-tracker-to-great-heights-130525/

from bittorrent-tracker.

astro avatar astro commented on July 23, 2024

Opentracker is hand-optimized C. No way an implementation in any dynamically typed language is going to achieve that grade of throughput.

This module just received a refactoring which allows the data backend to be customized. I suggest you look for distributed high-perf databases to scale horizontally across many nodes.

from bittorrent-tracker.

feross avatar feross commented on July 23, 2024

Astro, are you planning to open source the new backend that you write for
bittorrent-tracker? That would be great to contribute back to the community
and I've love to run it at tracker.webtorrent.io.

On Mon Dec 15 2014 at 2:52:22 PM Astro [email protected] wrote:

Opentracker is hand-optimized C. No way an implementation in any
dynamically typed language is going to achieve that grade of throughput.

This module just received a refactoring which allows the data backend to
be customized. I suggest you look for distributed high-perf databases to
scale horizontally across many nodes.


Reply to this email directly or view it on GitHub
#25 (comment)
.

from bittorrent-tracker.

astro avatar astro commented on July 23, 2024

PR #48 was especially important to us as this is going to be embedded in an existing application. The answer is no, unfortunately.

What are possible solutions to this Github issue?

from bittorrent-tracker.

feross avatar feross commented on July 23, 2024

I've heard somewhere (anecdotally) that a user was able to get near 1 million concurrent users using the UDP tracker (disabling HTTP and WebSocket). That's way better than I expected, though nowhere near what something like OpenTracker can get.

I'm personally not interested in trying to make this package compete with hand-optimized C (it's probably not possible). But PRs that improve performance are always welcome!

from bittorrent-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.