Spring Data DynamoDb #1201
Replies: 2 comments 2 replies
-
What exactly do you mean by the single table design? Is this really only supporting a single table with all entities being in that table? |
Beta Was this translation helpful? Give feedback.
-
It’s an interesting direction, and I’m on board with single-table as the default. This will land if the common patterns feel effortless: clear PK/SK conventions with friendly helpers for starts-with and range queries (so we avoid scans), simple LEK-based pagination, and explicit access to named GSIs, including sparse ones, with projections to keep reads cheap. Solid conditional writes for idempotency and optimistic locking, plus partial updates, cover most write paths. Add lightweight polymorphism/type tags for mixed entities, built-in converters for nested/JSON fields, and a plug-and-play test setup with LocalStack or Testcontainers. If RC ships with a few opinionated examples (time-series, ownership lists, GSI fan-out) and guidance on when not to force a single table, I think you and your team can adopt it with confidence. Good luck with the project! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have already started but would like to hear ideas, opinnions and discussion how you use it. This will greatly help in releasing RC.
It will primary usecase be single table design and wont implement it in any other way.
Beta Was this translation helpful? Give feedback.
All reactions