caching

Can Intraweb Run More that 65,536 concurrent sessions?

Im trying to build a web-link to a busy social networking website using intraweb. Intraweb creates temporary folders for each session to store temporary files, which auto-delete when the session expires. If hosted on Win 32, the limit is 65,536 folders - which means only 65k concurrent sessions are possible. Is there a way to turn off...

Proxy caching to make cheap wimax useful

Through my job, I can get cheap wimax but there’d be a bandwidth limit of 200MB/month I often work on personal programming projects on the train to work. For this, I generally don’t need web access and even when I do need access; it’s usually for pages I’ve already visited. Is there a way to cache my web visits in a way that’s relativ...

ObjectDataSource caching on large static result set

Hi, I have an objectdatasource that will return a potentially large collection (up to 200,000 records) that are bound and paged in a gridview. I am using default paging and caching on the objectdatasource. The data being returned is only updated weekly so stale data is not an issue. The paging in this solution was also faster than w...

How to return HttpContext.Current.Cache from WCF?

Hei, I have a WCF service hosted in IIS and want to return the data which is reside in the cache of IIS (HttpContext.Current.Cache) What is the most appropriate choice of type this service should return? Thanks ...

How to detect and debug stale cache entries?

I am using memcached with PHP trying for heavy caching to avoid db-reads. I am invalidating the cache on an update (application invalidates). But, stale cache data is becoming a big issue. Mostly, this is due to bug in invalidation (invalidates wrong key OR forgetting to invalidate the cache entry on an UPDATE). Is there any good method...

Client-side caching in Rich Internet Applications

I'm starting to step into unfamiliar territory with regards to performance improvement and our RIA (Rich Internet Application) built with GWT. For those unfamiliar with GWT, essentially when deployed it's just pure JavaScript. We're interfacing with the server side using a REST-style XML web service via XMLHttpRequest. Our XML is un-mar...

Data cache vs session object in ASP.Net

Should dynamic business objects for a site be stored in the users session or use ASP.Net caching (objects such as orders, profile information etc)? I have worked with sites that used sessions to store business objects, but I was wondering...What are the advantages or disadvantages of caching? ...

Best way to Implement a MySQL Hash Table?

Background I'm currently developing an online community and I want to store some temporary information in a hash table. Currently this information is being stored in memcached, however, should the memcached service need to be restarted or failed, I would like to resort back to the on disk hash/cache. The Question What is the most effe...

Storing Data In Memory: Session vs Cache vs Static

A bit of backstory: I am working on an web application that requires quite a bit of time to prep / crunch data before giving it to the user to edit / manipulate. The data request task ~ 15 / 20 secs to complete and a couple secs to process. Once there, the user can manipulate vaules on the fly. Any manipulation of values will require...

Does a cache need to synchronized?

This seems like perhaps a naive question, but I got into a discussion with a co-worker where I argued that there is no real need for a cache to be thread-safe/synchronized as I would assume that it does not matter who is putting in a value, as the value for a given key should be "constant" (in that it is coming from the same source ultim...

Efficient reordering of large dataset to maximize memory cache effectiveness

I've been working on a problem which I thought people might find interesting (and perhaps someone is aware of a pre-existing solution). I have a large dataset consisting of a long list of pairs of pointers to objects, something like this: [ (a8576, b3295), (a7856, b2365), (a3566, b5464), ... ] There are way too many objects...

UrlRewriting on Global.asax and SQL Output Caching

Hi, I'm performing a UrlRewrite for my main category pages. Converting: www.mysite.com/Category.aspx?id=2 to www.mysite.com/Dogs In order to do so I'm using Global.asax's Application_BeginRequest where I perform the following code(psuedocode): protected void Application_BeginRequest(Object sender, EventArgs e) { if (IsCategoryU...

Caching Lucene.net search results

I've used Lucene.net to implement search functionality (for both database content and uploaded documents) on several small websites with no problem. Now I've got a site where I'm indexing 5000+ documents (mainly PDFs) and the querying is becoming a bit slow. I'm assuming the best way to speed it up would be to implement caching of some ...

Is there such a thing as a Per-User Global Assembly Cache?

Question says it all ...

Caching system like memcached but where I need to list what is in the cache

What's the best caching system/daemon that supports get, put, delete and list (memcached, I think, doesn't support list) An example I would like to use memcached for my caching solution but I'm stuck with the application design that I currently have which is that I cache the following 3 URLs I need to always have different cache keys...

How to instruct web browsers NOT to cache pages?

I've got a caching problem with the Internet Explorer 6.0 and I want to instruct the browser not to cache the page he's requesting. Further information: In my page, there's a random token that prevents reloading the site and posting the same information twice or more. If you now bookmark this page, the browser has to be instructed to r...

Does PHPs fopen function implement some kind of cache?

I'm struggling with the automated data collection of a PHP script from a webserver. The files in question contain meteo data and are updated every 10 minutes. Weirdly enough, the 'file modified' date on the webserver doesn't change. A simple fopen('http://...')-command tries to get the freshest version of the last file in this directory...

Generic Cache mechanism for .NET

I've got a class library which has a Person class. The Person class includes a property for CountryName and CountryCode. The CountryCode is the value stored in the Person table. The CountryName is retrieved from an accompanying lookup table. Because the mapping between CountryName and CountryCode is not likely to ever change, I feel ...

Question about using subdomains to force caching

Hi, I haven't had a huge opportunity to research the subject but I figure I'll just ask the question and see if we can create a knowledge base on the subject here. 1) Using subdomains will force a client side cache, is this by default or is there an easy way for a client to disable it? More curious about what kind of a percentage of us...

Whats the best way of caching images on my website ?

I have a website www.somesite1.com which gets all its image content from www.somesite2.com At the moment each time an image is to be displayed we simply use an absolute URL to get it like this <img src="http://www.somesite2.com/images/myimage.jpg" /> So each time a user goes to www.somesite1.com for content www.somesite2.com gets...