Sha256: 37cea3c4f268256ee981fb26de7795ac64966bd242d3ebec40a6550d1af0fb1f

Contents?: true

Size: 1.06 KB

Versions: 77

Compression:

Stored size: 1.06 KB

Contents

# Stud.

Ruby's stdlib is missing many things I use to solve most of my software
problems. Things like like retrying on a failure, supervising workers, resource
pools, etc.

In general, I started exploring solutions to these things in code over in my
[software-patterns](https://github.com/jordansissel/software-patterns) repo.
This library (stud) aims to be a well-tested, production-quality implementation
of the patterns described in that repo.

For now, these all exist in a single repo because, so far, implementations of
each 'pattern' are quite small by code size.

## Features

* {Stud::Try} (and {Stud.try}) - retry on failure, with back-off, where failure is any exception.
* {Stud::Pool} - generic resource pools
* {Stud::Task} - tasks (threads that can return values, exceptions, etc)
* {Stud.interval} - interval execution (do X every N seconds)
* {Stud::Buffer} - batch & flush behavior.

## TODO:

* Make sure all things are documented. rubydoc.info should be able to clearly
  show folks how to use features of this library.
* Add tests to cover all supported features.

Version data entries

77 entries across 73 versions & 18 rubygems

Version Path
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.13 vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.12 vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.11.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md
logstash-output-scalyr-0.1.10.beta vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/README.md