rejetto forum
May 25, 2012, 05:05:28 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: URGENT : Hits counter not valid for multi-threaded  (Read 1797 times)
0 Members and 1 Guest are viewing this topic.
vbn
Experienced poster
***
Offline Offline

Singapore Singapore

Posts: 36


View Profile Email
« on: May 18, 2010, 11:24:07 PM »

I have a serious accounting issue Smiley

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 !
Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #1 on: May 19, 2010, 06:03:29 PM »

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.
Logged

maverick
vbn
Experienced poster
***
Offline Offline

Singapore Singapore

Posts: 36


View Profile Email
« Reply #2 on: May 20, 2010, 01:55:59 AM »

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  Grin
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: June 11, 2010, 10:58:44 AM »

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".
Logged
vbn
Experienced poster
***
Offline Offline

Singapore Singapore

Posts: 36


View Profile Email
« Reply #4 on: July 05, 2010, 12:52:53 AM »

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 ?
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #5 on: July 05, 2010, 04:46:37 AM »

you can have a look to the wiki at TEMPLATE SYMBOL part

http://www.rejetto.com/wiki/index.php?title=HFS:_Template_symbols

 Wink
Logged
rejetto forum
« Reply #5 on: July 05, 2010, 04:46:37 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #6 on: July 06, 2010, 06:28:21 AM »

please specify WHERE are you looking,
there are many numbers over the program
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #7 on: July 06, 2010, 08:05:04 AM »

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%
......
Logged
vbn
Experienced poster
***
Offline Offline

Singapore Singapore

Posts: 36


View Profile Email
« Reply #8 on: July 07, 2010, 12:18:30 AM »

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
Huh? : 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 ?
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #9 on: July 07, 2010, 04:45:10 AM »

to have the real total number of downloads, you must stop download accelerator (check limits -->> Prevent leeching)

 Wink

Logged
vbn
Experienced poster
***
Offline Offline

Singapore Singapore

Posts: 36


View Profile Email
« Reply #10 on: July 07, 2010, 11:52:35 PM »

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 Smiley
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #11 on: July 08, 2010, 09:45:35 AM »

why are you saying that?
for what i can see, the item-dl-count is counting only full downloads.
am i wrong?
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #12 on: July 09, 2010, 08:57:34 AM »

please boss and others, when you ask someone, can you use @mars ....  @userX to specify which interlocutor? Wink
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #13 on: July 12, 2010, 04:37:16 AM »

you, mars
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #14 on: July 12, 2010, 04:17:21 PM »

@rejetto
"for what i can see, the item-dl-count is counting only full downloads."

you are right  Wink one point to you Cheesy
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 21, 2012, 04:54:16 PM