All Projects → nguyenquangminh0711 → ruby_wolf

nguyenquangminh0711 / ruby_wolf

Licence: MIT license
Tiny ruby web server for research and studying purpose

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ruby wolf

Iodine
iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
Stars: ✭ 720 (+3689.47%)
Mutual labels:  rack, webserver
Agoo
A High Performance HTTP Server for Ruby
Stars: ✭ 679 (+3473.68%)
Mutual labels:  rack, webserver
fcgi-function
A cross-platform module to writing C/C++ service for nginx.
Stars: ✭ 33 (+73.68%)
Mutual labels:  webserver
phpkoa
PHP异步编程: 基于 PHP 实(chao)现(xi) NODEJS web框架 KOA。
Stars: ✭ 52 (+173.68%)
Mutual labels:  webserver
stirfry
StirFry is a self contained and lightweight web framework for nodejs
Stars: ✭ 24 (+26.32%)
Mutual labels:  webserver
encrypted cookie
AES-128 encrypted session cookies for Rack (and Sinatra and other frameworks).
Stars: ✭ 54 (+184.21%)
Mutual labels:  rack
initial-webserver-setup
Ansible playbook for initial ubuntu 16.04 webserver setup and Laravel zero time deployment
Stars: ✭ 50 (+163.16%)
Mutual labels:  webserver
dredd-rack
The Dredd API blueprint testing tool for your Rack applications.
Stars: ✭ 50 (+163.16%)
Mutual labels:  rack
web pipe
One-way pipe, composable, rack application builder
Stars: ✭ 56 (+194.74%)
Mutual labels:  rack
wnmp-dev
Development environment: Windows + nginx + MySQL + PHP
Stars: ✭ 52 (+173.68%)
Mutual labels:  webserver
heartbeat
A service to keep a live heartbeat (ping) on multiple devices
Stars: ✭ 27 (+42.11%)
Mutual labels:  webserver
rack-secure-upload
Upload files securely
Stars: ✭ 75 (+294.74%)
Mutual labels:  rack
khudro
Khudro is a very light weight web-server built with C.
Stars: ✭ 19 (+0%)
Mutual labels:  webserver
embedio-extras
Additional Modules showing how to extend EmbedIO.
Stars: ✭ 43 (+126.32%)
Mutual labels:  webserver
WebServer
Powershell WebServer is a Powershell module that starts a webserver (without the need for IIS)
Stars: ✭ 27 (+42.11%)
Mutual labels:  webserver
rpi-nginx
[DEPRECATED] NGINX on Raspberry Pi / ARM
Stars: ✭ 20 (+5.26%)
Mutual labels:  webserver
django-http2-middleware
⚡️Django middleware to automatically send preload headers before views runs, enabling faster HTTP2 server-push (with CSP support).
Stars: ✭ 65 (+242.11%)
Mutual labels:  webserver
WebServer
C++高性能网络服务器
Stars: ✭ 53 (+178.95%)
Mutual labels:  webserver
sinatra-api-server-toolbox
Sinatra API Server Toolbox (Ruby, Sinatra, ActiveRecord, postgreSQL, JSON, jQuery, AJAX)
Stars: ✭ 21 (+10.53%)
Mutual labels:  rack
bookish spork
Erlang library for testing http requests
Stars: ✭ 82 (+331.58%)
Mutual labels:  webserver

RubyWolf

Gem Version CircleCI

Ruby wolf is a tiny ruby web server for rack-based application. This server follows pre-forked and event driven approach. Honestly, this web server is written for study and research purpose. I'm sure it could be used anywhere. So, don't use it in real world :)

Installation

Add this line to your application's Gemfile:

gem 'ruby_wolf'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby_wolf

Usage

Start your rack-based application with the following command:

ruby_wolf -p 3000

To explore the provided options, please use ruby_wolf --help

Benchmark

Benchmark with some Hello world application, tested with Apache Benchmark, 10000 requests, 12 concurrences under local environment (Macbook Pro 2015 - Core i7, 16gb Ram)

RubyWolf

  50%      7ms
  66%     11ms
  75%     14ms
  80%     15ms
  90%     19ms
  95%     24ms
  98%     31ms
  99%     33ms
 100%     51ms (longest request)

Puma

  50%     25ms
  66%     27ms
  75%     28ms
  80%     29ms
  90%     31ms
  95%     32ms
  98%     35ms
  99%     37ms
 100%     39ms (longest request)

Thin

  50%     22ms
  66%     23ms
  75%     24ms
  80%     24ms
  90%     28ms
  95%     30ms
  98%     34ms
  99%     36ms
 100%    227ms (longest request)

Note that Hello world application is not considered to be a real application. Thus this benchmark doesn't mean much

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].