caching

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
raintonr's picture

Best method of caching complex data generated from nodes?

Not sure if the title is good enough to describe this problem, but here goes...

I've had some small input into the KML module (http://drupal.org/project/kml). This generates KML (Google Earth) files which show placemarks for content with locations. While rather cool this can be very slow when you have many nodes with location information.

Read more
Swampcritter's picture

Drupal Authenticated User Scalability

Overview: Drupal Authenticated User Scalability

Read more
Jonah Ellison's picture

New module: Authenticated User Page Caching (Authcache)

Authcache offers page caching for logged-in authenticated users. This allows Drupal to load pages in 1-2 milliseconds and take the load off the the database & processor. Please help test this module (the site I was creating this for got axed, but I continued development on this module). Feedback & patches are welcome. This module can be used for anonymous users (it's faster than Drupal core since the database won't be hit), supports the statistics module, and can cache blocks of user-customized content.

Many thanks to Steve Rude for his work on the Cache Router module, which Authcache uses as its caching system.

This is how it works:

Read more
blender1968's picture

Getting cache tables out of DB (or into different DB)?

Hi All,

What (if any) best practices are there for achieving a configuration where the cache tables aren't writing to the default DB?

My specific concern is related to http://groups.drupal.org/node/12890 (MySQL Binary Logs of Death). Would like to write the cache mutator statements to a different DB so they aren't included in the binary log.

We're running 6.8. Using APC for opcode cache.

It seems like the options are:

  • set different DB/tables in place of cache.inc. Specifics?
  • use Cache Router. Specifics?
  • use Memcache.
Read more
joshk's picture

Utilizing Multiple Caching Strategies?

Last night I (finally) updated my (ultra-simple) personal website to 6.0, and while I was at it I decided to try out some caching ideas that had been brewing in the back of my mind for a while.

Though all caching strategies have their pitfalls and drawbacks, the idea I wanted to try -- combining Boost and Memcache -- seems like a real live-wire. However, if it can be made to work, I think it might offer some significant advantages.

Read more
juan_g's picture

Tutorials: Drupal caching, speed and performance

To make it easier to find information on these matters, I've started the new handbook page Drupal caching, speed and performance in the Tutorials section of drupal.org. It's just a guide to information and tutorials on optimizing Drupal's performance, speed, and scalability, with an initial listing of fourteen resources. If anything is missing, you may edit it to add other useful Drupal performance resources.

Read more
juan_g's picture

Staying online during a perfect storm of traffic

As seen on Planet Drupal, the recent article Improving Drupal's Performance with the Boost Module for the UN's Millennium Campaign (October 23rd, 2008) describes how a Drupal site successfully managed a very high traffic situation. They achieved this with "one enormously helpful Drupal module, called Boost", and "some fine tuning".

Read more
markus_petrux's picture

Possible improvement with caches

Hi,

I would like to share some thoughts about caching in Drupal, and then see what you people think about it. Not sure if this is new though.

Sometimes, cached objects are created on demand (while a page request occurs) and use expiration times. For exemple, cache_filter table usage in check_markup. In these cases, the logic is more or less, like this:

if ($cached = cache_get($cache_id, 'cache_filter')) {
  return $cached->data;
}
// object is not cached, so here we do a lot of stuff to
// build the thing, then cache it with an expiration time
cache_set($cache_id, $text, 'cache_filter', time() + (60 * 60 * 24));

Well, the problem here is that if several page requests come at the same time, there will be several processes doing the same job and caching the same object, concurrently. For hi traffic sites this might be a problem.

Read more
pedropablo's picture

Static page cache and compression limits for shared hosting

Hello

I have set up an aggressive static page caching system using Boost module, which I modified to build gzip compressed pages to speed up load times and be able to serve more pages in less time at cuentosparadormir.com. The system works fine with just a few thousand users in a typical shared hosting account, as the content is oriented mainly to anonymous users. Of course javascript and css files are aggregated and compressed (using smartcache module).

Have anyone tried a similar approach? what do you think the limits of such a set up could be, and what should be the next bottleneck I will face for these kind of sites? do you propose any other configuration to create a high performance drupal site in a shared hosting account?

Read more
Anonymous's picture

updating memcache module to version 6?

hi,

i just submitted a simple patch to try to get the ball rolling on memcache support for drupal 6.

has anyone else started on this? is anyone interested on collaborating on updating the memcache module for drupal 6?

cheers
justin

Read more
Subscribe with RSS Syndicate content