


In EVE Online's player driven economy items can be traded through contracts. Also watch Rick Houlihan's fantastic design patterns for DynamoDB from re:Invent 2018 and re:Invent 2019. With DynamoDB it's super important to think about your data access patterns first, or you'll have to rebuild your tables many more times than necessary. It's a good idea to start by just printing the data from DynamoDB and then building your function around that input. When you work with the serverless framework, you can simply set the stream as an event source for your function by adding the ARN as a stream in the events section.Įnter fullscreen mode Exit fullscreen modeĭeploy the changes with sls deploy and your function is ready to process the incoming events. Once you enabled the stream, you can copy its ARN which we will use in the next step. Open the settings of your table and click the button called "Manage Stream".īy default you can go with "New and old images" which will give you the most data to work with. To set up the DynamoDB stream, we'll go through the AWS management console. The stream emits changes such as inserts, updates and deletes. You should be familiar with DynamoDB tables and AWS Lambda.Īssuming we already have a DynamoDB table, there are two more parts we need to set up: A DynamoDB stream and a Lambda function.
#LOCAL DYNAMODB REBUILD INDICES HOW TO#
This article explains how to build an analysis pipeline and demonstrates it with two examples. We can however use DynamoDB streams and lambda functions to run these analyses each time data changes. Signup for the mailing list and get new articles straight to your inbox!ĭynamoDB is not a database designed to run analysis queries with.
