Skip to content
/ zync Public
forked from reddavis/zync
Notifications You must be signed in to change notification settings

kfaustino/zync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight asynchronous Ruby web framework
===========================================

Example app running on my MBP:

$ ab -c 50 -n 1000 "http://127.0.0.1:3000/"
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        thin
Server Hostname:        127.0.0.1
Server Port:            3000

Document Path:          /
Document Length:        11 bytes

Concurrency Level:      50
Time taken for tests:   0.147 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      110000 bytes
HTML transferred:       11000 bytes
Requests per second:    6797.13 [#/sec] (mean)
Time per request:       7.356 [ms] (mean)
Time per request:       0.147 [ms] (mean, across all concurrent requests)
Transfer rate:          730.16 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       1
Processing:     3    7   4.3      5      21
Waiting:        2    6   4.4      4      20
Total:          4    7   4.3      6      21

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      7
  75%      7
  80%      7
  90%     18
  95%     20
  98%     21
  99%     21
 100%     21 (longest request)

.... 6797 req/sec for a vanilla Ruby 1.9.2 webapp.. not bad

About

Lightweight asynchronous Ruby web framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%