<?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>Sat, 25 May 2013 04:57:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Johannes Schl&uuml;ter's Blog: High Performance PHP Session Storage on Scale]]></title>
      <guid>http://www.phpdeveloper.org/news/17147</guid>
      <link>http://www.phpdeveloper.org/news/17147</link>
      <description><![CDATA[<p>
In <a href="http://schlueters.de/blog/archives/164-High-Performance-PHP-Session-Storage-on-Scale.html">this new post</a> to his blog, <i>Johannes Schl&uuml;ter</i> looks at a high-performance solution to the usual storing PHP session information via a memcache frontend with a MySQL Cluster backend.
</p>
<blockquote>
Unfortunately even such a system [using MySQL and InnoDB tables] has limits and unfortunately replication is no good solution here to scale further as we will always need a master for writing the updated session data. By using replication we can take some load from it and we can configure a slave which can be promoted to master to keep session alive if the primary master machine fails but at some point in time we need another solution ... but, happy news, again: One doesn't have to look far as MySQL cluster will be happy to help. MySQL Cluster "is a high-availability, high-redundancy version of MySQL adapted for the distributed computing environment," as the <a href="http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster.html">MySQL documentation states</a>. 
</blockquote>
<p>
He describes the setup (after pointing to <a href="http://www.clusterdb.com/mysql-cluster/scalabale-persistent-ha-nosql-memcache-storage-using-mysql-cluster/">this post</a> about installing MySQL Cluster for memcache) and includes some sample code/SQL/ini settings you'll need to use to get PHP's <a href="http://us.php.net/manual/en/class.memcached.php">memcached</a> functionality to cooperate with it.
</p>
]]></description>
      <pubDate>Fri, 18 Nov 2011 10:13:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[VoidWeb.com: PHP Clustering using Apache httpd mod_proxy]]></title>
      <guid>http://www.phpdeveloper.org/news/15322</guid>
      <link>http://www.phpdeveloper.org/news/15322</link>
      <description><![CDATA[<p>
New on VoidWeb.com there's a post looking at <a href="http://voidweb.com/2010/10/php-clustering-using-apache-httpd-mod-proxy">clustering PHP applications</a> with the help of the <a href="http://httpd.apache.org/docs/2.0/mod/mod_proxy.html">mod_proxy</a> component that can be added into the Apache web server.
</p>
<blockquote>
Often for my clients, I have to prepare the deployment strategy for their LAMP based web applications. Some of them are small to medium businesses and are starting up so a single server setup  work out for them. But there are few large web applications too which are growing continuously in terms of users and demands scaling either horizontally or vertically.
</blockquote>
<p>
They give a brief overview of what vertical and horizontal scaling are as well as a simple layout of a basic PHP-based cluster. They list some of the requirements for this simple cluster and how it should all work (in theory) and start in on how to set it all up (practically). In the end you'll have a light proxy setup that will rotate around between the servers but do it transparently from node to node.
</p>]]></description>
      <pubDate>Fri, 22 Oct 2010 09:23:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Zend Server Cluster Manager]]></title>
      <guid>http://www.phpdeveloper.org/news/14725</guid>
      <link>http://www.phpdeveloper.org/news/14725</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Kevin Schroeder</i> takes a look at how Zend Server and Zend Server Cluster Manager can <a href="http://www.eschrade.com/page/zend-server-cluster-manager-4c2a2f38">fit together</a> to help make maintaining your multiple-machine web server cluster simpler.
</p>
<blockquote>
PHP is designed using a shared-nothing architecture. [...] That's great!  It makes for a very stable, very easy to use architecture.  But what happens when you go beyond one server? [...] Managing a hundred servers is quite different from managing one.  Heck, managing three servers is different from managing one.
</blockquote>
<p>
Zend Server gives you all sorts of tools to help manage and monitor the server it runs on, but when you start clustering these servers, the maintenance can be a huge headache. The Cluster Manager comes in and helps with centralized configuration, monitoring, sessions clustering and more. <i>Kevin</i> briefly talks about setting it up (a call to yum install the package) and a few steps through a browser-based GUI interface to get the ball rolling. He's also included a screencast to show each step of the way.
</p>]]></description>
      <pubDate>Wed, 30 Jun 2010 09:19:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: PHP Connection Pooling Whitepaper with Benchmark Available]]></title>
      <guid>http://www.phpdeveloper.org/news/10041</guid>
      <link>http://www.phpdeveloper.org/news/10041</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> has <a href="http://blogs.oracle.com/opal/2008/04/24#a302">pointed out</a> a <a href="http://www.oracle.com/technology/tech/php/pdf/php-scalability-ha-twp.pdf">new whitepaper</a> that's been published by oracle about the scalability the connection pooling affords for current versions of PHP.
</p>
<blockquote>
The whitepaper talks about the changes in the PHP OCI8 1.3 extension, explains some of the concepts behind DRCP and FAN, and gives best practices and tuning tips. It includes a new PHP benchmark which shows up to 20,000 connections being handled by Oracle on commodity hardware using only 2G RAM.
</blockquote>
<p>
The paper also talks about the FAN support that's built in - the ability for PHP to use the Oracle RAC cluster functionality to make for high availability (switching between nodes). The latest beta with all of this functionality in it can be grabbed <a href="http://pecl.php.net/package/oci8/">from its page</a> on the PECL site.
</p>]]></description>
      <pubDate>Fri, 25 Apr 2008 10:23:47 -0500</pubDate>
    </item>
  </channel>
</rss>
