[FULL COURSE] Building real-time apps with Momento

Описание к видео [FULL COURSE] Building real-time apps with Momento

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.

To learn more about Momento, go to https://www.gomomento.com and sign up. They offer a generous free tier, so you can try out all the demos in this course without charge.

Demo repos:
Leaderboard service: https://github.com/theburningmonk/mom...
Real-time notification system: https://github.com/theburningmonk/mom...
Real-time chat app: https://github.com/theburningmonk/mom...

~~~~~~~~~

Momento links:
Momento CLI: https://github.com/momentohq/momento-cli
Momento SDKs: https://docs.momentohq.com/platform/sdks
Momento cache API reference: https://docs.momentohq.com/cache/deve...
Momento topics API reference: https://docs.momentohq.com/topics/api...
Momento SortedSet collection: https://docs.momentohq.com/cache/deve...
Momento auth client (for generating disposable tokens & API keys): https://docs.momentohq.com/cache/deve...
Momento blog: https://www.gomomento.com/blog
Momento pricing: https://www.gomomento.com/pricing

~~~~~~~~~

Other links:
Serverless Ephemeral (Temporary) Environments Explained:    • Serverless Ephemeral (Temporary) Envi...  
4 ways to implement WebSockets serverlessly: https://theburningmonk.com/2024/04/he...
Middy middleware engine: https://github.com/middyjs/middy
Lambda power-tuning tool: https://github.com/alexcasalboni/aws-...
Lambda Power Tools logger: https://docs.powertools.aws.dev/lambd...
AWS Lambda: Ultimate Guide to Error Handling:    • AWS Lambda: Ultimate Guide to Error H...  

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

Комментарии

Информация по комментариям в разработке