I have set up dgraph on a VM. When I run some load test on it, I notice the response time is pretty slow. Here is my set up.
VM: F16s (16 CPU, 32GB memory)
Disk: Premium SSD
OS: Ubuntu 18.04
I just followed the doc https://dgraph.io/docs/deploy/single-host-setup/ and ran ratel, alpha and zero using docker. I loaded about 5GB of data in it.
I tested it with simulating 50 concurrent users and got response time of ~700ms. When I use 100 users, the response time jumped to ~1.8 sec.
During the test, I found that the CPU load became very high.
Is this response time normal? How can I improve the performance?