Svilen Sabev

about open source stuff and life
Follow me on Twitter Grab my RSS Feeds Contact me
  • Blog
  • About
  • Portfolio
  • Contact

performance

 
Sep 21

Preventing Drupal from Handling 404s for Performance

The .htaccess file included with Drupal tells Apache to send all 404 requests to Drupal to handle. While this is great in some cases, the performance degradation can have a huge impact on a site that has millions of users.

When Drupal processes a 404, it has to bootstrap Drupal, which includes Apache loading up the PHP process, gathering all of the Drupal PHP files, connecting to the database, and running some queries. This is quite expensive when Apache can be told to simply say "Page not found" without having to incur any of that overhead.

Date Sun, 09/21/2008 - 12:09
Filed in
  • Drupal
  • 404
  • htaccess
  • performance
  • Read more
Sep 21

MySQL Performance Tuning Primer Script

MySQL Performance Tuning Primer Script
http://www.day32.com/MySQL/
http://www.day32.com/MySQL/tuning-primer.sh

This script takes information from "SHOW STATUS LIKE..." and "SHOW VARIABLES LIKE..."
to produce sane recomendations for tuning server variables.
It is compatable with all versions of MySQL 3.23 and higher (including 5.1).

Currently it handles recomendations for the following:

  • Slow Query Log
  • Max Connections
  • Worker Threads
  • Key Buffer
  • Query Cache
  • Sort Buffer
  • Joins
  • Temp Tables
  • Table (Open & Definition) Cache
  • Table Locking
  • Table Scans (read_buffer)
  • MyISAM Status
Date Sun, 09/21/2008 - 11:11
Filed in
  • Databases
  • mysql
  • performance
    Syndicate content

    About Svilen Sabev

    I'm a 27 year old Web Developer positioned in Sofia, Bulgaria. I am employed by a great web company, ProPeople. I like to design and develop simple but nice Web 2.0 interfaces. more...

    More info

    Categories

    • (1)CSS
    • (2)Databases
    • (2)Drupal
    • (2)Javascript
    • (3)jQuery
    • (2)Linux
    • (2)Open Source
    • (1)PHP
    • (1)SEO
    • (1)Uncategorized

    Tags in Tags

    drupal image opacity open source organize pan performance platform presentation seo ubuntu zotero
    more tags

    © 2007 - 2010 SvilenSabev.com powered by Drupal

    Creative Commons License Except where otherwise noted, content on this site is
    licensed under a Creative Commons Attribution 3.0 License


    Valid XHTML Valid CSS 2.0 Get Firefox Save The Developers