xwmario / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

HTTPRPC plugin performance with large amounts of torrents. #879

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With large amounts of torrents, the httprpc plugin is slow and unresponsive 
when initially loading torrents. That's to be expected to a certain extent, but 
the attached patch cuts down on the response time of the action.php 'list' 
function by two thirds (12s to 4s on my system on a LAN connection) without any 
changes to the underlying logic. 

Credit to NightmareXX for first pointing out the bottleneck.

What environment are you using?
1. My ruTorrent version is... SVN rev 2454
2. My rTorrent version is... rTorrent-PS 0.9.2/0.13.2
3. I use web-server... nginx/php-fpm it version is... 1.0.15/5.3.3 on OS... 
CentOS 6.5

Thanks.

Original issue reported on code.google.com by Kanniba...@gmail.com on 22 Dec 2013 at 12:45

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 23 Dec 2013 at 12:46

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 24 Dec 2013 at 7:28