Hi,
I'm currently working with @PierreRustOrange on LCAaC through Cloud Assess and I'm facing a critical performance issue.
Using this inventory containing about 300 servers, when accessing /virtual_machines/assess API endpoint:
~/workspace/cloud-assess$ curl -s -w "time_total: %{time_total}s\n" --header "Content-Type: application/json" -o /dev/null --request POST --data @vms-1.json http://localhost:8080/virtual_machines/assess
time_total: 2.553245s
~/workspace/cloud-assess$ curl -s -w "time_total: %{time_total}s\n" --header "Content-Type: application/json" -o /dev/null --request POST --data @vms-10.json http://localhost:8080/virtual_machines/assess
time_total: 25.126882s
~/workspace/cloud-assess$ curl -s -w "time_total: %{time_total}s\n" --header "Content-Type: application/json" -o /dev/null --request POST --data @vms-100.json http://localhost:8080/virtual_machines/assess
time_total: 267.101148s
Response time which is initialy pretty slow for 1 VM (>2s) increases linearly with number of VMs and seems tidly bound to the number of servers in inventory.
My need is for thousands of VMs each hour (more than 4000) and based on this inventory and my testing setup, we can't hardly handle 1500 VMs per hour and potential errors/timeouts will also become fatal issues.
Based on logs and the linear increase, I suspect that for each VM, many redundants processes are done.
Is there any way to introduce caching mechanism to improve response time?
Hi,
I'm currently working with @PierreRustOrange on LCAaC through Cloud Assess and I'm facing a critical performance issue.
Using this inventory containing about 300 servers, when accessing /virtual_machines/assess API endpoint:
Response time which is initialy pretty slow for 1 VM (>2s) increases linearly with number of VMs and seems tidly bound to the number of servers in inventory.
My need is for thousands of VMs each hour (more than 4000) and based on this inventory and my testing setup, we can't hardly handle 1500 VMs per hour and potential errors/timeouts will also become fatal issues.
Based on logs and the linear increase, I suspect that for each VM, many redundants processes are done.
Is there any way to introduce caching mechanism to improve response time?