Recently work had me diagnose some slowness on an internal webapp. It uses SQLAlchemy and was being a bit silly with a few of its queries. This weekend I had to diagnose a slowness in mailman3 -- turned out it was doing similar -- gitlab.com/mailman/mailman/-โ€ฆ ORMs BAD, MMKAY?

Apr 19, 2020 ยท 4:43 PM UTC

2
1
6
Replying to @dsilverstone
I wish twitter would let me "like" this 9001 times.
1
Seriously, I know I whine a bit at work about SQLAlchemy, but I did not expect to have to be incandescent with rage about it on a Sunday evening too :(
Replying to @dsilverstone @fanf
What does it have to do with ORM itself though? It looks like a typical n+1 problem instead and could be perfectly done in the same way with raw SQL? Or am I missing smth?
1