Flood: Flood has slow response time when rtorrent contains many torrents

Created on 4 Mar 2019  路  10Comments  路  Source: Flood-UI/flood

Your Environment

  • Version used:

    • commit 8d6e88c7419b13bc6c4d5a632cd92ff15f268a46

  • Environment name and version:

    • Node.js version v11.10.1

    • npm version 6.8.0

    • Web browser Firefox 65.0.2

  • Operating System and version: Arch Linux (kernel 4.20.13)

Summary

Basically, flood is super slow.

This can be easily seen while adding a torrent. It can take upwards of 20-30 seconds from adding the torrent to it appearing in the torrent list. When starting a torrent, it takes the same amount of time to see the change reflected in the ui.

Expected Behavior

It should load in 2 seconds, as the polling rate is set to.

Steps to Reproduce

  1. Do any of the following actions: starting/stopping a torrent, adding/removing a torrent
  2. It will take upwards of 30 seconds for flood to see the change. The number of torrents probably have something to do with it. In my case it's about 3800, which is more than the popular webui ruTorrent can handle.

Original message

Basically, flood is super slow.

This can be easily seen while adding a torrent. It can take upwards of 20-30 seconds from adding the torrent to it appearing in the torrent list. When starting a torrent, it takes the same amount of time to see the change reflected in the ui.

I have ~3800 torrents loaded so that's probably a reason, just asking if this is expected. torrentClientPollInterval is set to the default value (1000 * 2).

bug duplicate

All 10 comments

Hi @Ketchup901 Thanks for posting your issue, but can you please take time to edit it in order to fill the issue template. Those information is very important for the developer else he won't be able to reproduce anything.

I'm closing the issue until you fill it.

Feel free to ask to re-open it as soon as it's done.

PS : with the same polling time and 10 times less torrents (about 340) I have no hanging

@noraj Please reopen.

@Ketchup901 Thank you.

Also the same issue here the rtorret take a eternity to start and take many time to load the torrent list

In addition, viewing the torrent information ("files" or "tracker", etc) takes a very long time (up to 10 minutes to load, if it loads at all) as well.

@Ketchup901 this might be a duplicate of #405? What's the CPU Usage you're seeing that flood is using?
There's a fix temp hack in #405 which increased the performance of flood when I had over 5k torrents

Closing as a duplicate of #766

You closed it as a duplicate of itself?

Woops, https://github.com/Flood-UI/flood/issues/405 is the issue I meant to reference

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noraj picture noraj  路  3Comments

EternalBlack picture EternalBlack  路  6Comments

rkkoszewski picture rkkoszewski  路  6Comments

markerikson picture markerikson  路  4Comments

angristan picture angristan  路  4Comments