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

Internet.com: Plotting Map Markers Dynamically Using the Google Maps API, jQuery, PHP, and MySQL

Tobias Schlitt\'s Blog: The eZ components tutorial online

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP

Master Zend Framework: Creating Custom ZFTool Diagnostic Classes

Ben Ramsey's Blog: Installing the Eclipse PHP IDE


Community Events





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


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

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