entone

entone

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, Christopher Coté / wampex_example_app · GitLab

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? Top

Trending in Chat/Questions Top

krisleech
Hey folks, I’ve been using Elixir for over a couple of years (phx, ecto, broadway, oban). For this kind of work you do not tend, in my e...
New
mhindujadheerajsudan
Hi, I’m Dheeraj Sudan from the UK. I’m a software developer and also run a business with my wife Meenu Hinduja. I’m interested in getting...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews