Posts

Showing posts from September, 2011

Lazy Cache

One thing I’m finding, and I may have mentioned this before, is that lazy loading and distributed caching don’t play nice.  Over the past few months I’ve been identifying heavily accessed objects in our application that seldom change and introducing caching. Up until recently that caching has been accomplished using the built-in ASP.NET in-memory cache .  In tandem with this caching effort we’ve grown our website from a one node webserver to a N node web farm.  With that comes the need for a distributed cache to keep the various node’s caches in sync. To accomplish distributed caching we’ve been using NCache , which is a great tool, very cool.  However, one of the major differences between in-memory caches and distributed caches, is that in-memory caches are direct memory references to the object, while distributed caches work with serialized copies of the objects.  If you’re not already familiar with the problem you’re probably starting to see why that’s an issue for lazy loading. 

RIF Notes #9

“Inventing is a lot like surfing: you have to anticipate and catch the wave at just the right moment” - Ray Kurzweil Free Tools ScrumWorks – A scrum project management tool InTune - Simplify PC Management Microsoft Deployment Toolkit (MDT) 2010 Update 1 -supports deployment of Windows 7, Office 2010, and Windows Server 2008 R2 in addition to deployment of Windows Vista, Windows Server 2008, Windows Server 2003, and Windows XP Free Stuff – 30 free tools from Telerik Rommana – Application Lifecycle Management tool SlowCheetah - Web.config Transformation Syntax now generalized for any XML configuration file Catel - WPF, Silverlight and Windows Phone 7 MVVM toolkit 51Degrees.mobi – Mobile Device Detection and Redirection Tools Windows Azure App Fabric Access Control Service – This is kind of an interesting service provided by Azure. You can leverage a centralized authentication mechanism in the cloud. Force.com – Salesforce.com’s cloud development platform. Microsof