C
C
cat_crash2012-04-13 10:31:04
Analytics
cat_crash, 2012-04-13 10:31:04

Gather statistics with a proxy layer or awstst

Good afternoon, community

Maybe someone faced with the task of collecting statistics about the user using a proxy layer or awsts
So what we have:

A client library (openLayers which is for mapping, but it doesn’t matter), which sends requests like
GET tiles/1/2/3/ 4.png to your own geoserver.

The task is to count how many people and with what characteristics of the browser + where they came from (etc.)
So far, there are 2 ways of implementation:

1. Hang a truncated proxy thread between them (reads GET, analyzes, and forwards to another URL, receiving a response, gives it to the user), which would collect all the necessary data from HTTP-Headers. Plus - you can process, hang up and read realtime COOKIES at the header level. Minus - so far the stability of such a solution is very confusing. How will it handle 10,000 simultaneous requests, for example, given that it is on Perl

2. Collect statistics from the logs using awstst or webalizer. Of the obvious disadvantages - you can not slip COOKIES to track a person's movements on the site. A kind of READ-ONLY statistics.

Has anyone had experience with similar solutions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Peretyatko, 2012-04-21
@viperet

There is such a thing - Google Analytics, it is used by many to collect statistics about visitors, why is it not suitable for you?

C
cat_crash, 2012-04-23
@cat_crash

The fact is that I will request a specific type of content - PNG images. As you understand, it is not possible to insert Google Analytics into them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question