It is worth the time to figure out how to get query caching working for you.
花时间确定如何让查询缓存为你工作是值得的。
Although you can use memcached to store the rows of data as loaded from a database, this is really query caching, and most databases provide their own query-caching mechanism.
虽然可以使用memcached存储加载自数据库的数据行,但这实际上是查询缓存,并且大多数数据库都提供各自的查询缓存的机制。
Moreover, if you decided to cache based on the individual unique parts of a SOAP envelope, there is no way to indicate if the query is suitable for such caching.
此外,如果您决定在一个SOAP信封单独的、唯一的部分的基础上进行高速缓存,那么没什么办法来表明这个查询是否适于这种高速缓存。
应用推荐