maestre3d / dynamoql-go

An ORM-like lightweight toolkit for Go applications interacting with Amazon DynamoDB.
https://pkg.go.dev/github.com/maestre3d/dynamoql-go
Apache License 2.0
1 stars 1 forks source link

Implement a Transaction Context #4

Closed maestre3d closed 2 years ago

maestre3d commented 2 years ago

Replicate C# .NET Entity Framework's Transaction Context to enable transactions outside the persistence layer.

maestre3d commented 2 years ago

Use freecache package or similar to limit context's memory footprint.

maestre3d commented 2 years ago

Use freecache package or similar to limit context's memory footprint.

Won't use freecacje anymore as this will limit total concurrent tx stored.

Nevertheless, DynamoQL could limit transaction batches to reduce overall memory footprint and toolkit bad usage that degrades performance.