News for hackers. Stuff that matters.
Re:WAMP – Web Application Messaging Protocol by marknadal on Thursday May 31, 2018 @07:05PM (#17201120)
This looks like a great library, but a few years too late? Socket.io, SocketCluster.io, gun.js.org (ours), even Meteor, and plenty of other things make it easy to do RPC or get PubSub behavior. Why WAMP over others?
Re:WAMP – Web Application Messaging Protocol by sametmax on Friday June 01, 2018 @12:42AM (#17202642)
It's in the details :

- wamp is a language neutral spec and an open standard registered at iana.

- implementations not only exist in many languages but they are all interroperable transparently despite all feeling very native to their own language. A failing rpc in js will see the error propagated as a python exception on the other side.

- it works in the browser, yes, but it's also very usable as a way to implement micro services or iot clusters. You are not tied to a particular use case or framework.

- not not simple rpc but routed rpc, so the clients don't need to know each others and you can implement fallback, hot reload or load balancing

- security and authentigication are first class citizen

- wamp comes with a lot of goodies like meta events for introspection or wildcards