Re:Understanding N + 1 queries problem
by hgsgm on Monday January 02, 2023 @06:52PM
(#34225452)
You can cache the database or part of it in memory.
[ Parent
| on HN ]
Honestly, these workarounds to avoid doing a better architecture or to mask algorithmic complexity just come back around you to byte you.