Meteor 3.5 introduces pluggable DDP transport with uWebSockets.js support

Meteor 3.5 replaces its long-standing, tightly integrated SockJS WebSocket transport with a pluggable architecture, allowing developers to swap transport implementations. SockJS remains the default, meaning existing applications are unaffected unless a change is explicitly requested. Developers can opt into uWebSockets.js — a high-performance C/C++ WebSocket server — by setting a single environment variable: DDP_TRANSPORT=uws. Switching to uWebSockets.js also eliminates the SockJS browser shim, enabling clients to connect via native WebSocket instead. The new transport registry is available in Meteor 3.5, which can be enabled for new or existing apps via the Meteor CLI.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in