0.2.2 • Published 10 years ago

gearsloth v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Introduction

Gearsloth is a system that enables delayed tasks and persistent storage schemes in Gearman queue server. It consists of a small javascript helper library and a daemon that functions as both a gearman worker listening to delayed tasks and a client submitting those tasks at a specified time. The gearslothd daemon supports a database backend architecture which abstracts persisting delayed tasks to a database.

Quick start

  1. Read about the basic structure of gearsloth
  2. Configure your gearsloth or just start it in all modes with ./bin/gearslothd
  3. Learn how to submit delayed tasks(Doc/Injector API.md) to gearsloth

Running tests

$ npm test

Running example worker/client

$ make log-delayed

Running sqlite adapter example

$ node ./examples/sqlite-adapter-example.js

or use make targets test or unit-test.

Running tests in virtualized environment

$ vagrant up
$ vagrant ssh

sloth:~$ cd gearsloth
sloth:~/gearsloth$ make test

Links

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago