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

DigitalOcean Community Blog:
Horizontally Scaling PHP Applications: A Practical Overview
Apr 24, 2015 @ 18:06:49

On the Digital Ocean blog there's a new post with a "practical overview" of how to effectively scale PHP applications, specifically as it relates to horizontal scaling not vertical.

Shipping a website or application to production has its own challenges, but when it gets the right traction, it’s a great accomplishment. It always feels good to see the visitor numbers going up, doesn’t it? Except, of course, when your traffic increases so much that it crashes your little LAMP stack. [...] But fear not! There are ways to make your PHP application much more reliable and consistent. If the term scalability crossed your mind, you've got the right idea.

The article starts with a brief overview of what scalability is and the main difference between horizontal and vertical scaling (scaling out vs scaling up). They then get into a bit more detail about what horizontal scaling is and how it commonly works in relation to the average PHP application (complete with diagrams). They also talk about some things you can do inside your code to help make things flow a bit more smoothly including decoupling between services and user session/file consistency measures. There's also a bit at the end about load balancing but as that depends a good bit on what technology you're using and the actual load, they just provide an overview and some links to other articles and tutorials with more information.

tagged: scaling application horizontal vertical decouple consistency loadbalance

Link: https://www.digitalocean.com/company/blog/horizontally-scaling-php-applications/

Zend Developer Zone:
ZendCon Sessions Ep. 29: PHP – Faster & Cheaper. Scale Vertically with IBM i
Dec 31, 2009 @ 16:32:21

New on the Zend Developer Zone there's the latest episode of the ZendCon Sessions (as recorded at ZendCon 2009). This episode is a talk Sam Hennessey gave on scaling vertically with IBM i.

Welcome to the ZendCon 2009 edition of the ZendCon Sessions. The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. [...] This episode of The ZendCon Sessions was recorded live at ZendCon 2009 in San Jose, CA and features Sam Hennessey giving his talk: "PHP – Faster And Cheaper. Scale Vertically with IBM i"

There's three ways to catch this latest episode - you can either listen via the in-page player, download the mp3 directly or subscribe to the ZendCon Sessions feed and get the latest episodes automatically. Be sure to check out the slides too!

tagged: zendcon09 podcast ibmi scale vertical

Link:

Marco Tabini's Blog:
5 PHP Performance Tips You Probably Don't Want To Hear
Dec 12, 2006 @ 19:07:38

In a new entry on his blog today, Marco Tabini introduces us to 5 PHP Performance Tips that we "probably don't want to hear".

I thought it might be interesting to write an article about the performance-enhancing tips you probably don't want to hear about - that is, those that are most likely to produce measurable (and durable) results but do require some effort on your part.

His list consists of:

  • You Don't Need To Plan Ahead In Order To Have A Plan
  • Combat Database Abuse
  • Do You Really Need A Database Anyway?
  • Scale Horizontally
  • Refactor To Scale Vertically
For each, he explains the title and gives a bit of validation to the point. There's some great mentions of tools that you can use to help accomplish them too - a profiler, the Lucene and Xapian full-text databases, and Lustre.

tagged: performance tip plan database abuse scale horizontal vertical performance tip plan database abuse scale horizontal vertical

Link:

Marco Tabini's Blog:
5 PHP Performance Tips You Probably Don't Want To Hear
Dec 12, 2006 @ 19:07:38

In a new entry on his blog today, Marco Tabini introduces us to 5 PHP Performance Tips that we "probably don't want to hear".

I thought it might be interesting to write an article about the performance-enhancing tips you probably don't want to hear about - that is, those that are most likely to produce measurable (and durable) results but do require some effort on your part.

His list consists of:

  • You Don't Need To Plan Ahead In Order To Have A Plan
  • Combat Database Abuse
  • Do You Really Need A Database Anyway?
  • Scale Horizontally
  • Refactor To Scale Vertically
For each, he explains the title and gives a bit of validation to the point. There's some great mentions of tools that you can use to help accomplish them too - a profiler, the Lucene and Xapian full-text databases, and Lustre.

tagged: performance tip plan database abuse scale horizontal vertical performance tip plan database abuse scale horizontal vertical

Link:


Trending Topics: