AWS – AppSync Events adds publishing over WebSocket for real-time pub/sub
AWS AppSync Events is a fully managed service that allows developers to create secure and performant WebSocket APIs. Starting today, developers can use their AppSync Events APIs to publish events directly over WebSocket connections, complementing the existing HTTP API publishing capability. This enhancement enables applications to both publish and subscribe to events using a single WebSocket connection, streamlining the implementation of real-time features.
The new WebSocket publishing capability simplifies the development of collaborative applications such as chat systems, multiplayer games, and shared document editing. Developers can now maintain a single connection for bi-directional communication, reducing complexity and improving performance by eliminating the need to manage separate connections for publishing and subscribing to events. This approach helps reduce latency in real-time interactive applications by removing the overhead of establishing new HTTP connections for each event publication.
This feature is now available in all AWS Regions where AWS AppSync is supported.
To get started, developers can use their favorite WebSocket client. For more information, view our new blog post and visit the AWS AppSync documentation for detailed implementation examples and best practices.
Read More for the details.