• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Counter@Home, a distributed project of my own

titanmiller

Platinum Member
I have set up a webpage that loads a webpage hit counter and refreshes as soon as it is loaded and adds to the count each time. All you have to do is download a html file and run it. Lets see how high we can get it.

The File - Right click and save to a known location (so the file isnt loaded from the server causing slower results)

note: opening in more than window may significantly improve results

I guess it's kind of a silly project with no real goal but I plan to do weekly stats every Sunday morning.
 
Try running several instances of this little shell script (or do more wgets per loop)

#!/bin/sh
while
true
do
wget -c http://counter.digits.com/wc/-d/4/Counter@Home &
sleep 1
done

Just don't remove the sleep! I tried it without it, and I basically DOSed my own dumb self!😱

The -c minimizes bandwidth even more than just downloading the file.
 
Originally posted by: titanmiller
how do I get that to work? do I need to put it inside <script></script> tags?
That's a shell script. It will only work on UNIX and UNIX-based systems (such as Linux, *BSD, etc.). It can not, AFAIK, be put in a web page.
 
I just discovered that your page doesn't work on Netscape on broadband! The text page keeps reloading, but it doesn't have time to download the image!
 
Originally posted by: PeterN
hehe,

You must have a sticky enter-key. 😀🙂

I dozed off with my nose on the keyboard.
rolleye.gif
 
Originally posted by: Ken_g6
I just discovered that your page doesn't work on Netscape on broadband! The text page keeps reloading, but it doesn't have time to download the image!

I'm going to try out that batch file now and see how that works.
 
Originally posted by: Ken_g6
Sorry. I keep forgetting not everybody runs CygWin.

Try this batch file in Windows.

wget http://counter.digits.com/wc/-d/4/Counter@Home
:while
wget -bc http://counter.digits.com/wc/-d/4/Counter@Home
sleep 1
del wget-log.%1
goto while

You'll have to pass it a number, like 1 for the first process, 2 for the second, etc.

I tryed the batch file and unfortunantly it doesnt work it says "bad command or file name" and loops that
any other ideas on how to improve preformance?
 
Well, of course you need wget. I thought that was obvious.😱

Nobody uses Linux utilities in Windows.:brokenheart:

Anyway, I re-did the batch file:

:while
wget -c http://208.209.2.112/wc/-d/4/Counter@Home
goto while

I think it would help if you put the IP, instead of the DNS name, in the web page too.
 
Back
Top