You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the FixedWindowDynamoDB (and probably the others as well), it would be great if the partitionKey could be passed as a parameter in Increment instead of as part of the struct.
In highly concurrent scenarios, where multiple keys would need to be handled potentially at the same time, being able to re-use the same FixedWindow per table, and not per key, to increase multiple keys via the function call would be ideal.
I didn't get a chance to look at the extent of how such a change would impact the library as a whole, for FixedWindowDynamoDB it does not look like a big change, although it would be a breaking change.
The text was updated successfully, but these errors were encountered:
Hello,
Looking at the
FixedWindowDynamoDB
(and probably the others as well), it would be great if thepartitionKey
could be passed as a parameter inIncrement
instead of as part of thestruct
.In highly concurrent scenarios, where multiple keys would need to be handled potentially at the same time, being able to re-use the same
FixedWindow
per table, and not per key, to increase multiple keys via the function call would be ideal.I didn't get a chance to look at the extent of how such a change would impact the library as a whole, for
FixedWindowDynamoDB
it does not look like a big change, although it would be a breaking change.The text was updated successfully, but these errors were encountered: