PynamoDB
PynamoDB copied to clipboard
memory usage growing as we add models
With each model having its own boto session and client, we're running into memory issues as the number of models in our application grows.
Has anyone tackled this by using a shared session/client across all their models? There does not seem to be a straightforward way of doing this but I'd be surprised if nobody has tried to deal with it.
I am surprised this question has gotten no comments . . . nobody else is struggling with this?
How many models does your application use and how large do you expect the boto client memory usage to be?
Ack, apologies for not responding, must have missed a notification!
Well a few years have passed and I've moved on to another job with an entirely different stack. Not sure how to answer your questions at this point. Feel free to close this, although I believe the general problem is one worth addressing.