Skip to content

Using moto DynamoDB for production in-memory caching #6984

Answered by bblommers
kflathers-chwy asked this question in Q&A
Discussion options

You must be logged in to vote

I would have posted this as a discussion if it were available, so apologies upfront if this is not the right space to ask my question.

We have discussions now! Been meaning to enable it for this repo for ages, so this was a good reason to finally get it done.

My thoughts were to use moto's DynamoDB module to effectively act as this in-memory cache,

I would have two concerns with that approach: responsibility and performance.

Responsibility: because you're essentially outsourcing the responsibility for a core component.
Moto may work perfectly today, but it may break things tomorrow/in a next release. Obviously we try to not do that, but if it happens, and you're using Moto in producti…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kflathers-chwy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6983 on November 02, 2023 19:42.