Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Websocket en WAMP in sPHPace

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Websocket en WAMP in sPHPace

Avatar for Davy De Coster

Davy De Coster

May 26, 2020
Tweet

Other Decks in Programming

Transcript

  1. Websocket Protocol • Bestaat sinds 2010 – RFC sinds december

    2011 (https://tools.ietf.org/html/rfc6455) • Realtime communicatiekanaal • Lage overhead tov polling • ws:// en wss:// • Meerdere subprotocollen • Veel gebruikt: socket.io
  2. WAMP • Web Application Messaging Protocol • Crossbar.io • Publish

    & Subscribe naar topics (PubSub) • Remote Procedure Call (RPC) • Veel gebruikt bij IoT
  3. Crossbar.io - Connection & security • Python • Realms •

    Namespace • Roles • Security • Authentication • Veel platformen kunnen hiermee connecteren • Build in Docker container • Data in args en kwargs
  4. RPC • Registreer procedure op topic (‘be.ocular.doe.iets’) • Procedure is

    uniek • Call een topic om de procedure uit te voeren • Procedure kan iets returnen naar caller