caching best architecture [modified]
-
Dear All, I want to use best caching tech for getting, dynamic data from server for exmple my server hosting stock values and values will change always and thier are alot of hits on server with hight traffic , i want to use caching to improve the performance,and not get unchanged values?? i will use web service to consume values..
Yes. CreatiVity withOuT limiTs
modified on Friday, December 25, 2009 12:06 PM
-
Dear All, I want to use best caching tech for getting, dynamic data from server for exmple my server hosting stock values and values will change always and thier are alot of hits on server with hight traffic , i want to use caching to improve the performance,and not get unchanged values?? i will use web service to consume values..
Yes. CreatiVity withOuT limiTs
modified on Friday, December 25, 2009 12:06 PM
You have a quick read on this article. This may give you a good idea, Exploring Caching in ASP.NET[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
You have a quick read on this article. This may give you a good idea, Exploring Caching in ASP.NET[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
thanks for link but i want for updatable data to be cached??
Yes. CreatiVity withOuT limiTs
Amr M. K. wrote:
but i want for updatable data to be cached??
Yes, you can easily do that. You can use CacheDapendency with the data. When ever the source of the cached data will change cache data will update automatically. From where you are reading the data ? If it is sql server you can easily set dependency with the database server or if you are reading data from file then also you can set the dependency with the file. Let me know if you need any more help. Thanks !
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Amr M. K. wrote:
but i want for updatable data to be cached??
Yes, you can easily do that. You can use CacheDapendency with the data. When ever the source of the cached data will change cache data will update automatically. From where you are reading the data ? If it is sql server you can easily set dependency with the database server or if you are reading data from file then also you can set the dependency with the file. Let me know if you need any more help. Thanks !
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
thanks for reply, I read that you can do it in aspx page but it will work in web service,,how? data source from sql server
Yes. CreatiVity withOuT limiTs
You can use in caching in web service too :) Please have a look, http://support.microsoft.com/kb/318299[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.