<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 22:02:06 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DPCRadio: Episode #2012-26: Thijs Feryn's "Scalability Issues: Cure First, Prevent Later"]]></title>
      <guid>http://www.phpdeveloper.org/news/19032</guid>
      <link>http://www.phpdeveloper.org/news/19032</link>
      <description><![CDATA[<p>
The DPC Radio site has posted their latest recoding from last year's <a href="http://phpconference.nl">Dutch PHP Conference</a> (2012) with <i>Thijs Feryn</i>'s talk <a href="http://blog.ibuildings.com/2013/01/14/dpcradioscalability-issues-cure-first-prevent-later/">Scalability Issues: Cure First, Prevent Later</a>.
</p>
<blockquote>
The "it works on my machine" mentality has resulted in numerous face palm moments. This is even more painful when a your app is under heavy load due to a marketing campaign. With some minimal code changes and some smart utilities, you can maximize your scalability and performance. Keywords: Varnish, PHP-FPM, Nginx, APC, CDN, Gearman, Memcached and a proper server setup. I'll show you how you can make a slow app with a crappy code base go mighty fast on one and even multiple servers. The focus of this talk is to cure first and eventually learn and prevent.
</blockquote>
<p>
You can listen to this latest episode either through the <a href="http://blog.ibuildings.com/2013/01/14/dpcradioscalability-issues-cure-first-prevent-later/">in-page player</a> or by <a href="http://dpcradio.s3.amazonaws.com/2012_026.mp3">downloading the full mp3</a>. You can also <a href="https://itunes.apple.com/nl/podcast/dpc-radio/id568825964">subscribe to their feed</a> to get the latest podcasts episodes as they're released.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2013 12:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hugh Williams' Blog: "PHP at Scale" panel discussion at the PHP UK Conference 2012]]></title>
      <guid>http://www.phpdeveloper.org/news/17593</guid>
      <link>http://www.phpdeveloper.org/news/17593</link>
      <description><![CDATA[<p>
<i>Hugh Williams</i> has a new post with his <a href="http://hughewilliams.com/2012/02/26/php-at-scale-panel-at-the-php-uk-conference-2012/">recap of the "PHP at Scale" panel</a> from this year's <a href="http://www.phpconference.co.uk/">PHP UK Conference</a>.
</p>
<blockquote>
The good news was that Rasmus and Nikolay couldn't see any reasons why PHP was particularly challenging. What we saw were general challenges in scaling applications to large traffic volumes - and that's pretty much where the panel discussion went. Here's a few key points from the discussion.
</blockquote>
<p>
Highlighted points included: removing bottlenecks to help performance (simple in theory, hard in practice), the fact that PHP should never be the bottleneck, the "odd direction" of <a href="http://developers.facebook.com/blog/post/358/">HipHop</a>, challenges/growing pains in moving from startup to a large web property. There was also a less technical discussion about "scaling teams" and finding the right (motivated) people to do the job.
</p>]]></description>
      <pubDate>Mon, 27 Feb 2012 14:05:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFog Blog: Scaling PHP Up, Out, and Around]]></title>
      <guid>http://www.phpdeveloper.org/news/16062</guid>
      <link>http://www.phpdeveloper.org/news/16062</link>
      <description><![CDATA[<p>
On the PHPFog blog there's <a href="http://blog.phpfog.com/2011/03/16/scaling-php-up-out-and-around/">a recent post</a> explaining their service in a bit more detail and how it provides the PHP applications out there with a huge amount of scalability that a traditional virtual server can't.
</p>
<blockquote>
PHP Fog is a new type of hosting provider for PHP applications developers to build applications the good old-fashioned way but with easy scaling, reliability, speed, and easy deployment/management compared to traditional shared/dedicated hosting.
</blockquote>
<p>
They look at a few situations where scalability can play a key role - traffic surge, growth leads to performance degradation and underutilized servers - and how the answers to these issues are best described as "scaling up", "scaling out" or scaling down", all things that more traditional hosting doesn't do well. Cloud-based platforms, like <a href="http://phpfog.com">PHPFog</a> (or <a href="http://orchestra.io">Orchestra</a>) can give you that high availability you need, so no matter the situation.
</p>]]></description>
      <pubDate>Thu, 17 Mar 2011 12:03:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[StackOverflow.com: Optimizing Kohana-based Websites for Speed and Scalability]]></title>
      <guid>http://www.phpdeveloper.org/news/15925</guid>
      <link>http://www.phpdeveloper.org/news/15925</link>
      <description><![CDATA[<p>
On StackOverflow a question was asked about how to tweak and tune the performance of a <a href="http://kohanaphp.com">Kohana</a>-powered website. The result was a <a href="http://stackoverflow.com/questions/1260134/optimizing-kohana-based-websites-for-speed-and-scalability/1283195#1283195">detailed answer</a> from <i>Pascal Martin</i> that can be applied to just about any kind of web application out there, not just ones written in PHP.
</p>
<blockquote>
Here are some points that come to my mind when talking about performances, scalability, PHP, ...First of all, there are many aspects/questions that are to consider : configuration of the server (both PHP, MySQL, and system) ; you might get more help about that on serverfault, I suppose, PHP code, database queries, using or not your webserver? Can you use any kind of caching mechanism ? Or do you need always more that up to date data on the website ?
</blockquote>
<p>
He goes on to give tips about using a reverse proxy (like <a href="http://varnish.projects.linpro.no/">Varnish</a>), using an opcode cache, caching data as well, profiling and optimizing SQL queries. He finishes it off with a more specific look at Kohana and how you can use some of its built in tools to accomplish these same goals.
</p>]]></description>
      <pubDate>Fri, 18 Feb 2011 08:39:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: Scaling Web Applications with HMVC]]></title>
      <guid>http://www.phpdeveloper.org/news/14069</guid>
      <link>http://www.phpdeveloper.org/news/14069</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal today there's a new post by <i>Sam de Freyssinet</i> about a slight modification to a well-known pattern (MVC) by adding some scalability - the <a href="http://techportal.ibuildings.com/2010/02/22/scaling-web-applications-with-hmvc/">Hierarchical-Model-View-Controller pattern</a>.
