nodejs client for ucengine

4 views
Skip to first unread message

Mathieu

unread,
Feb 17, 2011, 4:15:04 AM2/17/11
to UCengine
I've just made a nodejs client for ucengine. For now, it's a POC, to
see how Nodejs 0.4 and Yaws handle multiple http connection. It's
object based, and the API is not yet stable, and the best part is
missing : listening events. It will come soon.

https://github.com/athoune/node-ucengine

M.

François de Metz

unread,
Feb 17, 2011, 4:21:14 AM2/17/11
to ucen...@googlegroups.com

That's cool. NodeJS is awesome.

We welcome your feedback on the performance of ucengine.

François

signature.asc

ineation

unread,
Feb 17, 2011, 11:03:32 AM2/17/11
to UCengine
Thx Mathieu, that's a great project.

I am a little bit curious though... Could you tell us what you are
going to use it for ?

Alex.

Mathieu Lecarme

unread,
Feb 17, 2011, 4:25:12 PM2/17/11
to ucen...@googlegroups.com
Challenge.
I made some code with BOSH and client side javascript, some nodejs xmpp code, and I wont to try your more simple event over http engine.
First, I thought, one more cometd, then I found eventsource for html5 : http://dev.w3.org/html5/eventsource/ : long polling is no more a trick, it's just future.
I also wont to know how Erlang can handle load with a lots of async events.

For now, I have some troubles with ucectl. start/stop is working. But I can't use any internal command.
$ ./bin/ucectl user list --domain locahost
Fatal: {error,nodedown}

Hum, with my code, I can fetch infos : { result: { domain: '192.168.1.142', metadata: {} } }
Next try :
$ ./bin/ucectl user list --domain 192.168.1.142
Fatal: {error,nodedown}

The server is a Debian 6.0 in a virtualbox, and I use it from a Mac.

My next step is to implement lazy presence, events exchange from lots of clients and real unit test.

M.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages