Modern database backed web applications can handle many thousand reads per second with smart caching features, but what would happen if you suddenly experience a surge of users hitting sign up functionality which can't be cached?

In light of the EU Cookie Directive ruling, I have written a small piece of JavaScript to put on any site which uses cookies. The code overlays a once-only message over the site with a configurable link to your cookie information page.

When dealing with a large codebase, or any codebase really, debug log files can get pretty detailed. I made the mistake of not separating my log entries into degrees of importance with a switch in some settings file, so I basically have logging enabled or disabled. When logging is disabled pages render between 8 and 35 ms, when enabled pages can take up to 500 ms.