• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 14 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cloudist is a simple, highly scalable job queue for Ruby applications

This was an experiment, it's no longer maintained. Go learn Elixir/Phoenix :)


Cloudist

Cloudist is a simple, highly scalable job queue for Ruby applications, it can run within Rails, DaemonKit or your own custom application. Cloudist uses AMQP (RabbitMQ mainly) for transport and provides a simple DSL for queuing jobs and receiving responses including logs, exceptions and job progress.

Cloudist can be used to distribute long running tasks such as encoding a video, generating PDFs, scraping site data or even just sending emails. Unlike other job queues (DelayedJob etc) Cloudist does not load your entire Rails stack into memory for every worker, and it is not designed to, instead it expects all the data your worker requires to complete a job to be sent in the initial job request. This means your workers stay slim and can scale very quickly and even run on EC2 micros outside your applications environment without any further configuration.

Installation

gem install cloudist

Or if your app has a Gemfile:

gem 'cloudist', '~> 0.4.4'

Usage

Refer to examples.

Configuration

The only configuration required to get going are the AMQP settings, these can be set in two ways:

  1. Using the AMQP_URL environment variable with value of amqp://username:password@localhost:5672/vhost

  2. Updating the settings hash manually:

Cloudist.settings = {:user => 'guest', :pass => 'password', :vhost => '/', :host => 'localhost', :port => 5672}

Now and what's coming

Cloudist was developed to provide the messaging layer used within TestPilot Continuous Integration service.

TestPilot still uses Cloudist heavily and a number of features will be merged in soon.

Acknowledgements

Portions of this gem are based on code from the following projects:

  • Heroku's Droid gem
  • Lizzy
  • Minion

Contributing to Cloudist

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch e.g. git checkout -b feature-my-awesome-idea or bugfix-this-does-not-work
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Authors

IvanVanderbyl - Blog

Copyright

Copyright (c) 2011 Ivan Vanderbyl.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

ui-progress-bar

Pure CSS Progress Bar
JavaScript
346
star
2

maximum-plaid

Template driven data visualisation for Ember
JavaScript
74
star
3

ember-d3

Loads the latest D3 packages into Ember CLI so you can use them in your app
JavaScript
68
star
4

ember-hackernews-pwa

An Ember implementation of the HackerNews client as a Progressive Web App
JavaScript
62
star
5

ember-computed-style

Computed style property for your components
JavaScript
41
star
6

ember-cli-d3-shape

This addon provides a version of D3 based on the new v4 code branches at github.com/d3.
JavaScript
41
star
7

tensorflow-keras-docker

Tensorflow + Keras as a Docker container for local experiments
18
star
8

babushka-deps

Babushka deps for installing chef server
Ruby
15
star
9

contacts

Ember.js Contacts List example implementing the new routing pattern with a Rails API backend
Ruby
14
star
10

ember-cli-critical

Ember CLI addon which wraps Critical, to extract & inline critical-path (above-the-fold) CSS from HTML
JavaScript
11
star
11

watchdog

Watchdog is a modern rethinking of a process manager
Go
10
star
12

frontend

A Rails 3.1 engine which provides Javascript libraries and CSS frameworks for rapidly prototyping advanced frontends
Ruby
8
star
13

facebox_prototype

Facebox (for PrototypeJS), a port of the JQuery version.
JavaScript
7
star
14

capushka

Combines Babushka with Capistrano to create awesome.
Ruby
7
star
15

realtime-adapter

Ember Data WebSocket Adapter
JavaScript
7
star
16

ember-spin-button

A button with an animated spinner as an Ember CLI addon
CSS
7
star
17

mysql-replication-setup-guide

My notes on setting up a slave mysql server for use with Ruby on Rails
7
star
18

ember-bugsnag

Integrates Bugsnag.js with your Ember CLI application
JavaScript
6
star
19

skyscraper

Simple DSL for scraping content from external websites into your database
Ruby
6
star
20

ember-uuid

Ember UUID addon
JavaScript
5
star
21

activerecord-postgres-uuid

Adds support for PostgreSQL 128 bit UUID column type to ActiveRecord
Ruby
5
star
22

styleguide

Ivan's Ruby style guide
5
star
23

ember-measure

Provides an easy to use mixin for measuring DOM elements within Ember Components
JavaScript
5
star
24

buildkite-agent-coreos

Docker image for running Buildkite workers on CoreOS
Shell
4
star
25

flood-simple-form

Ember buffered form builder using Data Down, Action Up paradigm
JavaScript
3
star
26

forklift

Unicorn for background processing
Ruby
3
star
27

mushroom

Super simple notification service for dispatching and responding to events within your application using a fanout exchange
Ruby
3
star
28

mnemonic_word_list

A collection of 1633 mnemonic words for generating random strings
Ruby
2
star
29

dj

Plays your DJJJours
JavaScript
2
star
30

ArduinoProjects

My Arduino Hacking
C++
2
star
31

ember-code-block

Simple, effective, and customizable code highlighting for Ember
JavaScript
2
star
32

payload

Go
1
star
33

agentic

A minimalist Go implementation of Microsoft's GraphRAG
Go
1
star
34

flight-aware-api

NodeJS & Browser API for FlightAware
TypeScript
1
star
35

ember-payment-form

JavaScript
1
star
36

smith

Smith provides helpers for building AI assisted agents
Go
1
star
37

maximum-plaid-gallery

Demonstrations of Maximum Plaid
JavaScript
1
star
38

dot-files

My dot files
1
star
39

cloud_layer

Cloud Layer
1
star
40

trigger

A software interface to a hardware motion sensor and camera
1
star
41

air_lift

AirLift extracts information from repos
Ruby
1
star
42

nord-theme

Nord theme for Ghost blogging platform
CSS
1
star
43

netbank-scraper

Simple scraper to download CSVs of each account
TypeScript
1
star
44

flood-simple-form-power-select

Ember Power Select input for flood-simple-form
JavaScript
1
star