Write Test Cases
Test Iteration 1
Test Environment | |
---|---|
CPUs | 2 vCPU |
Memory | 4 Gi (~4.2 GB) |
Data Size | 269 KB/DataNode |
VM/K8s cluster | K8s cluster application (CPS) instance - 1 postgres instance - 2 |
Bulk insert in Kubernetes cluster
# | #Nodes | Thread | Time taken to post single node | Time taken to post all data nodes | Comments |
---|---|---|---|---|---|
1 | 50 | 1 | 0.8 sec | 42.6 sec | |
2 | 500 | 1 | 0.9 sec | 9 m 36 sec Connections drops for a while and resumes | Reason For Connection drops: Application restartsĀ due Out OF Memory ErrorĀ |
3 | 500 | 10 | ~ 1.2 sec | 8 m 42 sec | No improvements with increased threads count |
Test Iteration 2
Test Environment | |
---|---|
CPUs | 4 vCPU |
Memory | 8 Gi (~48.5 GB) |
Data Size | 269 KB/DataNode |
VM/K8s cluster | K8s cluster application (CPS) instance - 1 postgres instance - 2 |
Bulk insert with single thread in Kubernetes cluster
# | #Nodes | Thread | Time taken to post single node | Time taken to post all data nodes | Comments |
---|---|---|---|---|---|
1 | 500 | 1 | 0.8 - 0.9 sec | 7m 53 sec | Not able to post more than 500 nodes which lead to application pod restart with the the reason code 137 (OOMKilled) |
Test Iteration 3
Test Environment | |
---|---|
CPUs | 8 vCPU |
Memory | 16 Gi (~17 GB) |
Data Size | 269 KB/DataNode |
VM/K8s cluster | K8s cluster application (CPS) instance - 1 postgres instance - 2 |
Bulk insert with single thread in Kubernetes cluster
# | #Nodes | Thread | Time taken to post single node | Time taken to post all data nodes | Comments |
---|---|---|---|---|---|
1 | 500 | 1 | ~0.9 sec | 7m 44 sec | Not able to post more than 500 nodes which lead to application pod restart with the the reason code 137 (OOMKilled) |
Test Iteration 4
Test Environment | |
---|---|
CPUs | 12 vCPU |
Memory | 16 Gi (~17 GB) |
Data Size | 269 KB/DataNode |
VM/K8s cluster | K8s cluster application (CPS) instance - 1 postgres instance - 2 |
Bulk insert with single thread in Kubernets cluster
# | #Nodes | Thread | Time taken to post single node | Time taken to post all data nodes | Comments |
---|---|---|---|---|---|
1 | 500 | 1 | 0.8 - 0.9 sec | 7m 23 sec | Not able to post more than 500 nodes which lead to application pod restart with the the reason code 137 (OOMKilled) |
Test 1: initial bulk insert (single thread)
# | #Nodes | Time Taken | ... | Notes |
---|---|---|---|---|
1 | ||||
2 | ||||
3 |
Test 2: bulk insert, cps temporal notifications disabled (single thread)
# | #Nodes | Time Taken | ... | Notes |
---|---|---|---|---|
1 | ||||
2 | ||||
3 |