Cache & Query Time

Does AshPostgres cache queries?
4 Replies
ZachDaniel
ZachDaniel3y ago
It uses ecto under the hood, so to the extent that ecto caches queries, ash postgres does. Have you noticed issues with that behavior?
harry
harryOP3y ago
Not really yet, I was just pre-loading and noticed it fired ~3 queries
frankdugan3
frankdugan33y ago
I can fire several queries, but it is pretty well optimized for consistent performance, something like dataloader pattern. Won't run into N+1 issues.
harry
harryOP3y ago
Cool, thanks 🙌🏼

Did you find this page helpful?