|
|
|
|
|
by jrogers65
4845 days ago
|
|
I'll do some testing this weekend by mounting an SSHFS as my swap partition and removing all but a 256MB RAM module then opening several dozen instances of FireFox. My calculations show that this will have terrible performance but I want to ensure that my software engineering is robust. Testing your assumptions is something that you're supposed to do when you hit a wall, not when you're driving through a field. |
|
But do you have enough information about how Redis accesses memory under the benchmark in question, combined with the OS page replacement strategy, combined with the characteristics of SSDs, to know the results beforehand? You can guess, for sure; but do you know?
If we all follow your approach, we'll never be surprised unless we get stuck; and if we know what we think we know as well as you seem to think we know it, we shouldn't get stuck in the first place. We should have assumed that we would have gotten stuck, and avoided it.
The article has relatively low value in terms of information content, but the mindset is to be commended. It should have given the author better intuitions about the 3 factors mentioned above. Modern, non-budget systems very seldom thrash; there's a younger generation coming along who've never experienced systems frozen in that way.