zeller
zeller

Reputation: 4974

Turn off cache for loadtests?

When measuring the throughput of a system that inherently caches (on the server side), should I turn the cache off to measure the worst-case, first load time, or is it irrelevant, as the great average is not really influenced by that one not cached call?
The actual system operates with image data (DICOM).

Upvotes: 0

Views: 174

Answers (1)

zeller
zeller

Reputation: 4974

Here's what I think:
If you want to test the system as it will work in production, use the same setup as in production. If you want to test a standalone component, feel free to disable any related components to make it separated.
For a load test it might be reasonable to disable the cache, but this is purely just for measurements. It won't reflect the real characteristics of the system.

Upvotes: 1

Related Questions