rejetto forum

URGENT : Hits counter not valid for multi-threaded

vbn · 23 · 4675

0 Members and 1 Guest are viewing this topic.

Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
I have a serious accounting issue :)

If a file is being download by a download manager/accelerator in multi-threaded mode, each thread adds to the 'Hits' stat...isnt there a way to properly increment this as 1 irrespective of the parts being downloaded !


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
If a file is being download by a download manager/accelerator in multi-threaded mode, each thread adds to the 'Hits' stat...isnt there a way to properly increment this as 1 irrespective of the parts being downloaded !

Don't think so as every new part being downloaded is a new download connection to the server.  If you are allowing the use of download managers you might have to live with things like this.
maverick


Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
Correct ... thats what 'Hits' is supposed to mean also...

but isnt there a way of counting 'Downloads' also.... a whole file should count as 1 irrespective of the parts being split into. 

Any MODs someone has already done would like to share....really in need of this  ;D


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
sorry for the late reply.
what version are you using?
in hfs 2.3 downloads are supposed to be counted just as full downloads.
if you mean "total hits", you will also find "total downloads".


Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
Sorry was out of country.... I am running latest Beta

...so we have 2 seperate counters now - Hits & Downloads ?

What keywords are used for both ?



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
please specify WHERE are you looking,
there are many numbers over the program


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
Quote from: VBN
Sorry was out of country.... I am running latest Beta

...so we have 2 seperate counters now - Hits & Downloads ?

What keywords are used for both ?

Quote from: Rejetto
please specify WHERE are you looking,
there are many numbers over the program

files+folders  hits -->>  %item-dl-count%

downloads          -->> %total-downloads%
......


Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
OK....%total-downloads% seems to be the total number of downloads by HFS altogether ... not related to a particular file in any way

which brings back to original question :

%item-dl-count% : Number of hits for a file which means 3 threads of download using an accelerator get counted as 3 and not 1
??? : Counts unique download requests irrespective of number of threads from client side

This is my dilemma...not sure if this is already builtin or if can be ?


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
to have the real total number of downloads, you must stop download accelerator (check limits -->> Prevent leeching)

 ;)



Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
Ouch...that defeats the purpose for which I am using HFS ... its a File Server and runs continously with a bandwidth of around 60-100 Mbps downloads.

Anyways... maybe something can be incoporated in later builds...just a request :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
why are you saying that?
for what i can see, the item-dl-count is counting only full downloads.
am i wrong?


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
please boss and others, when you ask someone, can you use @mars ....  @userX to specify which interlocutor? ;)



Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
@rejetto
"for what i can see, the item-dl-count is counting only full downloads."

you are right  ;) one point to you :D