Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket research #12

Open
makoConstruct opened this issue Nov 26, 2016 · 0 comments
Open

Websocket research #12

makoConstruct opened this issue Nov 26, 2016 · 0 comments
Labels

Comments

@makoConstruct
Copy link
Collaborator

makoConstruct commented Nov 26, 2016

There's a websocket protocol for Pubsub and RPC called WAMP. It's always given me the impression that it knows what it is and what it's doing far better than socket.io does. For one, socket.io hasn't got rpc baked in. (There's a project, https://github.com/capaj/socket.io-rpc, for adding it, but there's no documentation. There's an example, but it only bodes ill.). RPC (and a nice Promise API for it) is fairly important, so uh, I don't have much faith in socket.io at this point

The main WAMP imlementation for js clients is http://autobahn.ws/js/ , and I've heard good things.

There are a few server implementations http://wamp-proto.org/implementations/#routers, although it looks like they'll need a little bit of work eventually

The key thing to note: WAMP is not just javascript. Wamp is supported by lots of languages(or it at least makes an effort to be), so if we really care about decentralization, user freedom and federation, WAMP is already a part of our project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant