In this workshop, discover how easy it is to implement caching to improve the performance of DynamoDB and enable real-time notifications using Momento Cache and Momento Topics. The scenario for the application is a pizza shop’s online order processing system. We’ll build a fully serverless solution using DynamoDB, API Gateway, and Lambda - with customer and staff interfaces implemented using Next.js. Then, we’ll update our application to add caching and order update notifications for the customer. We’ll order some pizzas to test our solution and to generate some latency metrics that we’ll use to measure the improvement. Finally, we will celebrate with some delicious virtual pizza!
Momento Pizza has two websites: one for customers to order pizzas and another for employees to accept and work on orders as they come in. But it needs some enhancements, what we have works, but it could be better!
This is the current process for ordering a pizza 👇
That process works but it would be so much better with realtime updates and faster API responses. Let’s see what we’re going to build.
With this in mind, let’s get setup with Momento and AWS, and make sure we’ve got any prerequisites installed.