Skip to content

Comment on Learn indexing dammit

Comments

Maybe those 5 "conventions" are in no particular order, but I'd argue you should first check your indexes and only then consider "trying cacheing". Also, I'd think it'd be better to create indexes after "rewriting your code to use raw SQL", as indexing is usually (meaning almost always) designed to support queries; hence, you need to have queries first.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.