cjose
cjose copied to clipboard
CPU usage for routine cjose_jws_verify
When the I am using ECDSA/RSA public key to verify the token its taking more time compare to secret key. Is there any way I can improve the performance. My application is single threaded signal based application and this routine is reducing the performance from 9000 TPS to 1000TPS.
Regards Veeranna
RSA in general is quite slow. I'd recommend you switch to using a symmetric algorithm if you want performance.