Hello,

somewhere I thought I had heard that APE from version 1.0 does support json-rpc (as defined at json-rpc.org), but looking at the 1.0 source it doesn't look like it actually does (even though the ape protocol is pretty similar). Is that correct?

Now I am wondering what the best method is to interact with an APE server from another app server (in my case SEMS, a VoIP media/app server, and also another app servers written in twisted). Ideally, I would like to be able to both send messages into channels and subscribe for channels, and I would like to have this multiplexed on a single connection, to save overhead (of creating new connections etc). Even more ideally, this should work over netstrings/tcp; that way both rpc requests and notifications are sent and processed most efficiently.

How would I go best about implementing this? Should I create a server side module, like the controller example used to be? if yes, best in c or in js (being not that familiar with js)? or could I use a combination of something like a modified PROXY_CONNECT and inlinepush, or server.js example?

Also, in the 1.0 announcement I saw something about XHR streaming, but in the source it looks like that does exactly the same as SSE_LONGPOLLING, only that the content-type is different (x-dom-event-stream vs x-ape-event-stream; btw, just out of curiosity, what is the extra spaces at the end of HEADER_XHR for?).

Further, are there any performance numbers available for something like inlinepush vs raw ape protocol and handling in c, i.e. something where i could get an idea about server side js performance?

So many questions...probably i just missed to look at the right places for documentation. any help would be much appreciated!

Thanks and many easter eggs
Stefan

--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

To unsubscribe, reply using "remove me" as the subject.

Reply via email to