I noticed an abnormal performance degradation of hashicorp vault - pki engine, when certificate requests were made in parallel. I need to know,
i. Whether this is expected ? (No publicly available SLA stat for HashiCorp vault)
i. what is causing the sever slowdown of concurrent certificate requests
ii. what are the suggestions to improve performance of the vault
I used following script in 16 parallel sessions to request certificates from pki engine
Following is the response time in milliseconds. P1 to P16 are different sessions (threads)
Please note that when the certificate requests were made from a single session, there is a significant performance gain
Please refer following graph (response time in milliseconds) for requesting certificates from a single session.
To setup pki engine, i used the guideline mentioned in PKI - Secrets Engines - HTTP API | Vault by HashiCorp (I can provide the script i used to setup pki engine if you think this could be a configuration issue). I used raft as the storage.
Vault version: Vault v1.4.2