TEK Webcast Notes

Last Friday, I did a webcast as a part of the PHP TEK Webcast series. The webcast was on Caching for WordPress. We had a good turnout, and there were lots of questions about the best plugins to use for WordPress caching.

For me, every WordPress blog should have APC installed on it, hands down. APC almost doubles the response rate for WordPress by itself; APC is easy to install and freely available, stable and exceptional. Along with APC I also recommend either WP-Super-Cache or W3 Total Cache. WP-Super-Cache is great for sites that simply want to do static caching; W3 Total Cache is for sites that want to make use of S3 or other caches (like the APC User Cache).

(more…)

Wednesday, April 21st, 2010 @ 7:00 am | Comment (3) | Categories: Conferences, Best Practices, Technology
Tags: , , , , ,

“Micro” Optimizations That Matter

Every few weeks, someone publishes an article talking about how it’s faster to use single quotes rather than double quotes and how you should use echo() instead of print(). Most of these are bunk; that is, the time we spend talking about them far exceed the CPU time saved by implementing them.
(more…)

Friday, October 16th, 2009 @ 1:00 am | Comment (21) | Categories: Best Practices, Technology
Tags: , , ,

To stat() Or Not To stat()?

The Alternative PHP Cache (APC) is a tool that offers a massive performance gain to almost any PHP application simply by turning it on. This extension to PHP provides both opcode caching and user caching, placing files and data into memory for fast retreival, and, if used correctly, eliminating some of the bottlenecks of the file server or database.

Turning APC on is a great way to get a performance boost, but there are ways to help improve APC’s performance.

(more…)

Thursday, July 30th, 2009 @ 4:33 pm | Comment (3) | Categories: System Architecture, Best Practices
Tags: , ,

Benchmark Early and Often

This past week I had to deal with a new concept: a client site that failed due to excessive load. Most of the week was spent optimizing the site by doing the critical components: installing APC, ensuring that our caching (Akamai) was satisfactory and properly configured, and making performance improvements.

But one thing that became very important was the benchmark test. Using ApacheBench, we identified the blind spots, weak spots, and bottlenecks in our web server (WordPress…duh) and worked to address them.

(more…)

Friday, October 3rd, 2008 @ 9:56 pm | Comment (1) | Categories: Web Architecture, System Architecture
Tags: , , , , ,


Copyright © 2023 by Brandon Savage. All rights reserved.