Home icon

Working with AWS AppSync Events: Serverless WebSockets for Pub/Sub

Front-End Web & Mobile Blog



This article introduces AWS AppSync Events, a serverless WebSocket Pub/Sub service for creating real-time applications without GraphQL dependencies. The author demonstrates building a leaderboard application using AWS Amplify Gen 2 and AWS CDK.

  • Create an event API using CDK L1 constructs with API key authorization
  • Set up a real-time leaderboard application with event publishing and subscribing
  • Use Amplify to simplify connecting, publishing, and subscribing to events
  • Demonstrate publishing random player scores to a default channel
  • Support high-throughput applications like gaming and live auctions

The tutorial highlights AWS AppSync Events' simplicity and scalability, offering 250,000 free real-time event API operations per month for developers to explore.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Oct 30
2024
Announcing AWS AppSync Events: serverless WebSocket APIs to power real-time web and mobile experiences at any scale
Nov 26
2024
Working with AWS AppSync Events: Real-time Web Games with Chat
Oct 30
2024
AWS AppSync launches new serverless WebSocket APIs to power real-time web and mobile experiences at any scale
Mar 13
2025
Building real-time apps with AWS AppSync Events’ WebSocket publishing

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.