473,782 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Caching Application Block w/ Web Farm

I need to implement caching for a large enterprise application and we are
planning to use the newest Caching Application Blocks. (Enterprise Library
Jan. 2006)

We want to cache Business Entities (DTO's) at the service layer and have a
few questions.

Are there other options than using Microsoft Caching blocks - possibly open
source?

The application will be on a web farm so from what I understand we need to
store the cache in SQL and am confused to the benefit of this since the
whole point of caching is to avoid hitting a database.

What design pattern could we use to implement this into our application?

thanks.

Kevin
Mar 23 '06 #1
1 1753
web farm caching has a few issues you must address.

1) how stale can the cache be?
2) how often is it updated?
3) how to flag an update?
4) how quick must the cache be?
5) do you need a distributed lock manager?

once you answered these question, you can evaluate caching schemes.
-- bruce (sqlwork.com)

"Kevin Burrowes" <ke***********@ gmail.com> wrote in message
news:ux******** ******@tk2msftn gp13.phx.gbl...
I need to implement caching for a large enterprise application and we are
planning to use the newest Caching Application Blocks. (Enterprise Library
Jan. 2006)

We want to cache Business Entities (DTO's) at the service layer and have a
few questions.

Are there other options than using Microsoft Caching blocks - possibly
open source?

The application will be on a web farm so from what I understand we need to
store the cache in SQL and am confused to the benefit of this since the
whole point of caching is to avoid hitting a database.

What design pattern could we use to implement this into our application?

thanks.

Kevin

Mar 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1409
by: Don Grover | last post by:
What would be the norm for caching asp pages with an ec-commerce site. What im after is should i set the cach directives to different types for the different types of pages in an asp /sql application. Ie, Dynamic Reports, data entry pages, static menu pages. etc. Does anyone have any thoughts or guidlines in this ?. Regards Don
0
1144
by: roshmita | last post by:
The caching application block supports encryption of data in the Data Backing Store.Is it possible to encrypt the data in the memory(cache) using this block?If it is possible please tell me the procedure. Thanks
3
1042
by: Tom | last post by:
You are troubleshooting a deployed Web application and need to change the <trace> element to enable tracing on the page. You modify the Web.config file for the application. Which statements correctly describe when the change will be applied and its impact on current users? (Select all that apply.) A)State data stored in the Session object will be lost. B)The Web application will be restarted and the configuration file will be read...
1
1144
by: Ashish | last post by:
I am thinking about using Caching application block in my web application, for the performance reasons. My ideal sitiuation would be if i could plug in the application block between my Persistence layer and database, so that objects are created from the cache and cost of CRUd operation can be avoided.... the problem each object is not having a unique key, and caching application block does not provides any typed cache functionality,...
1
1038
by: thedotnetarchitect | last post by:
To keep the background simple here is my problem, I have two web servers in a web farm I would like to have a centralized caching system on another server, where I can add and remove items from cache from that one central server, the other two web server will share the cached data from this server such as serializable business objects and data objects. I would like the storage system to be SQL server and the data that is shared from the...
7
2069
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and misled by some of the sleazy MVPs and the lying cockroaches that Microsoft has working for the company... Microsoft has serious problems with their servers and websites. The entire MSDN server farm and all download resources MSDN manages has been...
3
1977
by: Gary W. Smith | last post by:
I had a couple questions about data caching. We have a site that gets a huge amount of traffic to a few specific pages that have a lot of data on them (300k hits/hour during peak, about 6-10 data calls per page OR 500 SQL calls per second). Most of the data doesn't change more than once ever 10 minutes. Basically they are data islands with specific content. We have already implemented a singleton that manages a connection pool. This...
2
1200
by: kamal81 | last post by:
Hi, I am using Enterprise Caching Application Block 3.1 in our Application. Can you tell how to maintain the "Cache object pooling".
6
2618
by: karthi84 | last post by:
Hi, I was asked to create a web application which is going to be running on a web farm. Now my questions are 1. I was asked to use windows authentication for connecting to SQL database, will this work when i am running my application in a web farm? 2. What are the settings i should make to make my application work fine in a web farm environment? 3. I have planned to use a SQL persistant state for sessions, is this the best one or is...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.