Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby
branch: master

This branch is 72 commits ahead of pressly:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
README
Rakefile
zync.gemspec

README

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
Something went wrong with that request. Please try again.