Caching issues?

Hello guys,

I am trying to buid a wallpaper section in which I have different CCK fields depending on the wallpaper resolution. I've themed my contemplate and everything looks the way I want, however Drupal is not showing the same information for every entry.

Take a look here, please:

http://boletodecine.thinkbanzai.com/descargas/bee_movie

Performance Tuning Apache and MySQL for Drupal

Overview

I've been working on the performance of my Drupal site and thought I'd share my results to date in case they might help someone else. My baseline performance using out-of-the-box settings was around 28 requests per second, and the end result is a rate of 68 requests per second.

The site, www.kidpub.com, is lightly loaded, with between 400 and 600 visits per day for a total of 3,000 to 4000 pageviews per day. The system is a dedicated 1.8GHz Celeron with 500M RAM and a 100M ethernet. It's running CentOS. Apache is 2.0.52. Latest build of Drupal 5 and MySQL 5.

I looked at three main areas for performance tweaking: Apache, MySQL, and PHP. Most of the changes are pretty simple but result in good performance gains.

Benchmarking Apache with ab

Most of my tuning was done in Apache. I found that the default settings for the web server were not appropriate for a small system such as mine; in many cases they were 10x higher than I needed. I used the ab utility to benchmark server performance; for example:

ab -n 500 -c 50 http://www.kidpub.com/latest/

This makes 500 requests for /latest with 50 concurrent users. The output of ab looks like this:

Document Path: /latest
Document Length: 25166 bytes

Concurrency Level: 50
Time taken for tests: 7.344847 seconds

How many logged in users and nodes when problems came up to drupal.org

Hi, I am about launching my drupal-Site but still need to know what I can expect about performance issues. I read about the database run on 4 Servers used by drupal could not handle just 50 users logged in at the same time, on the other hand the site here works quite well. As it seems to me that drupal works still fine with standard/core modules, but when additional functions should be add the appetite for hardware increase to dimensions I could not handle to pay for servers.

How can I detect the performance of a CMS

Hi, I would like to detect and compare the performance of several CMS. Is there any program that runs on Debian Linux I can use? I would like to find out

  • How much time it needs to load 100 articels in standard installation
  • How many database queries it takes
  • and how many articles can be loaded in 5 seconds

It's important that it's not a module of the CMS, I need a separate program.
Thanx, Marenz

if i use official release modules do i need to test my site before launch it?

the question is what type of testing do i need if i use an official release modules to make my site and if i am not programmer do i can do this testing to ensure that my site can be launch to world? please answer me....

thanks in advance

Fast cache on files

I know there were some issues on storing files of cache to retrieve them fast.

My solution was - creat subdirectiry structure like squid-cache uses.

But there was a problem - we do not know when cache old or not.
My solution was - checkpoint variable to differ old cache content from new content to know when just recache it.

Of course this structure can grow without limitations -but it's not a problem make cron script to just remove files from cache

cache need files/cache directory
Here my custom cache.inc is:

<?php
/*
*
* Filecache by Ilya V. "brainstorm" Azarov, brainstorm.name
*
*
*/
class cache_cc{
var $data, $created, $expire, $headers, $checkpoint;
function cache_cc($c){
$this->data = $c['data'];
$this->created = $c['created'];
$this->expire = $c['expire'];
$this->headers = $c['headers'];
$this->checkpoint = $c['checkpoint'];
}
}

function filecache_get_checkpoint($table){
if($table == 'filecache_checkpoint') return 0;
$key = $table;
$lock = filecache_lockpath('filecache_checkpoint', $key);
$dir = filecache_md5path('filecache_checkpoint', $key);
$src = filecache_name('filecache_checkpoint', $key);
$f = fopen($lock, 'w+');
if(flock($f, LOCK_SH) && file_exists($src) ){
$cache = @unserialize(file_get_contents($src) );
$checkpoint = $cache['data'] ['checkpoint'];
flock($f, LOCK_UN);

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Performance and scalability