Skip to content

Latest commit

 

History

History
86 lines (47 loc) · 2.72 KB

README.md

File metadata and controls

86 lines (47 loc) · 2.72 KB

Reifier

reify

/ˈriːɪˌfaɪ/

(transitive) to consider or make (an abstract idea or concept) real or concrete

Reifier is a threaded and pre forked rack app server written in pure ruby.

Gem Version Build Status Code Climate Test Coverage Inline docs Dependency Status

Is it any good?

Yes, no really just a fun project use it in production if you want :P

Y u no benchmark?!

Benchmarking a non feature complete HTTP server is very reasonable but here it is: benchmarky marky

Installation

Add this line to your application's Gemfile:

gem 'reifier'

And then execute:

$ bundle

Or install it yourself as:

$ gem install reifier

Usage

Use it through rackup:

$ rackup -s reifier

Or with rails:

$ rails s reifier

Available Options

You can adapt the ThreadPool size with following options:

$ rackup -s reifier -O MinThreads=8 -O MaxThreads=16

Also the amount of workers is adaptable:

$ rackup -s reifier -O Workers=5

Config File

You can also use a config file for these and more settings.

When you are using rails s reifier tries to load the file from Rails.root/config/reifier.rb

When you are using any other rack app it tries to load the file from Dir.pwd/config/reifier.rb

See the example config

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tak1n/reifier.

License

The gem is available as open source under the terms of the MIT License.