3 ms·
I think the author emphasized performance. Sinatra might be Express's precedent, but it doesn't have Node's runtime behind it to deliver performance (async I/O,
by arturadib 14y ago
I think the author emphasized performance. Sinatra might be Express's precedent, but it doesn't have Node's runtime behind it to deliver performance (async I/O, low-memory footprint, etc).
- gary4gar 14y agoTried running Sinatra on jRuby?
- jroes 14y agoPerformance is one of the few legitimate arguments the Node community makes. It is wicked fast out-of-the-box compared to Ruby out-of-the-box. Unfortunately there are many other factors involved in building software that matter as well.
- jshen 14y ago"deliver performance" is too abstract. I usually throw varnish in front of my ruby apps to get performance. I find this gives me a more productive programming environment (ruby), and insane performance. Node only becomes useful for me when I need to keep a lot of connections open and handle them simultaneously, and a few other rare situations like that.
- dataminer 14y agoIf you want async sinatra, try https://github.com/kyledrake/sinatra-synchrony https://github.com/kyledrake/sinatra-synchrony