Hacker News new | ask | show | jobs
by throwup238 270 days ago
“Dropping” something from a “new” project is premature optimization?

Wherever you go, there you are.

3 comments

Presumably adding Redis to a new project with no performance issues (yet?) is the premature optimisation.
If you are optimizng for simplicity it may not be, as the use as a cache is much (much) more straightforward. Also, for a new project, I'd go with in-memory service-level cache as it outperforms both (in any metric) and can be easily replaced once the need arises.
I read it as dropping something that _had been_ a premature optimisation.
I was referring to adding redis prematurely