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

reddavis/zync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Example app running on my MBP:

$ ab -c 20 -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:      20
Time taken for tests:   0.266 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      110000 bytes
HTML transferred:       11000 bytes
Requests per second:    3761.39 [#/sec] (mean)
Time per request:       5.317 [ms] (mean)
Time per request:       0.266 [ms] (mean, across all concurrent requests)
Transfer rate:          404.06 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   0.3      1       3
Processing:     1    5   4.1      4      26
Waiting:        0    4   4.1      3      25
Total:          2    5   4.1      4      26

Percentage of the requests served within a certain time (ms)
  50%      4
  66%      4
  75%      4
  80%      5
  90%      6
  95%      9
  98%     26
  99%     26
 100%     26 (longest request)



.... 3761 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