News Feed
Sections

News Archive


Community Events






Don't see your event here?
Let us know!


feed this:

Michael Kimsal's Blog:
Lessons learned from a reddit overload
0 comments :: posted Monday June 30, 2008 @ 12:04:27
voice your opinion now!

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?
0 comments :: posted Thursday June 26, 2008 @ 08:41:52
voice your opinion now!

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
0 comments :: posted Wednesday May 28, 2008 @ 12:58:07
voice your opinion now!

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

Harun Yayli's Blog:
memcache.php stats like apc.php
0 comments :: posted Thursday May 22, 2008 @ 12:02:59
voice your opinion now!

Inspired by the nice web interface that the Alternative PHP Cache provides (apc), Harun Yayli decided to hack together his own version for the memcache caching software.

For a long time I was looking for a nice web interface like the apc.php (comes with the apc's source) that displays whole nine yards of stats. [...] Anyways, I decided to rip write my own. Totally based on the original apc.php (I even recycled some functions) and apart from completeness, here is a memcache.php that you can get stats and dump from multiple memcache servers.

Here's the output of his script and he's made the source for it available for download as well.

tagged with: memcache statistics apc alternativephpcache graphical output

New Earth Online:
Caching PHP pages
0 comments :: posted Monday April 21, 2008 @ 09:31:40
voice your opinion now!

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

Ian Selby's Blog:
Put Your PHP App on Steroids - Optimizing with APC Cache
0 comments :: posted Thursday April 10, 2008 @ 17:32:55
voice your opinion now!

In this new post to his blog, Ian Selby talks about a method to "pump up" your web site's performance to give the most to your visitors - the APC cache.

Nothing's cooler than writing a bad-ass site or application and watching it gain popularity and a significant user base. By the same token, nothing's more frustrating that watching your app fall on its face when its running under high load. [...] Before you say, "throw more / better hardware at that mo-fo", why not take a moment and learn about APC: Alternative PHP Cache...

He describes the caching software - what it is and how it can help you and your application - and includes examples using a CacheManger class to store and set values quickly and easily.

tagged with: performance apc cache example optimize alternative

Gennady Feldman's Blog:
Performance tips, APC vs Eaccelerator
0 comments :: posted Tuesday February 12, 2008 @ 10:27:34
voice your opinion now!

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
0 comments :: posted Tuesday February 05, 2008 @ 07:57:00
voice your opinion now!

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

PHPRiot.com:
Monitoring File Uploads using Ajax and PHP
1 comment :: posted Friday January 11, 2008 @ 08:45:00
voice your opinion now!

On the PHPRiot.com site today there's a new tutorial posted covering an alternate method for uploading files - using Ajax to help monitor the progress of the file upload.

In this article we will develop a solution that will allow users to upload a file from their computer using HTML forms. We will then determine the progress of the upload while it is in progress using Ajax, and display the status to the user.

They chose the prototype library and the APC extension for PHP to make their code work. The basic idea is, through a feature of APC, the script can receive a progress measurement back from the server. This is handed off to the Javascript (Ajax) functionality that then updates the progress meter to reflect the change.

tagged with: monitor file upload ajax apc extension prototype tutorial monitor file upload ajax apc extension prototype tutorial

Mike Willbanks' Blog:
Using PHP Accelerators
0 comments :: posted Wednesday December 26, 2007 @ 08:19:00
voice your opinion now!

Mike Willbanks has made a series of posts covering the acceleration tools available for you the PHP developer and some of the benchmarks of using them in an application.

Here's the list:

tagged with: accelerator benchmark zendloader apc xcache accelerator benchmark zendloader apc xcache


security cakephp database release conference releases book job mysql example zend framework PEAR developer ajax code PHP5 application zendframework package

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework