Steve Corona - Scaling PHP Apps - 2015 (+Code)

seeders: 9
leechers: 4
Added on July 30, 2015 by fishbayevin Books > Ebooks
Torrent verified.



Steve Corona - Scaling PHP Apps - 2015 (+Code) (Size: 16.32 MB)
 Steve Corona - Scaling PHP Apps - 2015.epub5.16 MB
 Steve Corona - Scaling PHP Apps - 2015.pdf4.86 MB
 Steve Corona - Scaling PHP Apps - 2015.mobi3.92 MB
 CODE.rar2.24 MB
 Cover.png130.84 KB
 Descriptions.txt3.59 KB

Description

image

Scaling PHP Apps

Year: 2015
Author: Steve Corona
Genre: Textbook
Publisher: Leanpub
ISBN: no
Language English
Format: PDF, EPUB, MOBI
Quality: initially computer (eBook)
Interactive contents: Yes
Number of pages: 210

Description:

Scaling LAMP does not have to suck. You're not exactly the next Facebook, but you're big enough, and it costs real money when your site goes down in the middle of the night.

Table of contents
Preface
How this book came to be
How this book is designed
Who should read this book?
What you need for this book
What you'll learn
Why you need this book
Rule Numero Uno
Ditching the LAMP Stack
What's wrong with LAMP?
The Scalable Stack
DNS: Why you need to care
DNS Load Distribution
DNS Resolution
Load Balancing with HAProxy
HAProxy
Choosing the best hardware
Automatic failover with keepalived
Tuning linux for a network heavy load
Issues at scale
App Server: Horizontal Scaling with Nginx and PHP-FPM
Choosing the right version of PHP
Nginx and PHP-FPM
Choosing the best hardware for your application server
Using a PHP Opcode cache
Tuning Linux for PHP
Scaling session handling
Database Server: Ultimate MySQL Tuning Guide
Getting NoSQL Performance out of MySQL
Dealing with libmysql's inability to set timeouts
Tuning your MySQL Configuration
Tuning Linux for an intensive database
Load balancing MySQL Slaves
Accepting the Master as a SPOF
Understanding issues with NUMA
Choosing the best hardware
Online Schema Changes
Further Topics
Cache Server: Using Redis
Choosing between Redis, Memcached, and APC
Redis Commands
The importance of Atomic Operations
Performance Limitations of Redis
Installing Redis from Dotdeb
Installing the phpredis C extension
Tuning Redis for Performance
Scaling Redis to Multiple Servers
"The Dogpile"
Russian Doll Caching
Redis Bitmaps
Redis Notification Feeds
Worker Server: Asynchronous Resque Workers
Why use Queues?
Getting started with Resque and php-resque
Writing a Resque Job
Alternatives to Resque
Things you should put in a queue
Coding and Debugging at Scale
Scaling your code
Capistrano for code deployment
Live Debugging PHP with strace
Parting Advice
Want to upgrade?
Sending Feedback and Testimonials
In too deep? Need help ASAP?
Updates?
About the Author
Case Study: Horizontally scaling user uploads
Case Study: How DNS took down Twitpic down for 4 hours
Case Study: Scaling MySQL Vertically (10 to 3 MySQL Servers w / SSDs)
Case Study: Hot MySQL Backups w / Percona
Moving from mysqldump to Percona XtraBackup
Case Study: Async APIs w / Kestrel saved my butt
Case Study: The missing guide to Memcached
Choosing Memcached over Redis?
Installing Memcached
Hooking up PHP to Memcached
Protocols
Compression and Serialization
Server Pools
Atomic Counters
Avoiding the Rat Race: CAS Tokens
Watch out for timeouts
Using Memcached for Sessions
Debugging Memcached from Telnet
My Memcached Setup
Further Reading and Tools
Case Study: HTTP Caching and the Nginx Fastcgi Cache
Caching Static Assets
Caching Proxy
Case Study: CakePHP Framework Caching
CakePHP, you devilish dessert
The life and death of a CakePHP request
If it smells like a race condition ...
Busting the assumptions
Now what? I'm out of ideas
The solution (s)
Case Study: Optimizing image handling in PHP
The naive "PHP Tutorial" way
ImageMagick vs GraphicsMagick
Allowing Large File Uploads
Stripping EXIF Metadata
Autorotation
Case Study: Benchmarking and Load Testing Web Services
Setting up a Test Environment
The famous ab (Apache Benchmark)
Siege, a more modern ab
Bees with machine guns
Sysbench
Sponsors

Sharing Widget


Download torrent
16.32 MB
seeders:9
leechers:4
Steve Corona - Scaling PHP Apps - 2015 (+Code)