entone

entone

Your thoughts on WAMP, PubSub and Routed RPC

WAMP is currently a draft spec submitted to the W3C and IETF.

At it’s most basic, it implements PubSub and Routed RPC over WebSocket or any reliable, duplexed and order guaranteed transport.

I came across the protocol a few weeks ago, and was immediately intrigued. I feel like I’ve been building systems to emulate this protocol for the last 10 years. Initially with Python, gevent and zeromq. My next iteration was Elixir/Nerves, MQTT and WebSockets. And my current implementation is Elixir, GraphQL and NATS. All have been trying to achieve the same thing. Realtime RPC and PubSub. So to say I was excited to come across a semi-official protocol is an under statement. Also not sure how I hadn’t come across it before.

There are some great Router backends developed in Erlang, specifically Bondy and CargoTube.

But the client situation for Erlang and Elixir leaves much to be desired. So what better way to learn a new protocol then to write your own client software! I put together an Elixir version called WAMPex that implements the Basic Profile. You can check it out here. There’s also an accompanying example app that emulates a SmartHome and Analytics Backend, https://gitlab.com/entropealabs/wampex_example_app

If people are building similar systems, I’m wondering what you’ve chosen for your tech stack, and what your use-cases are. I’m pretty excited to build some awesome platforms with my new found favorite protocol :slight_smile:

Where Next?

Popular in Chat/Questions Top

ariandanim
Hello all, I am still learning Elixir, then go into Phoenix, i am try search in google but find the programming phoenix 1.4, another for...
New
wolfiton
Hi everyone, How can i retrieve the name from a structure like this? %{"id" => "1570", "name" => "Croque Monsieur"} My test loo...
New
Lincxx
Hello, I’m sure this has been asked a bunch, but where to start. I do prefer vodeos over books, but recently I have found books to be mor...
New
Scoty
Hey, I am currently reading Programming Elixir and I am doing one of the exercises where you should write a solution to the “I’m thinkin...
New
gouvermxt
I just finished the “Learn Functional Programming with Elixir (Pragprog)” book. I have 5+ years of experience with Ruby/Rails, my goal is...
New
ggwc82
Looking to get started with FP and Elixir coming mainly from an OOP Rails and PHP background. My first question is, whats the best cours...
New
ericdouglas
I think that would be really interesting to have official books created by the community about all kinds of development we can do with El...
New
wallyfoo
Long story short, I have a real world need to create a view for hooking up a shipping terminal to live data, but because of some early ar...
New
jace
I wanted to write a library for interacting with a Web API as a practical way of learning Elixir. However, there seem to be a lot of diff...
New
marciol
Hey, I have very restricted resources and time so I’m trying to understand the best way to learn Liveview in terms of cost/time. The Pra...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement