The amount of caching I see in a Rails app is inversely correlated to that app's performance. My theory is people use it to band-aid over bad SQL, and it never works.

4
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Pascal

@nateberkopec in that regard i find that ORMs are hurting perf (and quality) because „nobody“ knows SQL and DB modelling.

0
2mo
akahn

@nateberkopec I wonder how many hours of gnashing could be alleviated by scaling up the DB server. After all, the database server has its own cache which is quite smart, as does the operating system. 😁

1
2mo
Spectral :blobcatfakeverified:

@nateberkopec usually it works in the beginning, giving you false sense of relief and then it got even worse.

0
2mo
Johan Halse

@nateberkopec I switched our app over to Phlex which just plain doesn’t work with fragment caching. I had to preload here, add an index there, generally fix things up instead of just going “meh, it’s all cached anyway.” App feels a little better for it but I gotta say I miss the lightning-fast cache hits for some pages

0
2mo
Replies