teremterem / swipe-thought-bot

MIT License
0 stars 0 forks source link

DDB optimisation: combine multiple attributes into one partition key where reasonable #160

Open teremterem opened 3 years ago

teremterem commented 3 years ago

For ex. msg_id:chat_id as partition key only instead of partition and sort keys. Read more on this here: https://aws.amazon.com/blogs/database/choosing-the-right-dynamodb-partition-key/