@sdogruyol
vienna.rb
09.03.2016
Serdar Doğruyol
Lead Developer - Protel Turkey
@sdogruyol
Framework | Requests Per Sec | Avg. Resp. Time |
---|---|---|
Kemal(Production) | 100238 | 395.44μs |
Sinatra(Puma) | 2274 | 43.82ms |
http://kemalcr.com
require "kemal"
get "/" do
"Hello World!"
end
ws "/socket" do |socket|
socket.send "Hello from Kemal!"
end
Framework | CPU (%) | Memory (MB) |
---|---|---|
Crystal(Kemal) | 1.85 | 11.2 |
ws (Node) | 38.95 | 906.3 |
Did i mention that it's super fast and efficient :)
ws "/socket" do |socket|
socket.send "Hello from Kemal!"
end
http://www.crystalforrubyists.com
@sdogruyol
https://slides.com/sdogruyol/building-web-apps-with-kemal