I have a requirement where i need my database to store the following data:
- For each build, store the results of 3 performance runs. The result includes tps and latency.
Reading up on cassandra data model, this directly maps to a super column family of the following format:
BenchmarkSuperColumnFamily= {
build_1: {
Run1: {1000K, 0.5ms}
Run2: {1000K, 0.5ms}
Run3: {1000K, 0.5ms}
}
build_2: {
Run1: {1000K, 0.5ms}
Run2: {1000K, 0.5ms}
Run3: {1000K, 0.5ms}
}
...
}
But, i read in the following answer that the use of Super Column family is discouraged. I wanted to know if there is a better way of creating a model for my requirement.
PS, I borrowed the JSONish notation from the following article