/    Sign up×
Community /Pin to ProfileBookmark

Weird hit rate counter problem, any help?

Here is the situation:
I want to write a server side program/script to probe the hit rate of some specific websites over a specific amount of time.

For example, I would like to know the hit rate of [url]www.somewebsite.com[/url] within one day.

How can I do this? or is it possible to do?

Some requirements:
1.The minimum time range should be 1 min (so the minimum refreash rate is 1 min)

2.Exact accuracy is not first concern, but important.

3.Speed is the major concern because the number of website being probed would be increase over time.

Hope someone can raise out some thoughts

Best regards ^^

to post a comment
Full-stack Developer

8 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWJun 08.2004 — Do you want the number of page loads or the number of unique visitors?

Is it for one page of that site (e.g. the index) or the entire site?
Copy linkTweet thisAlerts:
@koonyueauthorJun 08.2004 — thanks for the reply, ?

I think both situation should be handled,

one page(index.htm) and the entire site.

and I want the number of unique visitors.

so the question should rephrase to:

I want to know the unique number of visitors of a specific page or entire website over a specific amount of time

can't wait for reply

Regards
Copy linkTweet thisAlerts:
@DaveSWJun 08.2004 — which server side languages does your server support?
Copy linkTweet thisAlerts:
@ray326Jun 09.2004 — You really should do this by processing the server access logs and reporting tools to do that are readily available.
Copy linkTweet thisAlerts:
@koonyueauthorJun 09.2004 — yes I know, so I call it "weired", ^^

whatever server side language is possible becasue I don't even have a clue right now

so can I write a program that work like a search engine but only to check hit rate of some website?

Regards
Copy linkTweet thisAlerts:
@DaveSWJun 09.2004 — *Suddenly realises what you mean*

You need access either to the server logs or to the coding on the page itself. I don't think you can just 'go along to any site you want and find out how many hits it's getting'.
Copy linkTweet thisAlerts:
@koonyueauthorJun 09.2004 — glad u know what I mean, ^^

since it seems to be no way around, I change the situation a bit.

let think from the client side, suppose there are 10 users which all downloaded a small program that run in there computer. The program will detect which website they have being access and report back to central server...

would it be OK? how can I detect someone being access some website?

thanks ^^
Copy linkTweet thisAlerts:
@DaveSWJun 09.2004 — you could use keylogger software but it's illegal unless they're your computers...
×

Success!

Help @koonyue spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...