firstly , it's a greate module
and thx for you codes , bencode and bdecode , i just borrow them.
i rewrite a tracker base on your code and use drupal as a content management.
a small advice, if you want to upgrade this module , you should pay attention to performance:
using .htaccess+php(just two or three line) to point to a static peers file as a announce , so if event=="" or a fail/error request, it will not query mysql or any php
then , just write down all event!="" to a ".txt" file , and add them to DB on a specific time ,but not do it right on the request come.
while still using your module on testing , mysql will sometimes out of response.if test torrents will go up to 1000 .
and the other one is announce.php , everytime visit this page , seems that it load drupal modules, this will add a little bit confus too
i don't know how to wirte a standard drupal module , so , i just wirte some derty code/pages and using some drupal api
Comments
Comment #1
tiato commentedI'm curious to see if you have managed to get this running on a production site? I would love to see what hacks you came up with and would be very much like to compare notes. This module is a great starting point and it does have a functional framework even with the bugs - maybe by sharing our modifications we can help the developers maintaining this module improve it
Comment #2
Fidelix commentedUsing .htaccess in a distributed module is stupid, IMO.
Not everybody on the world uses apache.