News Feed
Sections




News Archive
feed this:

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

PHPBuilder.com:
Clustered File Systems and PHP
November 21, 2013 @ 10:22:38

On PHPBuilder.com today they continue their series looking at working with clustered file systems and PHP with this new post, the second part in the series (part one is here).

In part one, Introduction to Clustering in PHP, we explored the concepts of load balancing, PHP sessions, and how to set up a rudimentary PHP cluster that allows for redundancy as well as load balancing. The final configuration was one load balancer exposing an NFS share for all of the client PHP servers to use for session storage. While effective, this still gives us a single point of failure (the load balancer). More load balancers can be added, but sits us squarely back on our original problem: All of the sessions are on the first load balancer, not the second.

They talk about the GlusterFS networkable file system and talk about its concepts of "drives" and "bricks". The rest of the post is centered around helping you get GlusterFS servers set up and a brief mention of pointing your PHP session storage to the resulting setup.

0 comments voice your opinion now!
cluster filesystem session glusterfs install configure

Link: http://www.phpbuilder.com/articles/application-architecture/optimization/clustered-file-systems-and-php.html

Johannes Schlüter's Blog:
High Performance PHP Session Storage on Scale
November 18, 2011 @ 10:13:25

In this new post to his blog, Johannes Schlüter looks at a high-performance solution to the usual storing PHP session information via a memcache frontend with a MySQL Cluster backend.

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 MySQL documentation states.

He describes the setup (after pointing to this post about installing MySQL Cluster for memcache) and includes some sample code/SQL/ini settings you'll need to use to get PHP's memcached functionality to cooperate with it.

0 comments voice your opinion now!
performance session storage mysql cluster memcache frontend backend


VoidWeb.com:
PHP Clustering using Apache httpd mod_proxy
October 22, 2010 @ 09:23:52

New on VoidWeb.com there's a post looking at clustering PHP applications with the help of the mod_proxy component that can be added into the Apache web server.

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.

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.

0 comments voice your opinion now!
cluster modproxy apache tutorial


Kevin Schroeder's Blog:
Zend Server Cluster Manager
June 30, 2010 @ 09:19:08

In a new post to his blog Kevin Schroeder takes a look at how Zend Server and Zend Server Cluster Manager can fit together to help make maintaining your multiple-machine web server cluster simpler.

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.

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. Kevin 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.

0 comments voice your opinion now!
zendserver cluster manager zend


Christopher Jones' Blog:
PHP Connection Pooling Whitepaper with Benchmark Available
April 25, 2008 @ 10:23:47

Christopher Jones has pointed out a new whitepaper that's been published by oracle about the scalability the connection pooling affords for current versions of PHP.

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.

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 from its page on the PECL site.

1 comment voice your opinion now!
connection pooling whitepaper benchmark rac cluster oracle



Community Events





Don't see your event here?
Let us know!


introduction interview framework application library security voicesoftheelephpant tool package community series release laravel composer update opinion podcast version symfony language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework