PDA

View Full Version : Article-Object Query Language for Distributed Cache



s_sana
18 May 2007, 07:40 AM
Author: Iqbal M. Khan works for Alachisoft, a leading software company providing NCache, a clustered object cache for .NET, and TierDeveloper, an O/R Mapping code generator for .NET. You can reach him at iqbal@alachisoft.com or visit Alachisoft at www.alachisoft.com.

Object Query Language for Distributed Cache

NCache lets you create a scalable distributed cache in the middle-tier so you can reduce expensive trips to the database and greatly improve your application performance. It also improves application scalability because you are able to find frequently used data in this highly scalable cache instead of a single database server that cannot scale up very well.

Your application typically uses a cache as a Hashtable where everything is stored based on a key and you must have this key to fetch an item. This is like having a relational database where you can only use primary key to find data. This works fine in many situations but in a real life complex application your application often needs to find data based on attributes other than the primary key. And, since you're keeping a lot of your data in the cache, it would be very useful if you could search the cache in this manner as well. NCache provides exactly such facility.

Read more (http://www.alachisoft.com/rp.php?source=webdevforums.com&dest=/articles/cache_parallel_query.html)