3 ms·
Deft server (Java) beats Node.js and Tornado
- foobarbazetc 15y agoThis would be far more interesting if Netty was in the comparison.
- davesims 15y ago"Tornado and Node.js are the two other asynchronous web servers that we used in the benchmark. We didn't include Netty because it felt a little bit like comparing apples with oranges. But I wouldn't doubt if Netty showed numbers equal to (or greater?) the results we have seen for Deft. Netty, the successor to apache mina, is a really cool socket framework written by a really smart guy (Trustin Lee)."
- timc3 15y agoAnd it also happens to be really fast. I don't want to compare my framework to something that can be really performant.
- foobarbazetc 15y agoAnd? The example code shown does nothing that Netty can't do without using any external "frameworks".
- clone1018 15y agoThis is probably the most amazing thing I've seen in a long time: http://i.imgur.com/sBMCW.png http://i.imgur.com/sBMCW.png
- videoappeal 15y agoarticle doesnt open for me just a blank page with word 'deft'? is this some retard post with no content or is the server overwhelmed?
- videoappeal 15y agoWhy the downvote? Did the word retard offend you?
- willvarfar 15y agoI wasn't the downvoter, but yes, the word retard does offend me. Why do you use it in this context?
- gibybo 15y agoServer just appears to be overloaded - the status code it returns for the page is 503. It also tries to load some js/css but those return empty 503s. In the meantime, Google returns this article about it: http://www.infoq.com/articles/deft-loft http://www.infoq.com/articles/deft-loft
- moonboots 15y agoThey should change to a more performant web server, maybe something like deft.
- nodesocket 15y agoAwesome, look at that scale... Ohh what's that, returning 503.
- chillax 15y agoThe page just says deft for me, but apparently the project is in incubator over at apache: http://incubator.apache.org/deft/ http://incubator.apache.org/deft/
- Uchikoma 15y agoI'd assume classes of web app servers perform roughly the same. An evented server in C(++) (Nodejs) should be faster than an evented server in Java for small app code request handlers. For larger app code the speed should approach the performance ratio of the VMs (V8/JVM) involved. So I think this is rather uninteresting.
- spullara 15y agoSo, first of all this is hosted on Google App Engine -- so I don't even see how it could even provide what is claimed. The environment doesn't really support it. If you want asynchronous network programming in Java or Scala, you should be using either Netty or something higher level like Finagle: http://github.com/twitter/finagle http://github.com/twitter/finagle