[FULL COURSE] Building real-time apps with Momento

preview_player
Показать описание
Learn how to build real-time applications with Momento, the real-time data platform founded by the same engineering team that built DynamoDB.

Momento is a serverless caching and real-time data platform designed for speed, scalability, and simplicity.

Its caching solution can handle millions of requests per second with sub-millisecond latency, and you can scale your WebSocket application to millions of users using Momento topics. Plus, it’s serverless—no need to worry about scaling or maintenance. Just focus on your data, and Momento takes care of the rest.

Why would you choose Momento over other solutions, such as Amazon Elasticache? Well, it’s fast, scalable and truly serverless! You don't need to worry about maintenance windows, or capacity planning, and you never pay for idle!

Momento topics support WebSockets out-of-the-box. Whether you’re building chat applications, real-time notifications, or live dashboards, Momento makes it easy to add real-time functionality with just a few lines of code.

It's also very cost-efficient compared to other similar solutions (e.g. AWS AppSync, API Gateway or Amazon IoT Core). There is no charge for connection time (for the WebSocket connections); you only pay for the operations you perform.

It’s one of the most exciting services I have come across, and I’m a huge fan of the Momento team. They are the team that brought you DynamoDB while they were at AWS, so they know how to build for a massive scale!

In this course, I’ll show you how to use both Momento cache and topics, and we will build three different applications to show you what they can do.

First, we’ll use Momento Cache to create a fast, scalable leaderboard service using Moment's Sorted Set collection.

Next, we’ll build a notification system using Momento Topics to send real-time updates to the front end via WebSockets. You’ll see how easy it is to push updates from the back end to the front end without implementing polling. All it takes is a few lines of code.

Finally, we’ll create a real-time chat application demonstrating client-to-client communication through Momento Topics, showing you how to handle real-time messaging between users.

Along the way, we’ll show you how to secure your API keys and how to generate disposable tokens for the front end. We will also implement multi-tenancy so users can only subscribe to their own updates.

By the end of this course, you’ll have hands-on experience building each of these applications and a good understanding of how to use Momento’s cache and topics to build real-time applications.

Demo repos:

~~~~~~~~~

Momento links:

~~~~~~~~~

Other links:

0:00 Welcome
3:25 What is Momento?
7:45 Getting started with Momento
10:43 Building a leaderboard service
50:15 Building a real-time notification service
1:22:35 Building a real-time chat app
1:45:43 Key lessons
Рекомендации по теме
Комментарии
Автор

Really great course - thanks a lot! Will definitely try it with websockets

Thimo-oh