13 ms·
Install the Bullet gem and see if your queries look sharp!
by danvayn 10y ago
Install the Bullet gem and see if your queries look sharp!
- hosh 10y agoAlready did. That wasn't the issue. I get that you're trying to help, but you don't really understand the problem and why GenStage would help it. The issue isn't N+1 queries but in concurrency and reasoning with concurrency, something that Rails, and many Rails developers seem to avoid. See also: https://news.ycombinator.com/item?id=12074425 https://news.ycombinator.com/item?id=12074425