News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Etsy Code as Craft Blog:
Experimenting with HHVM at Etsy
April 08, 2015 @ 08:49:20

On the Etsy "Code as Craft" blog they've posted an article about their experiences in experimenting with HHVM at Etsy and some of the differences it makes.

In 2014 Etsy's infrastructure group took on a big challenge: scale Etsy's API traffic capacity 20X. We launched many efforts simultaneously to meet the challenge, including a migration to HHVM after it showed a promising increase in throughput. Getting our code to run on HHVM was relatively easy, but we encountered many surprises as we gained confidence in the new architecture.

They start with a brief overview of what HHVM is for those that aren't sure and talk about where their focus was in these experiments. They list out some of the main reasons for trying out HHVM and the role of concurrency in their current application. They started with the "minimum viable product" and compared benchmarks between PHP 5.4 and HHVM on several endpoints. They also show how they "teed" incoming requests to both servers to ensure that the responses were the same across both. They also talk about using employee-only traffic and the overall statistics for when they released the HHVM version internally. They also talk about some of the undocumented features to keep an eye out for if you're thinking of switching: "warming up" the requests to align them in JIT memory, using perf(1) for profiling and the use of the HHVM interactive debugger (hphpd).

0 comments voice your opinion now!
hhvm etsy experiment performance throughput statistics hiphop vm

Link: https://codeascraft.com/2015/04/06/experimenting-with-hhvm-at-etsy/

IBM developerWorks:
Make PHP apps fast, faster, fastest (Part 1)
February 23, 2007 @ 12:35:00

The IBM developerWorks website has posted the first part of a series looking at boosting the performance and throughput of your PHP applications through an opcode caching software, specifically XCache.

PHP is a scripting language most often used to create Web applications. It's easy to learn and produces visible results quickly. However, because PHP is interpreted, PHP code is parsed and translated to opcodes every time it executes. An opcode cache eliminates that rework, making PHP applications faster.

They start with the installation of the software (just XCache, they assume everything else is installed) and what to edit in the php.ini file to get things up and running. They follow this up with a sample benchmark for a local phpmyadmin installation.

0 comments voice your opinion now!
xcache opcode cache performance throughput fast xcache opcode cache performance throughput fast



Community Events

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


part2 laravel symfony opinion project list php7 yii2 composer api application introduction podcast example interview framework series language programming community

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