News Feed
Sections




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

Systems Architect:
Distributed application in PHP with Apache Zookeeper
April 03, 2013 @ 10:24:29

On his Systems Architect site Lukasz Kujawa has posted an introduction to Apache Zookeeper and how to use it in your PHP applications. Zookeeper is "a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services."

Apache ZooKeeper is the coolest technology I recently came across. I found it when I was doing a research about Solr Cloud features. [...] Running multiple application as one logical program is nothing new. In fact creating such a software was one of my first jobs many years ago. This type of architecture is confusing and very tricky to work with. Apache ZooKeeper tries to provide a generic set of tools to manage such a software.

He shows you how to get the PHP extension for Zookepper (along with needed libraries) compiled and installed in your server setup. He includes a sample class that shows you how to connect to the Zookepper server and add a "watcher" your PHP script will respond to when changes happen. The post also has a "Watcher" class example, showing how to use Zookeeper as part of a distributed application. There's some links at the bottom of the post that can also help you get more details on Zookeeper and the PHP interface.

0 comments voice your opinion now!
distributed application apache zookeeper tutorial extension

Link: http://systemsarchitect.net/distributed-application-in-php-with-apache-zookeeper/

blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso: Scaling Silex applications (part II). Using RouteCollection

/Dev/Hell Podcast: Episode 4: The Cool Kids Club

Michaelangelo van Dam' Blog: Configuring Zend Framework apps for Windows Azure

Tim Bromhead's Blog: Super friendly URLs - handling spaces with URL Rewrites and PHP

Anson Cheung's Blog: Optimize Web Site Performance by using YSlow


Community Events





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


security series release version language artisanfiles list community library composer interview opinion tool laravel framework symfony introduction podcast voicesoftheelephpant conference

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