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.
Yes, no really just a fun project use it in production if you want :P
Benchmarking a non feature complete HTTP server is very reasonable but here it is: benchmarky marky
Add this line to your application's Gemfile:
gem 'reifier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install reifier
Use it through rackup:
$ rackup -s reifier
Or with rails:
$ rails s reifier
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
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
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.
Bug reports and pull requests are welcome on GitHub at https://github.com/tak1n/reifier.
The gem is available as open source under the terms of the MIT License.