paulschwarz / kohana-gearman

Gearman module for Kohana 3.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kohana 3.x Gearman Client & Worker

Implementation of Gearman Client & Worker, uses PECL Gearman

Requirements

  • PHP 5.4+
  • Kohana 3.x
  • Gearman (Tested with v1.1.8 on CentOS & Ubuntu)
  • PECL Gearman pecl install gearman
  • Optional: Kohana Minion module for running the Worker

TODO

  • Remove the need to add each Gearman task in the config file
  • Use a comma separated list of servers instead of an array in the config
  • Include Minion Worker Task
  • Unit tests
  • Allow the use of multiple Task methods (currently just the Task::work())
  • Automatically map each Task::doMethod in GearmanWorker::addFunction
  • Method to get/store task uniqid and retrieve status/response (Maybe use ORM?)
  • Document the setup and create a couple of working examples (inc. using Minion)

Contributors

Copyright/License

Copyright © Kiall Mac Innes et al.

Licensed under Kohana License.

About

Gearman module for Kohana 3.x


Languages

Language:PHP 100.0%