News Feed
Sections




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

Chris Jones:
Offline Processing in PHP with Advanced Queuing
May 17, 2013 @ 09:49:26

Chris Jones has a new post today showing you how to use Oracle and PHP together to process data offline via the Oracle Streams Advanced Queuing feature.

Offloading slow batch tasks to an external process is a common method of improving website responsiveness. One great way to initiate such background tasks in PHP is to use Oracle Streams Advanced Queuing in a producer-consumer message passing fashion. [...] The following example simulates an application user registration system where the PHP application queues each new user's street address. An external system monitoring the queue can then fetch and process that address. In real life the external system might initiate a snail-mail welcome letter, or do further, slower automated validation on the address.

He includes the SQL needed to create the database and configure the queue system as well as start it up and get it ready for requests. He shows how to push an address into the queue for processing and how to get the results once it has completed in both the SQL and from the oci_* functions in PHP.

0 comments voice your opinion now!
oracle tutorial advanced queue offline processing

Link: https://blogs.oracle.com/opal/entry/offline_processing_in_php_with

blog comments powered by Disqus

Similar Posts

Christopher Jones' Blog: In Beijing? Come to out PHP Install Fest on 3rd Feb.

Wb Developer Juice: 10 baby steps to install Memcached Server and access it with PHP

PHPMaster.com: An Introduction to Ctype Functions

Oracle Technology Network: Installing PHP 5.2 for Oracle on Mac OS X 10.5 (Leopard)

The Bakery: New Updates - Helpers, Tutorial and Articles


Community Events





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


refactor code threedevsandamaybe list framework symfony2 opinion introduction experience laravel interview series release community podcast testing unittest language install developer

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