in reply to Re: SQL Result Cache Performance Comparison
in thread SQL Result Cache Performance Comparison
I agree that (at least with MySQL as the DB, accessed through Unix sockets) it would only be beneficial to use Cache::MemoryCache or *::FileCache to cache more complex queries or data that require a significant amount of perl execution time to construct. (Example: complex joins, selects that return many rows which must be iterated over to retrieve the data, or data structures that are built by combining the results of several queries). Another possible use is in a multi-server environment, where caching lets you transfer part of the work load from an overloaded database server to an less overloaded application server even without a single process performance gain.
Any ideas why there is so little performance difference between Cache::FileCache and Cache::MemoryCache in this benchmark? Is that realistic?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: SQL Result Cache Performance Comparison
by IlyaM (Parson) on Jul 24, 2002 at 15:44 UTC |