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

DevShed: Developing an Extensible Template Processor in PHP 5 (Part 1)

DevShed: Sanitizing Strings with Filters in PHP 5

PHPClasses.org Blog: Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2

Mike Kornienko's Blog: Integration of Spry and PHP/MySQL

SitePoint PHP Blog: Introduction to Gearman - Multitasking in PHP


Community Events





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


introduction unittest series api wordpress laravel application library code threedevsandamaybe install release bugfix podcast interview configure community developer list language

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