Rediska

Follow me on twitter…

Zend_Queue adapter

Redis lists are useful for implementing queues.

Rediska provides adapter for Zend_Queue:

<?php

$options = array(
    'adapterNamespace' => 'Rediska_Zend_Queue_Adapter',
    // driverOptions - Rediska instance name, Rediska object or Rediska options for new instance. Default instance if not specified.
    'driverOptions' => array(
        'namespace' => 'Application_'
    )
);

$queue = new Zend_Queue('Redis', $options);

?>

Comments

Fork me on GitHub