Gevent compared to Erlang, Java (Webbit),Go, Node.js

1,059 views
Skip to first unread message

Allard

unread,
Jun 13, 2012, 7:49:53 AM6/13/12
to gev...@googlegroups.com
I haven't delved in to the whys an interesting observation:

The benchmark tested an echo like scenario and compared Erlang, Java (Webbit),Go, Node.js and Python (gevent + ws4py). The Python version of the test seems to be the least favourable.

It may get some comments on Hacker News as well.

Cheers,

Allard

Executier Godlike

unread,
Jun 13, 2012, 7:56:58 AM6/13/12
to gev...@googlegroups.com, allard....@gmail.com
> I haven't delved in to the whys an interesting observation:
> https://github.com/ericmoritz/wsdemo/blob/master/results.md
Could you add plots for easier comparison?

> The Python version
> of the test seems to be the least favourable.
Sure, how python can compete with compilers and JIT-enabled
staticaly-typed languages? :)

--
Alexandre Kandalintsev

Benoit Chesneau

unread,
Jun 13, 2012, 8:15:27 AM6/13/12
to gev...@googlegroups.com
erlang isn't one of those ^^

Antonin AMAND

unread,
Jun 13, 2012, 9:22:37 AM6/13/12
to gev...@googlegroups.com
Personally I'm already thrilled that it stays in the same order of magnitude.
I would like to see how ruby-eventmachine compares to gevent.
Does anybody knows some benchmarks comparing them ? (not necessarily
on websockets)

Matt Billenstein

unread,
Jun 13, 2012, 2:57:29 PM6/13/12
to gev...@googlegroups.com
Go, Java, Erlang are probably not limited to a single core like node/python?

gunicorn with many gevent workers would fare much better I think - and be a
more realistic deployment option for anyone serious about these sort of
workloads under Python.

And there are options [1] in C++ using fibers which would be interesting to see
- I'd imagine there is a possibility some of these could be much faster than
Erlang.

m

1. http://code.mozy.com/projects/mordor/

On Wed, Jun 13, 2012 at 04:49:53AM -0700, Allard wrote:
> I haven't delved in to the whys an interesting observation:
> https://github.com/ericmoritz/wsdemo/blob/master/results.md
> The benchmark tested an echo like scenario and compared Erlang, Java
> (Webbit),Go, Node.js and Python (gevent + ws4py). The Python version of
> the test seems to be the least favourable.
> It may get some comments on Hacker News as well.
> http://news.ycombinator.com/item?id=4105317
> Cheers,
> Allard

--
Matt Billenstein
ma...@vazor.com
http://www.vazor.com/

Jeff Lindsay

unread,
Jun 13, 2012, 2:59:55 PM6/13/12
to gev...@googlegroups.com
I feel very guilty as the original author of the ws4py's gevent modules. I never got around to optimizing or really stabilizing it. :(
--
Jeff Lindsay
http://progrium.com

Allard

unread,
Jun 13, 2012, 4:05:50 PM6/13/12
to gev...@googlegroups.com
Agree that it would have been good to see ruby's eventmachine in here and a C++ example. Using multiple workers with Gunicorn might have been more fair too. I am wondering what the hot spots are in the code. If it's even ws4py or if it's somewhere else...


On Wednesday, 13 June 2012 14:59:55 UTC-4, Jeff Lindsay wrote:
I feel very guilty as the original author of the ws4py's gevent modules. I never got around to optimizing or really stabilizing it. :(

Reply all
Reply to author
Forward
0 new messages