Janus Pienaar

Made in South Africa

November 2006 - Posts

TomTom One

I finally managed to get my hands on the TomTom One last week. This is so cool. Being relatively new to the UK, this is definitly a must have.

The TomTom One is basicly the entry level device in TomTom's satnav range. But it has most of the functionality of the others in the range. My version came with all maps for United Kingdom and North Ireland on a seperate SD memory card.

Now, I don't have any excuse to sit at home on weekends - let the exploring begin.

 [EDIT] After writing this I had alot of people asking where they can buy the TomTom in South Africa. Unfortunately TomTom doesn't sell their products in SA.I think that Garmin do sell maps for South Africa, so it might be usefull to check out their site.

 

 

Posted: Nov 14 2006, 10:00 AM by janus | with 3 comment(s)
Filed under: ,
Implementing caching in ASP.NET 2.0

I'm in the process of adding some caching functionality to my ASP.NET 2.0 project, but can't decide which route to take when it comes to the caching mechanisms to use.

The 2 mechanisms that stand out at the moment are:

1. System.Web.Caching - Seems straight forward and easy to implement.
2. Microsoft.Practices.EnterpriseLibrary.Caching - Looks a bit more complex but with added functionality. I like the idea of a CacheManager.

And then there is the issue to sync across several web farms.

What would be the best way to implement concurrency between server?

These are the 2 possibles i'm playing with at the moment:

1. When something changes on an object, you could set a flag in the Database and check this flag everytime the object is requested from cache.
2. Send a HTTPWebRequest to all servers in a web farm requesting them to update their cache.

Any ideas? Any recommendations? Best practices?

If anybody has some experienced with working on one or perhaps both mechanisms, I would love to hear from you.

Posted: Nov 01 2006, 04:37 PM by janus | with 237 comment(s)
Filed under: