473,750 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enterprise Cacheing Block

I'm looking to implement the Enterprise Cacheing block as a plugin to an ASP
page. I expect this page to be hit many many times a second and I'm
concerned about thread safety. One of the 'bullet points' that I saw in the
description of the block was "Thread Safety" but I've found nothing
expounding on this feature.

Can someone point me at some literature or examples that shows how this is
implemented?

Anybody have any experience with this block??

Eddy
Apr 10 '08 #1
1 1293
I haven't used it, but if you have something in Cache, it is normally
readonly - it's either there or it isn't, so the only thing you need to be
concerned about is clients not getting any data because the cache item is
"in the process" of being populated. So you could either wrap the
repopulation call in a lock statement block, or just have the calling code
check for null first.
--Peter
"Eddy Jones" <ej****@shopzil la.comwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
I'm looking to implement the Enterprise Cacheing block as a plugin to an
ASP page. I expect this page to be hit many many times a second and I'm
concerned about thread safety. One of the 'bullet points' that I saw in
the description of the block was "Thread Safety" but I've found nothing
expounding on this feature.

Can someone point me at some literature or examples that shows how this is
implemented?

Anybody have any experience with this block??

Eddy
Apr 11 '08 #2

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

Similar topics

10
2409
by: Clive Backham | last post by:
I tried posting this on comp.infosystems.www.misc, but that group appears to get very little traffic. So now I'm trying here. If there is a more appropriate group, please let me know. I'm interested in how cacheing web proxies are expected to behave with regard to pages that change. After changing the content of a simple web site I have, I discovered that the cacheing web proxies at at least one ISP I have access to did not refresh their...
2
2096
by: bjhogan | last post by:
Hi, I have built an c# asp.net application on my laptop, it uses the Enterprise Library blocks - Data Access Application Block, Configuration Application Block. I now want to deploy my application on a server. It does not have the Enterprise Library installed.
0
2646
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't any method or component to wrote registry) After I used "InstallUtil" to registry Enterprise Library (those DLLs) to the deployment server, the application runs smoothly. Now I wonder why i need to registry those Enterprise Library DLLs into
6
1947
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When I run a simple data access page I get an error message. Apparently
7
1904
by: galico | last post by:
Hi All, We are having a very strange problem with the above. We have designed an application in ASP.NET 2.0 that uses the enterprise library data application blocks amongst others. We seem to be maxing out the number of connections allowed to the sql server 7 server after running a few large queries through the application? There are less than 1000 rows of data in the database and we are at a loss as to how to fix this, does anyone have...
1
1441
by: bytebugs | last post by:
Hello Folks, Can anyone suggest me a good book to learn using the Microsoft Enterprise Library Application Blocks. I can only find two books on the net 1. The Definitive Guide to the Microsoft Enterprise Library by Keenan Newton. This book has yet not released 2. Effective Use of Microsoft Enterprise Library : Building Blocks for
2
2085
by: grant | last post by:
Man do I struggle with Enterprise Manager as a graphical tool for building views etc. Its flaky and hangs frequenlty so i have to kill it with the task manager and re open it. You cant debug functions ( or am I missing something) But the worst thing is that it appears to cache the results of views and doesnt refresh from the source.
1
1691
by: shapper | last post by:
Hello, I created a code to access to a database using Enterprise Library Data Block: Dim dbUser As Database = DatabaseFactory.CreateDatabase("MyDB") When I run my I get the following error: 'System.Configuration.ConfigurationErrorsException: The requested database MyDB is not defined in configuration.
0
1653
by: =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?= | last post by:
Using enterprise library's 3.1 Logging Application Block , how can i get the custom source name in the windows event log.When ever i am logging an error in windows event log , it gives the source name as Enterprise Library Logging.I want my custom source name instead of Enterprise Library Logging.Also how can i get the username and category also, through Logging Application Block.
0
9001
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8839
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,...
0
9584
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9344
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,...
1
6810
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
6081
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();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4893
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3327
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

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.