Click here to Skip to main content
15,893,989 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There are a few things that I would like to know - What are the differences of Data Caching and SQL Cache dependancy.

We had implemented the SQL Cache dependancy in our last project but had to discontinue it due to the reasons mentioned above as due to notifications some of the transactions were very slow.
Currently I am designing a framework for my client and I have implemented Data caching.

The problem with this feature is that, currently I am doing a POC on a single Web Server, but the application has to be deployed on the proper multi server environment (maybe web farm). If I am using Data caching then it doesnt help as multiple users would access the same cache, and if cache is invalidated, then the data would be inconsistent for some users. One approach is attaching the SessionID (UserID) with the Cache object for each user, but then if you have more number of concurrent users then I think it is not advisable to have this feature as the Server would become very heavy.

I read an article on Velocity, but cannot implement that for a POC.

Kindly suggest.

Thanks in advance.
Posted
Updated 23-Dec-09 9:27am
v2

Read following article will give proper answer for your query

http://www.eggheadcafe.com/articles/20030716.asp[^]
 
Share this answer
 
Comments
Sandeep Mewara 8-Sep-10 13:48pm    
Comment from OP:
Thanks a lot. Happened to see the reply very late. Extremely sorry to reply you now.
But somehow the project didnt come to us. Bad luck. It was a POC that we were giving to our client.
Anyway saw your answer and really appreciate your efforts for the same.
Warm Regards,
Sameer Chachad.
Go for NCache . Expectantly this will solve your problem as I’m also using it for this type of solutions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900