Geeks With Blogs

News This is the *old* blog. The new one is at blog.sixeyed.com
Elton Stoneman
This is the *old* blog. The new one is at blog.sixeyed.com

[Source: http://geekswithblogs.net/EltonStoneman]

I did a session on "The Enterprise Cache" at the UK SOA/BPM User Group yesterday which generated some useful discussion. The proposal was for a dedicated caching layer which all app servers and service providers can hook into, sharing resources and common data. The architecture might end up like this:

I'll update this post with a link to the slide deck once it's available.

The next session will have Udi Dahan walking through nServiceBus, register on EventBrite if you want to come along.

Synopsis

  • Looked at the benefits and drawbacks of app-centric isolated caches, compared to an enterprise-wide shared cache running on dedicated nodes;
  • Suggested issues and risks around caching including staleness of data, resource usage, performance and testing;
  • Walked through a generic service cache implemented as a WCF behaviour – suitable for IIS- or BizTalk-hosted services - which I'll be releasing on CodePlex shortly;
  • Listed common options for cache providers and their offerings.

Discussion

Cache usage. Different value propositions for utilising the cache: improved performance, isolation from underlying systems (e.g. service output caching can have a TTL large enough to cover downtime), reduced resource impact – CPU, memory, SQL and cost (e.g. caching results of paid-for services).

Dedicated cache nodes. Preferred over in-host caching provided latency is acceptable. Depending on cache provider, can offer easy scalability and global replication so cache clients always use local nodes. Restriction of AppFabric Caching to Windows Server 2008 not viewed as a concern.

Security. Limited security model in most cache providers. Options for securing cache content suggested as custom implementations. Obfuscating keys and serialized values may mean additional security is not needed. Depending on security requirements and architecture, can ensure cache servers only accessible to cache clients via IPsec.

Staleness. Generally thought to be an overrated problem. Thinking in line with eventual consistency, that serving up stale data may not be a significant issue. Good technical arguments support this, although I suspect business users will be harder to persuade.

Providers. Positive feedback for AppFabric Caching – speed, configurability and richness of the distributed model making it a good enterprise choice. .NET port of memcached well thought of for performance but lack of replication makes it less suitable for these shared scenarios. Replicated fork – repcached – untried and less active than memcached. NCache also well thought of, but Express version too limited for enterprise scenarios, and commercial versions look costly compared to AppFabric.

Posted on Thursday, April 15, 2010 1:42 PM Architecture , Caching | Back to top


Comments on this post: SBUG Session: The Enterprise Cache

# re: SBUG Session: The Enterprise Cache
Requesting Gravatar...
I am very happy with your post.This is really a great inspiring article.This is exactly what I've been looking for.Thanks a lot for sharing.Keep blogging.
Left by vps on Jul 24, 2010 7:32 AM

# re: SBUG Session: The Enterprise Cache
Requesting Gravatar...
Wondering if we can apply this idea on our enterprise Domino servers. Thank you for a great idea,
Left by Lotus Notes Domino Support on Aug 16, 2010 8:11 PM

# re: SBUG Session: The Enterprise Cache
Requesting Gravatar...
This site contains news and information on this that is constantly being updated.I am very impressed with the article I have just read.
Left by what is a living trust on May 24, 2011 12:50 PM

# re: SBUG Session: The Enterprise Cache
Requesting Gravatar...
absolutely marvelous. I wonder when will the next Lotus Award be held, wishing to attend one myself if possible.
Left by Heartland FCU on Sep 16, 2011 1:28 PM

# re: SBUG Session: The Enterprise Cache
Requesting Gravatar...
"Good technical arguments support this, although I suspect business users will be harder to persuade." Excellent point!
Left by FFP on Jan 10, 2012 5:33 PM

Your comment:
 (will show your gravatar)


Copyright © Elton Stoneman | Powered by: GeeksWithBlogs.net