FSX / momoko

Wraps (asynchronous) Psycopg2 for Tornado.
http://momoko.61924.nl/
Other
363 stars 73 forks source link

Dropped deque() in Connection.transaction to reduce memory fragmentation. #89

Closed drewmiller closed 9 years ago

drewmiller commented 9 years ago

This edit seems to have reduced some of the fragmentation long-running processes experience after executing very large transactions.

haizaar commented 9 years ago

That's interesting.

Can you post some numbers? How many statements do you pass to one transaction method? How did you observe memory fragentation?

haizaar commented 9 years ago

Implemented as part of the rewrite with futures. Thanks for the idea.