 | News Feed |
Sections
Community Events
Don't see your event here? Let us know!
|
| feed this: |  |
Michael Kimsal's Blog: Lessons learned from a reddit overload
posted Monday June 30, 2008 @ 12:04:27
voice your opinion now!
BY CHRIS CORNUTT
Thanks to it being posted on reddit, the traffic to a certain post on Michael Kimsal's blog gave him a crash (literally?) course in high load management on a WordPress blog.
The blog post was voted up on reddit, and the server got slammed. So slammed, in fact, that it was unusable for a few hours while I investigated the problem. I didn't know the post was on reddit, but I knew I was getting some traffic.
He spent some time trying to get the Apache server to finally die off and give him back his machine, at least enough to get a feel for what was going on. Part of his problem was not having APC installed like he thought and the other part - WordPress. While friendly on the outside, it's apparently somewhat lacking on the inside.
tagged with: reddit overload apc apache wordpress upload meter
Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?
posted Thursday June 26, 2008 @ 08:41:52
voice your opinion now!
BY CHRIS CORNUTT
On his blog today Michael Kimsal asks a question that hasn't come up much in recent months - with all of the advancements browsers are adding in, why aren't there better hooks for measuring file downloads?
This current tirade stems from implementing a file upload progress meter in PHP5. Yes, PHP5.2 has some hook, and there's a PECL extension. [...] I realize this is partially a PHP issue I'm ranting about, but it's ultimately a hacky workaround to a basic piece of functionality that browsers should support.
He mentions an example where he basically directly asked a member of the IE team about it. It wasn't greeted seriously and still hasn't managed to be included in most of the popular browsers of today.
tagged with: browser flie upload progress meter pecl extension apc
C7Y: Optimizing with APC
posted Wednesday May 28, 2008 @ 12:58:07
voice your opinion now!
BY CHRIS CORNUTT
Brian Shire has posted a new tutorial talking about some of the benefits of caching the functionality of your website (with things like APC, not file or database caching):
Opcode caches save energy, expenses, improve overall user experience on web sites, and it's often one of the simplest optimizations to implement. This article will explain the basics of installing, configuring, and tuning an opcode cache for PHP, the Alternative PHP Cache (APC).
The article focuses on how the APC works and how to get it up and working on your installation (as pulled from the pecl repositories). They look at some of the functions the extension's API includes (like ap_cache_info or ap_store for manual caching) as well as some more advanced topics like locking performance, working with TTL, cache priming and filtering.
tagged with: tutorial optimize apc alternative cache pecl extension
New Earth Online: Caching PHP pages
posted Monday April 21, 2008 @ 09:31:40
voice your opinion now!
BY CHRIS CORNUTT
The New Earth Online has a quick look at one easy method for speeding up your site in a few different ways - caching pages and information with things like Cache_Lite and APC.
As your site traffic grows it takes longer and longer to generate a dynamic page from sending multiple queries to a database. One possible solution to limit queries is to cache the result of each query that is needed, or to have a complete full page cache for your site.
They look at the two ways I mentioned - the Cache_Lite PEAR package and the APC extension (that will soon be included by default in the stable PHP releases). Bits of code are provided for each showing how to get them set up and get them working inside of your application.
tagged with: cache page apc pear cachelite tutorial install
Gennady Feldman's Blog: Performance tips, APC vs Eaccelerator
posted Tuesday February 12, 2008 @ 10:27:34
voice your opinion now!
BY CHRIS CORNUTT
Gennady Feldman, in light of some of the recent talk about enhancing the performance of your PHP applications, has written up this new post comparing two of the more favored software packages - APC and Eaccelerator.
Some websites use other technologies like Java and face the exact same problems. There are different variables involved here and the most common one is database. So I thought i would post a couple of articles related to performance and tuning.
This this post of the series focuses on the first of the two - APC - and talks about places it's used and includes some general performance recommendations. These include "Don't try to throw everything at your poor database" and the importance of XDebug.
tagged with: apc eaccelerator performance tip database xdebug
Stuart Herbert's Blog: More about Performance Tuning
posted Tuesday February 05, 2008 @ 07:57:00
voice your opinion now!
BY CHRIS CORNUTT
Based off of a previous article from Mike Willbanks, Stuart Herbert has posted some of his own thoughts on tuning and tweaking your applications for the best performance you can get out of them.
There's some good advice in there, and I thought it'd be a good idea to quickly add a bit more detail about the separate approaches that Mike raises.
He goes over the APC caching, memcache, the "gzip trick", the "Not Modified" header and optimized SQL statements.
He also mentions one thing that Mike didn't mention - a split between static files (no PHP needed) and their dynamic cousins. Having a more pure Apache (no PHP installed) can help give a minute jump in speed that, depending on the size of the site, could really add up from a user's perspective.
tagged with: performance tune memcache apc sql optimize gzip notmodified
|