bsd licensed cometd server based on gevent - that doesnt hang ;-)

28 views
Skip to first unread message

Ergo

unread,
Sep 19, 2011, 10:19:29 AM9/19/11
to Hookbox User Group
hello guys, ive written my own cometd server based on gevent - and
tested it in a real environment with a "heavy" load of 500-700 users
online.

feel free to give it a try and browse/enhance the code.

https://bitbucket.org/ergo/gevent_cometd

it supports channels, subscriptions, disconnections, direct PM
messages (untested).

has few options for security - the work was inspired by gevent a bit.

the server so far supports only long polling, but there is nothing
preventing us to add something else.

Ergo

unread,
Sep 19, 2011, 10:21:49 AM9/19/11
to Hookbox User Group
ive forgot to add that the work was inspired by shaveet cometd server
- also based on gevent.

Alan Justino (alanjds)

unread,
Sep 20, 2011, 4:25:49 PM9/20/11
to Hookbox User Group
Btw, is hookbox still hanging for you? Mine stopped hanging after
merging Dan Gould (dlg) changes to pyevent...

Ergo

unread,
Sep 20, 2011, 5:11:32 PM9/20/11
to hoo...@googlegroups.com
Nope i havent used it for quite a while, after testing shaveet and adopting its paradigm in my own server ie. user never posts to cometd server itself - only webapp with secret - I'm convinced that its better way to handle this (less roundtrips around the stack).

But with our load hookbox crashed after 5 min.
Reply all
Reply to author
Forward
0 new messages