Aricie
The DNN Expert for your web project
Forum
HomeHomeExpert ModulesExpert ModulesDistributed Cac...Distributed Cac...Distributed Caching ProviderDistributed Caching Provider
Previous
 
Next
New Post
5/3/2012 12:27 PM
 

Hi all,


unfortunatley i am not able to open a new Thread in Category "Distributed Chaching provider, so i have to write it here.


I want to know how exactly to use this provider. In the requirements i find: "A Distributed Caching cluster up and running with hosts available from the web server"

So, beside my website running in a webfarm and the distributed caching provider, i also need a caching cluster? I am not familiar with this whole matter, so can you provide me some more detailed information?


Thanks and regards

sb


 
New Post
5/3/2012 4:51 PM
 

Hello sb,

I'm going to try and sum up how DCP is intended to be used. But first, a quick overview of what you need to use it

Your application (for you, the website running on the webserver) uses a caching system; it is a memory area where the application puts everything it feels like calculating only once. Usually, things that are very time consuming are put in cache.

When you have multiple web servers, each server uses its own cache; but since every server is supposed to handle the same website and the samùe data, each server will compute the same information for its personnal use. 

The distributed cache is supposed to handle this problem; very roughly, it is a process running on each machine that needs to work with shared information; the distributed cache gives the machine access to data shared between all the machines. When a machine puts something in the cache, every machine sees it.

DCP acts as the bridge between your application and the distributed cache; the application doesn't know what type of cache its working with, but hands DCP the data to save. DCP then uses the configuration you've set up to determine what to do with the information, and interact with the distributed cache.

So to sum up, you do need a distributed caching cluster installed on the machines you intend to use DCP on. Setting up and configuring these cache clusters is not explained in DCP's documentation since there are many options available, but since we support AppFabric (the distributed cache solution by Microsoft) and Memcached (an open source distributed cache solution) you can try and read on these two tools to find out which one you can use.

Best regards,

Aricie Team

 
New Post
5/4/2012 8:52 AM
 

Great, Thanks a lot for your answer!


So i am going to check out these two solutions!


Regards sb

 
New Post
5/10/2012 2:13 PM
 

Another question: does your module also work with azure appfabric? We wanted to move our site to the cloud in the near future.


Regards

sb

 
New Post
5/14/2012 2:51 PM
 

Hello sb

We can support Azure, even though at the moment we didn't try DCP against Azure. However we can develop a provider for Azure since the DCP engine doesn't change according to what cache solutions are chosen; only the bridge between the cloud and DCP must be created. What's more the AppFabric provider we ship with DCP may already support Azure, but as i said previously, we hadn't time to test it already.

 

Best regards

 
Previous
 
Next
HomeHomeExpert ModulesExpert ModulesDistributed Cac...Distributed Cac...Distributed Caching ProviderDistributed Caching Provider