caching

CFMAIL Caching? Has anyone had seen this before in CF7?

I'm using CFMAIL to send out an email. For some reason, when I edit the email msg in the CFMAIL tag, and save the file, CFMAIL isn't sending new emails with the changes... Is CFMAIL caching itself or the file that holds the CFMAIL tag? Thxs ...

.Net Application Cache in Cloud Environment

I'm using the Enterprise Application Block and my application is hosted in a Cloud Environment. I was wondering what else I need to do with my implementation to make it as efficient as possible. ...

speed up a sql query to mysql?

in my mysql database i've got the geonames database, containing all countries, states and cities. i am using this to create a cascading menu so the user could select where he is from: country -> state -> county -> city. but the main problem is that the query will search through all the 7 millions rows in that table each time i want to ...

Load a MySQL innodb database into memory

I have a MySQL innodb database at 1.9GB, showed by following command. SELECT table_schema "Data Base Name" , sum( data_length + index_length ) / 1 048 576 as "Data Base Size in MB" , sum( data_free )/ 1 048 576 as "Free Space in MB" FROM information_schema.TABLES GROUP BY table_schema ; +-------------------...

Linux C++: how to profile time wasted due to cache misses?

I know that I can use gprof to benchmark my code. However, I have this problem -- I have a smart pointer that has an extra level of indirection (think of it as a proxy object). As a result, I have this extra layer that effects pretty much all functions, and screws with caching. Is there a way to measure the time my CPU wastes due to c...

THE FASTEST Smarty Cache Handler

Does anyone know if there is an overview of the performance of different cache handlers for smarty? I compared smarty file cache with a memcache handler, but it seemed memcache has a negative impact on performance. I figured there would be a faster way to cache than through the filesystem... am I wrong? ...

What is the best solution for htaccess caching

I have found a number of articles such as this one that talk about using htaccess to cache images and files on your webserver. But which is best, why, and what is the best implementation of this? ...

OracleDataSource connection caching - restarting connections?

Hello, Is it possible to set the Oracle connection cache to restart cached connections after a period of time? ...

NHibernate cache/deletion problem?

I am using NHibernate and have a cache region specified in my NHibernate configuration: <cache region="HalfHour" expiration="1800" priority="3" /> I have an entity definition (UserDefinedGroup) which is set to use this cache region in read-write mode: <class name="UserDefinedGroup" table="Message_Groups"> <cache region="HalfHour"...

Subsonic, SharedDbConnectionScope and ApplicationState

I'm looking at using Subsonic with a multi-tenant ASP.net web application. There are multiple DB's (one per client/instance). The user logs in with a domain suffix to their username (e.g. user@tenant1, user@tenant2). The custom membership provider will then determine which database a user is using, and authenticate against it. All user-...

Passenger, Apache and avoiding page caching

I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the content directly as a static page for future requests. I would like to tell Apache, presumably through some rewrite rules that any requests wi...

Best practices for caching results of JSP pages?

My application has an MVC structure. Is it sufficient to only cache the model objects that are passed to the JSP views? Or will there be a significant performance boost from caching the results of the rendering of the JSP views too? ...

What's a good 2nd level cache for JEE applications?

Can anyone recommend a good 2nd level object caching solution for JEE 6 applications, and give background to your recommendation? I'm using JPA 2.0 as persistence provider. I am particularly worried about having to run the cache client as a single-thread / singleton bean. Is that the case? If so, is that an issue? I've good experience ...

Any ideas for developing a Risc Processor friendly string allocator?

I'm working on some tools to enable high throughput data-oriented development, and one thing that I've not got an immediate answer for is how you go about allocating strings quickly. On risc processors you've got another problem of implementation that the CPU doesn't like branching, which is what I'm trying to minimise or avoid. Also, ca...

IList<Item> Collection Class accessing database

Hi, I have a database with Users. Users have Items. These Items can change actively. How do you access the items in a collection type format? For the user, I fill all the user properties at the time of instantiation. If I load the user's items at the time of the instantiation, and the items change, they will have old data. I was think...

Globally accessible object across all Celery workers / memory cache in Django

Hi everyone, I have pretty standard Django+Rabbitmq+Celery setup with 1 Celery task and 5 workers. Task uploads the same (I simplify a bit) big file (~100MB) asynchronously to a number of remote PCs. All is working fine at the expense of using lots of memory, since every task/worker load that big file into memory separatelly. What I ...

Caching Profiles web.config vs IIS

What is the difference between configuring a Caching Profile in Web.Config and configuring it in IIS? If you have this in Web.Config <caching> <outputCache enableOutputCache="true" /> <outputCacheSettings> <outputCacheProfiles> <add duration="14800" enabled="true" varyByParam="*" name="Asset...

Write-Through Cache

Dear All I am trying to do an C# implementation of Write-through Cache to minimize the read hits on db i need your suggestions, articles or sample codes to fulfill this assignment. Initially this would be use only on one server but will be updated to work in clustered environment. I only able to get a worth reading article on Oracle...

Invalidating the HTTP Cache on read only front servers

We have a CMS system and in the production mode a number of servers only have read-only access to the content (with a few exceptions) and the editors for the site work on the content on servers behind it (which are not available to the public). We're caching the content quite a long time on the front servers, but sometimes we want the c...

Asp.net cached objects staying in memory

I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data from a number of web services for 2 hours. webCacheObj.Remove(dataCacheKey) webCacheObj.Insert(dataCacheKey, dataToCache, Nothing, DateTime.Now.AddHours(2), Nothing) Every 90 minutes a Microsoft Search Server hits a particular (spider) page which ...