</p>
<blockquote>
It can also be very costly in time and resources to re-architect software that not scaled well. Ideally applications should grow organically as required and without large sums of money being exchanged in the process. [...] The Hierarchical-Model-View-Controller (HMVC) pattern is a direct extension to the MVC pattern that manages to solve many of the scalability issues already mentioned [in this post].
</blockquote>
<p>
He talks about the benefits of the HMVC style and how its multiple parts work together and how it promotes code reuse more than the traditional MVC pattern. Some sample code is included so you can get your hands dirty with more than just the concepts behind the pattern including a more real-world example, their service (Gazouillement) that works similarly to twitter.
</p>]]></description>
      <pubDate>Mon, 22 Feb 2010 12:59:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alison Holloway's Blog: Int'l PHP Magazine Article - The Oracle PHP Connection]]></title>
      <guid>http://www.phpdeveloper.org/news/7752</guid>
      <link>http://www.phpdeveloper.org/news/7752</link>
      <description><![CDATA[<p>
Those of you out there that work with PHP and Oracle might want to check out <a href="http://blogs.oracle.com/alison/2007/05/02#a45">the new article</a> that <i>Alison Halloway</i> mentions in her blog today - a reprint of a fellow Oracler - <i>Richard Rendell</i>'s article, <a href="http://www.oracle.com/technology/tech/php/pdf/php-oracle-connection-magazine-reprint.pdf">"The Oracle PHP Connection"</a> [pdf].
</p>
<blockquote>
In this article we take a look the connection methods used for PHP and Oracle database using the PHP OCI8 extension. Specifically we cover non-persistent and persistent connections while offering some suggestions for choosing the right approach. In addition we will cover some upcoming features in the next major release of the Oracle database to significantly improve scalability of PHP applications.
</blockquote>
<p>
He <a href="http://www.oracle.com/technology/tech/php/pdf/php-oracle-connection-magazine-reprint.pdf">talks about</a> [pdf] the types of Oracle->PHP connections, what the database name connection strings are (with examples) the environment variables for connections, closing the connections, a look at connection pooling, and an overview of using DRCP (Database Resident Connection Pooling) to accomplish it.
</p>]]></description>
      <pubDate>Wed, 02 May 2007 08:26:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeff Moore's Blog: Why is PHP Code Considered Hard to Maintain?]]></title>
      <guid>http://www.phpdeveloper.org/news/6680</guid>
      <link>http://www.phpdeveloper.org/news/6680</link>
      <description><![CDATA[<p>
In his <a href="http://www.procata.com/blog/archives/2006/11/09/why-is-php-code-considered-hard-to-maintain/">latest blog entry</a>, <i>Jeff Moore</i> tries to dispel a rumor about PHP code that's been floating around for years now - that it's considered hard to maintain.
</p>
<blockquote>
The technocrat, heavily invested in his own technical prowess, faced with successful yet technically inferior code experiences cognitive dissonance. The only thing to do is to belittle the successful, but surely offensive code. "I could write better code than this," he says, or "this code sucks," or "this is unmaintainable."
</blockquote>
<p>
Unfortunately, what <i>Jeff</i> says about many programmer's first introduction to PHP is right - that they download a popular application to check it out. This code is not always, shall we say, stellar. <i>Jeff</i> also <a href="http://www.procata.com/blog/archives/2006/11/09/why-is-php-code-considered-hard-to-maintain/">brings up the point</a> that the "PHP doesn't scale" myth goes hand in hand with this. After all, the larger the application, the larger the code, right? And the larger the code, the less maintainable it is, right?
</p>
<p>
Of course not - there are wonderful large PHP applications that are as easy to jump into and add/modify functionality to and keep up to date as there are small. PHP has one major thing going for it - it's simple nature lets developers keep things simple, and simple is good.
</p>]]></description>
      <pubDate>Fri, 10 Nov 2006 07:34:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[John Coggeshall's Blog: Top 30 Scalability Mistakes Slides]]></title>
      <guid>http://www.phpdeveloper.org/news/6471</guid>
      <link>http://www.phpdeveloper.org/news/6471</link>
      <description><![CDATA[<p>
<i>John Coggeshall</i> has <a href="http://blog.coggeshall.org/archives/214_Top_30_Scalability_Mistakes_Slides.html">linked to the download</a> of the slides from his latest (and very popular) conference talk - <a href="http://private.coggeshall.org/top30_zend.zip">Top 30 Scalability Mistakes</a>.
</p>
<blockquote>
For those of you who are interested, you can <a href="http://private.coggeshall.org/top30_zend.zip">download</a> my slide from the tutorial I gave at ApacheCon this year. This is a very popular talk that I've been giving all year -- and this is by far the most extensive version of the talk yet.
</blockquote>
<p>
The slides cover topics like system scalability, PHP scalability, database scalability, web server scalability, and using these tips to optimize your application.
</p>]]></description>
      <pubDate>Wed, 11 Oct 2006 07:06:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: PHP and Scalability (Again)]]></title>
      <guid>http://www.phpdeveloper.org/news/5149</guid>
      <link>http://www.phpdeveloper.org/news/5149</link>
      <description><![CDATA[<p>
On his blog today, <i>Chris Shiflett</i> an article mentioned in <a href="http://www.phpdeveloper.org/news/5145">this previous post</a> from the O'Reilly ONLamp.com site about PHP and scalability.
</p>
<quote>
<i>
There's an interesting <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">blog entry</a> on O'Reilly's web site discussing <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">Digg's PHP Scalability and Performance</a>. As part of his research, the author (Brian Fioca, a Java developer) interviewed Owen Byrne, cofounder and Senior Software Engineer at <a href="http://digg.com/">Digg</a>, and built his own PHP application, <a href="http://www.gojobby.com/">Jobby</a>.
</i>
</quote>
<p>
<i>Chris</i> also points out some of the interesting comments made in <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">the entry</a>, including mentions of Digg's stats and some great comments testifying to the light, powerful nature of PHP.
</p>]]></description>
      <pubDate>Tue, 11 Apr 2006 06:46:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly: Digg PHP's Scalability and Performance]]></title>
      <guid>http://www.phpdeveloper.org/news/5145</guid>
      <link>http://www.phpdeveloper.org/news/5145</link>
      <description><![CDATA[When someone talks about PHP and drags up the old "but it doesn't scale well" argument, drop them an email with <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html?CMP=OTC-6YE827253101&ATT=Digg+PHP+s+Scalability+and+Performance">this new article</a> from the O'Reilly ONLamp.com site that might change their minds. In it, they share some information they gathered (spurred on by <i>James Gosling</i>'s comments on PHP a bit back) on how one large site, <a href="http://www.digg.com">digg.com</a>, has dealt with their huge popularity and scaling their PHP-based system.
<p>
They focus mainly on the cost of scalability - whether that be in hardware costs or simply in manhours. He interviews <i>Owen Byrne</i>, Senior Software Engineer for digg.com about some of his decisions on how to handle the explosive growth. They look at what "performance" and "scalability" really are, and some of <i>Byrne</i>'s concerns on the matters as it pertains to PHP. They touch briefly on a few topics, including the hardware cost, the database cost, and the actual PHP coding cost of applications.
<p>
<quote>
<i>
It turns out that it really is fast and cheap to develop applications in PHP. Most scaling and performance challenges are almost always related to the data layer, and are common across all language platforms. Even as a self-proclaimed PHP evangelist, I was very startled to find out that all of the theories I was subscribing to were true. There is simply no truth to the idea that Java is better than scripting languages at writing scalable web applications. I won't go as far as to say that PHP is better than Java, because it is never that simple. However it just isn't true to say that PHP doesn't scale.
</i>
</quote>
<p>
Pass <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html?CMP=OTC-6YE827253101&ATT=Digg+PHP+s+Scalability+and+Performance">it on</a>...]]></description>
      <pubDate>Mon, 10 Apr 2006 15:09:28 -0500</pubDate>
    </item>
  </channel>
</rss>
