我正在开发一个甚至还没有在线的网络应用程序。 正在实施 memcache 或 memcached 从现在 em>有点过早? 我是否应该仅在以下情况下使用它: p>
或者最好在开发期间实现? p>
此外,在哪些情况下使用缓存接口 不必要甚至不鼓励? p>
div>
I'm working on a web app that's not even online yet. Is implementing memcache or memcached as of right now a bit premature? Should I use it only if:
- the web app is up, and
- the database is having a poor performance due to a high traffic/load?
Or is better to implement during development?
Also, in which cases is using a caching interface unnecessary or even disencouraged?