Dyalog Eastbourne 2026
← Monday 12 October
MP2 Workshop

Asynchronous Services: What, Why, and How

Pier Suite 2 (first floor)

Give feedback on Asynchronous Services: What, Why, and How

The traditional request-response model has a fundamental limitation: the client must always speak first. This makes it awkward (and sometimes impossible) to build applications where the server needs to push updates, multiple parties exchange messages in real time, or work continues long after the initial request. Asynchronous web services solve this problem, and they're the backbone of dashboards, stock tickers, news feeds, multiplayer games, chat rooms, and long-running computations.

This hands-on workshop covers the three dominant techniques – WebSockets, Server-Sent Events (SSE), and webhooks – and the Dyalog tools that bring them within easy reach: HttpCommand, Jarvis, WebSocketClient, and WebSocketServer.

In this workshop, you will:

  • develop an understanding of when to use WebSockets, SSE, and webhooks, and how they differ.
  • gain hands-on experience with Dyalog's asynchronous toolkit: HttpCommand, Jarvis, WebSocketClient, and WebSocketServer.
  • consume existing asynchronous services from APL.
  • build and deploy your own asynchronous service.

Prerequisites

  • Dyalog v20.0 (preferably Microsoft Windows, Unicode, 64-bit)
  • A web browser
  • The ability to:
    • connect to the internet
    • connect to a local WiFi network
    • (optional) open a TCP/IP port to host a local web service
  • Assumed knowledge: Basic familiarity with Dyalog
  • Additional materials: Workshop materials on GitHub (Available by 5 October)

Keywords

  • webhooks
  • WebSockets
  • asynchronous
  • Jarvis
  • HttpCommand
  • WebSocketServer
  • WebSocketClient