dfox/kohana-gearman

This package is abandoned and no longer maintained. No replacement package was suggested.

Implementation of Gearman Client & Worker, uses PECL Gearman

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 8

Type:kohana-module

dev-master 2013-12-20 20:34 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:29:24 UTC


README

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.