Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edamame

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edamame

  • 0.3.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

h1. Beanstalk + Tokyo Tyrant = Edamame, a fast persistent distributed priority job queue

"Edamame":http://bit.ly/edamame combines the "Beanstalk priority queue":http://bit.ly/beanstalkd with a "Tokyo Tyrant database"::http://bit.ly/ttyrant and "God monitoring":http://bit.ly/godmonitor to produce a persistent distributed priority job queue system.

  • fast, scalable, lightweight and distributed
  • persistent and recoverable
  • scalable up to your memory limits
  • queryable and enumerable jobs
  • named jobs
  • reasonably-good availability.

Like beanstalk, it is a job queue, not just a message queue:

  • priority job scheduling, not just FIFO
  • Supports multiple queues ('tubes')
  • reliable scheduling: jobs that time out are re-assigned

It includes a few nifty toys:

  • Scripts for "God":http://bit.ly/godmonitor to monitor and restart the daemons
  • Command-line management scripts to load. enumerate, empty, and show stats for the db+queue
  • The start of a lightweight web frontend in Sinatra.

h2. Documentation

The bulk of the documentation is at "http://mrflip.github.com/edamame":http://mrflip.github.com/edamame Go there instead.

h2. Help!

Send Edamame questions to the "Infinite Monkeywrench mailing list":http://groups.google.com/group/infochimps-code

h2. Requirements and Installation

h2. Install

** "Main Install and Setup Documentation":http://mrflip.github.com/edamame/INSTALL.html **

h3. Get the code

We're still actively developing edamame. The newest version is available via "Git":http://git-scm.com on "github:":http://github.com/mrflip/edamame

pre. $ git clone git://github.com/mrflip/edamame

A gem is available from "gemcutter:":http://gemcutter.org/gems/edamame

pre. $ sudo gem install edamame --source=http://gemcutter.org

(don't use the gems.github.com version -- it's way out of date.)

You can instead download this project in either "zip":http://github.com/mrflip/edamame/zipball/master or "tar":http://github.com/mrflip/edamame/tarball/master formats.

h3. Get the Dependencies

To finish setting up, see the "detailed setup instructions":http://mrflip.github.com/edamame/INSTALL.html and then read the "usage notes":http://mrflip.github.com/edamame/usage.html

See the "Detailed install instructions":http://mrflip.github.com/edamame/INSTALL.html (it also has hints about installing Tokyo*, Beanstalkd and friends.

h2. Endnotes

h3. Caveats

Weaknesses? Mainly that it will make an Erlang'er cry for its lack of concurrency correctness. Its goal is to work pretty well and to recover gracefully, but its design limits .

  • We store jobs in two places: the central DB and the distributed queue.
  • As always, your jobs must either be idempotent, or harmless if re-run: a job could start and do some or all of its job -- but lose contact with the queue, causing the job to be re-run. This is inherent in beanstalkd (and most comparable solutions), not just edamame.
  • Although God will watch the daemons, it won't repopulate the queue or restart a worker that fails.

h3. TODOs

  • Restarting is still manual: you have to run @bin/edamame-sync@ to reload the queue from the database
  • The sinatra queue viewer doesn't work at the moment.

h3. Links

There's a fuller set of docs at "http://mrflip.github.com/edamame":http://mrflip.github.com/edamame


h2. More info

h3. Credits

Edamame was written by "Philip (flip) Kromer":http://mrflip.com (flip@infochimps.org / "@mrflip":http://twitter.com/mrflip) for the "infochimps project":http://infochimps.org

h3. Help!

Send wuclan questions to the "Infinite Monkeywrench mailing list":http://groups.google.com/group/infochimps-code

FAQs

Package last updated on 16 Aug 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc