3 ms·
This is like the classic advice on optimization. The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for expe
by btilly 3y ago
This is like the classic advice on optimization.
The First Rule of Program Optimization: Don't do it.
The Second Rule of Program Optimization (for experts only!): Don't do it yet.
It is because I know what a database actually does for me, and because I've had to write parts of that for myself, that I deeply understand why I don't want to write one. And why I want to push those problems to a database if I can.
Of course you should ignore my advice if you're named Jeff Dean. Look through https://research.google/people/jeff/ https://research.google/people/jeff/. Among his other projects, look at BigTable, LevelDB and Spanner. All are databases, implemented for good reasons.
- slowmovintarget 3y agoOr if you're Rich Hickey (Datomic).