Jump to ratings and reviews
Rate this book

Scaling PHP Applications

Rate this book
I spent 3 years scaling Twitpic to over 60 million visitors and 20 billion HTTP Requests. I'm sharing everything I've learnt in this ebook so you can skip over the trial-and-error and head straight to the techniques.Covers the entire stack- Nginx, MySQL, RedisIn-Depth MySQL TuningWe discuss each parameter, why it exists, and how to tune it.Nginx and PHP-FPMMove away from Apache and learn how to tune Nginx/PHP-FPM.Redis and MemcachedWe discuss scaling sessions, Russian Doll Caching, and the "dogpile".Result-proven techniquesThis content doesn't exist anywhere elseWhen I set out to write Scaling PHP Apps, my goal was to write about topics that didn't really exist anywhere else. This isn't regurgitated documentation- it's real life scaling techniques, mixed with case studies and in-depth exploration. Make no mistake, this is a highly technical book, and you should already be comfortable with PHP.If you've ever researched scaling, you know nothing like this book really exists anywhere else. It's an important book that'll save you hours of research and testing. Readers have told me it's blown their expectations away and that they've implemented hundreds of tidbits into their stack.This book is filled with 150-pages of real-life, practical content. Changes that you can implement today!* Settle the Persistent Connection debate (with benchmarks)* Detailed explination of each important MySQL Setting* Understand exactly how NUMA impacts MySQL* Why you should scrap Apache and mod_php* Bugs in Memcached you've never heard about* How DNS lookups can crash your whole application* Clever uses of Redis for stats and performance* How to debug PHP with strace and xhprof* Ways to benchmark MySQL, HAProxy, Nginx, and PHP

177 pages, Kindle Edition

First published February 17, 2013

29 people want to read

About the author

Stephen Corona

3 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
22 (64%)
4 stars
12 (35%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
379 reviews10 followers
July 12, 2014
Ottimo manuale, che si concentra più sulla parte sistemistica della scalabilità che su quella di programmazione in PHP.
Spiega come ottimizzare nginx, mysql e anche il kernel, oltre che come installare e configurare al meglio sistemi di caching e di HA.

Tra i difetti, il trattare un determinato caso specifico (quello di Twitpic), invece di estendere le spiegazioni, per esempio, a PostgreSQL, ad Apache o in generale ad alternative ai software consigliati.

Ma il difetto più grande è il prezzo, rapportato al numero limitato di argomenti trattati.
1 review
June 16, 2015
This is the best book available for the PHP Developers. It's exactly to the point. I loved it and it helped me just when I was on the job of working on a scalable application.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.