473,671 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Caching block corruption

Anybody aware of the following cache corruption issue in the Enterprise
library?
Under load (say 100,000 hits per day), the cache object manager returns
incorrect objects based on key. For instance, if a cache object key A
returns object A1 and key B returns object B1, under load, object A1
actually returns object B1. This is very reproducible btw.

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------


Apr 5 '06 #1
1 1384
After a bit of digging, this is actually a bug in Enterprise library that
STILL HASN'T BEEN FIXED!!!

best to stay away from that piece of software IMO

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:eH******** ******@TK2MSFTN GP02.phx.gbl...
Anybody aware of the following cache corruption issue in the Enterprise
library?
Under load (say 100,000 hits per day), the cache object manager returns
incorrect objects based on key. For instance, if a cache object key A
returns object A1 and key B returns object B1, under load, object A1
actually returns object B1. This is very reproducible btw.

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

Apr 6 '06 #2

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

Similar topics

9
1549
by: Markus Ernst | last post by:
Hi I use PEAR Cache to cache the frontend pages of a content managed web site. Now I update the contents of a page, and of course the updated contents will only be displayed after the expiring period of the cached file. After thinking and googling a lot I see several possible approaches to for handling this, each of which has it's downsides: - Use a very short expiring period. (Downside: Makes caching only relevant
1
1472
by: Bob Rock | last post by:
Hello, I'd like to have some suggestions/pointers to how I could implement caching of generic data used by a set of web methods. I don't need to cache the response of web methods but of generic data (in the form of key/value pairs). .. Based on my current knowledge I have the following two choices: 1) using the HttpApplication class
4
1834
by: Bob | last post by:
It seems to me that using static classes for caching as versus the Application object has certain advantages. First, the cached values are strongly typed, secondly, it's not ASP.NET specific so the same code can be used for other .NET apps. I can't think of anything bad about it. I only plan to use it for a small number of non-volatile values (but needs to be read from DB or other sources once) so it's like I'd put everything in a...
2
3093
by: Steve W | last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in the current application's cache (HttpContext.Current.Cache). These VB.NET components also get called by a non-ASP.NET application (in this case a VB.NET windows service). I'd like to create something like the cache in this service to hold application-wide information (like database connection strings) and then pass that into the components. As a test, I tried...
5
298
by: michaeltorus | last post by:
Is the only way to cache data in Memory, such as a Dom Document, to use System.Web.Caching namespace? I can't seem to find anything else, but what if you want to cache something in memory and you don't have a web app ? --- Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
1
1139
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
1749
by: Kevin Burrowes | last post by:
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?
4
2977
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So... now I dont know if doing the PHP caching is worth the pain. Would there be any noticed performace improvement if I cache query results in PHP, considering that MySQL is already caching the queries? Thanks
2
4642
by: Cramer | last post by:
I'm creating a custom handler that does not extend Page (only implements IHttpHandler) - and I would like for its output to be cached to improve runtime performance. I would like to leverage ASP.NET's output caching capabilities that are already in place for standard Page requests. How can I leverage the existing output caching mechanisms with my custom HTTP handler? I'd like the standard output caching options to be available, if possible...
0
8472
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
8390
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
8909
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
8596
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
7428
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
6222
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
5690
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();...
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1801
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.