Some fun with Redis Cluster testing
antirez.com
Some fun with Redis Cluster testing
1–5 of 5 posts
Re: Some fun with Redis Cluster testing
#2Re: Some fun with Redis Cluster testing
#3I think this is a great lesson on testing. I'm excited to see what else he finds.
The test is not repeatable. There was a power outage. Random machine configurations on random network conditions. These are all great ways to stress redis-cluster, which is still young, but they are not repeatable tests.
They are not great tests. Great tests would be a script that can run every 24 hours over a group of servers, simulating or creating similar events and network conditions. Then when a code change is made, you can actually observe if it made things better.
Driving a car across the Sahara Desert can be a good event, but it shouldn't replace Crash Tests in a Lab environment.
Re: Some fun with Redis Cluster testing
#4I think this is a great lesson on testing. I'm excited to see what else he finds.
Why is this a great lesson? The test is not repeatable. There was a power outage. Random machine configurations on random network conditions. These are all great ways to stress redis-cluster, which is still young, but they are not repeatable tests. They are not great tests. Great tests would be a script that can run every 24 hours over a group of servers, simulating or creating similar events and network conditions.…
However I believe that I'll still do the kind of tests described in the blog post since the fact itself that these tests are so "home brew" and cheap make the conditions extremely random and are good at spotting actual real-world deficiencies.
Re: Some fun with Redis Cluster testing
#5I think this is a great lesson on testing. I'm excited to see what else he finds.
Why is this a great lesson? The test is not repeatable. There was a power outage. Random machine configurations on random network conditions. These are all great ways to stress redis-cluster, which is still young, but they are not repeatable tests. They are not great tests. Great tests would be a script that can run every 24 hours over a group of servers, simulating or creating similar events and network conditions.…