Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple EventMachine proxy daemon with connection pool
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
tmp
.gitignore
README
start_clients.rb
start_daemon.rb
start_server.rb
stop_daemon.rb

README

== Simple EventMachine proxy daemon using connection pool with EM queue and with example how to test it

Dependencies
'eventmachine'
'daemons'

1) start server ( ruby start_server.rb )
Server emulates random time spent on proccessing requests ( through add_timer)

2) start daemon ( ruby start_daemon.rb )
You can pass -d param to daemonize it (than u can stop it this ruby stop.rb)

3) start client ( ruby start_clients.rb )
This will emulate many clients connection 
You can change that number by passing number as argument

 


Something went wrong with that request. Please try again.