<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Global Access &#187; tracker</title>
	<atom:link href="http://jj.gbtopia.com/blog/tag/tracker/feed/" rel="self" type="application/rss+xml" />
	<link>http://jj.gbtopia.com/blog</link>
	<description>Jorge Juan's Blog</description>
	<lastBuildDate>Fri, 25 Jun 2010 07:22:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Global Access Tracker</title>
		<link>http://jj.gbtopia.com/blog/2006/08/06/global-access-tracker/</link>
		<comments>http://jj.gbtopia.com/blog/2006/08/06/global-access-tracker/#comments</comments>
		<pubDate>Mon, 07 Aug 2006 05:40:59 +0000</pubDate>
		<dc:creator>jjgb</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Misc.]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[tracker]]></category>

		<guid isPermaLink="false">http://jj.gbtopia.com/blog/2006/08/06/global-access-tracker/</guid>
		<description><![CDATA[It&#8217;s been a while since my last post and I promised to write more often. I decided that it was about time that I posted an update on my current projects.
Frequent readers of my blog might remember the Maps project, which is on hold for a while. It&#8217;s a very demanding project, particularly since Google [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my last post and I <a href="http://jj.gbtopia.com/blog/2006/03/11/blogentry-some-posts-at-last/">promised</a> to write more often. I decided that it was about time that I posted an update on my current projects.</p>
<p>Frequent readers of my blog might remember the <a href="http://jj.gbtopia.com/blog/2006/05/06/maps/">Maps</a> project, which is on hold for a while. It&#8217;s a very demanding project, particularly since Google keeps adding features to the API which I obviously want to try out, such as the <a href="http://googlemapsapi.blogspot.com/2006/06/geocoding-at-last.html">geocoding</a> and <a href="http://googlemapsapi.blogspot.com/2006/07/zoooooooom.html">zoom</a>. I will most probably work on this project again a few weeks before my trip to NY (more about this on a future post), to start planning the best places to visit.</p>
<p>With the maps project paused, I decided to revisit a personal project that involves the analysis of my site&#8217;s visitors. This project, codenamed <b>GATracker</b> (GA meaning Global Access) is fairly old, I started it on February 2003 and have only made minor updates since then. Back then my site was completely hosted on mac.com, and I didn&#8217;t have access to HTTP Server logs, so I created a perl script (hosted on another site) that was called each time a page was loaded, sort of a counter. The script recorded log style information into a flat file, which I periodically downloaded and inserted into a MySQL database for some mining. Now that my site is hosted at gbtopia.com I have a servlet that logs every visit into a MySQL database directly.</p>
<p>The GATracker project consists of a bunch of JSPs and Custom Tags that extract information from the MySQL database and generate different reports: Sections visited, Browser and Operating System, Country, Referers, Date Analysis and Search Engines. I&#8217;ve found that several people are amazed by all the information that I&#8217;m able to retrieve with these simple tracking tactics, which shows that most people aren&#8217;t aware of all the information flowing through the internet when they visit a site. This tracker currently runs on Tomcat 5.5 since unfortunately there&#8217;s no WebSphere Application Server for Mac OS X.</p>
<p>I am working on the following improvements:</p>
<ul>
<li>Ability to import Apache access logs, which will let me obtain more accurate statistics, but limits the amount of information that I can gather from each visitor, so I&#8217;m keeping the counter and using this simply as an additional source for data.</li>
<li>Performance improvements. The current code is quite old and has some scalability issues, which I&#8217;m fixing by introducing parallel processing. I will use Message Driven Beans (MDBs) to enable parallel analysis of logs, which should help reduce the time taken to analyze large logs.</li>
<li>Since Tomcat is just a Servlet Container and I&#8217;m now using MDBs, I switched to Geronimo.</li>
<li>Beautify reports. The current ones are just plain ugly: all function, practically no style.</li>
<li>Make it universal. I&#8217;m considering making this a project available for download, but this requires some documentation and minor alterations to support any website.</li>
<li>I&#8217;m also evaluating Derby (previously Cloudscape) to replace MySQL as a database, but this move will largely depend on performance.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jj.gbtopia.com/blog/2006/08/06/global-access-tracker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
