Here's a design question. I have a certain lookup table that doesn't change. It will have about 1000 rows. It may change once every few months.
Should I be holding it in memory, having each PHP app instance 'load it up once' from the DB when it loads and serve it from memory? or should I just query the DB every time it's used?
If using this lookup was a "one million transactions per second" thing, it would have been a no brainer, in-memory. But it's not -- this may be called upon a few times a second only, maybe 5 or 6... but not anymore.
What would you do?