Skip to content

Can powertools ensure the idempotence of all kinds of functions #801

Closed
@Nsupyq

Description

@Nsupyq

When reading the document about idempotency, I am wondering whether the powertool can convert all functions to be idempotent.

For example, if a function tries to increase the value of a variable in DynamoDB or other databases, I think it cannot be idempotent unless writing the functional return value and increasing the variable are completed atomically.

I suggest that the document should describe which kinds of functions can achieve the idempotence via powertools in detail.
Please let me know if my understanding is correct.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationneed-more-informationPending information to continue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions