News Feed
Sections




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

Zend Developer Zone:
Scalability and Responsiveness with Zend Platform's Job Queue
June 21, 2007 @ 11:24:00

On the Zend Developer Zone today, there's a new article by Dotan Perry and Shie Erlich talking about what kind of scalability and responsiveness that the Zend Platform's Job Queue functionality has to offer.

The Zend Platform Job Queue is used to make applications more responsive by allowing tasks to be performed on other machines (e.g.: dedicated machine), and scheduling tasks to a future time (usually to low-traffic hours). [...] Job Queue offers both a web-based management UI, and a programmer-oriented rich API, which allows embedding sophisticated logic into applications. This article will demonstrate basic usage of Job Queue, through an imaginary company wesellalot.com.

They start by presenting a scenario where a simple cluster of machines behind a load balancer all work with the same database. Because of some of the tasks they want to perform, things could get overloaded very easily under a high load. Enter the Job Queue and their four step process to integrate it into this setup:

  • Step 1: Off Load to a Dedicated Server
  • Step 2: Scheduling to low-traffic hours
  • Step 3: Breaking down tasks using dependencies
  • Step 4: A recurring cleanup job

They also include an explanation as to why this method is preferable over just using croned scripts for the same purpose.

0 comments voice your opinion now!
zendplatform jobqueue tutorial scenario steps zendplatform jobqueue tutorial scenario steps


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Simple Object Iterators in PHP

The Bakery: 13 New Tutorials and Articles Posted

Zend Developer Zone: OSCON '07 Wrapup

Chris Shiflett's Blog: PHP Tidbits

NETTUTS.com: Building a jQuery-Powered Tag-Cloud


Community Events

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


version framework threedevsandamaybe library api symfony interview opinion community voicesoftheelephpant introduction language laravel release unittest security extension podcast series laravel5

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