抛弃在Hibernate的二级缓存使用Memcached
Memcached就像一个调皮的精灵,在你困难的时候,他会跳出来帮你一把,那绝对是雪中送。
不过,也如精灵的天性一样,喜欢冲破任何约束,感觉都不太可靠。
在Hibernate的二级缓存加上Memcached,似乎是把这个精灵捆住了,也正因为如此,Memcached不再是Memcached了。
扔掉这种想法吧,如果你使用了Memcached,就要做好他上窜下窜的准备,这就是他的魅力。
| Print article | This entry was posted by Herbert on 2009/07/19 at 23:54, and is filed under Architecture, Database, Web. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |