Skip to content

Learn indexing dammit

gun.io
7 pointstejay2 comments
On HN

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.

agreed. yes, they are a bit out of order.

AboutSource Built by g1lg1l

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