Answer the question
In order to leave comments, you need to log in
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
There is such a thing - Google Analytics, it is used by many to collect statistics about visitors, why is it not suitable for you?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question