James,
One more tidbit (perhaps you already saw this).
https://www.400power.com/node/323
Sounds a bit like what you are experiencing?
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
GIAC Cloud Penetration Tester
AWS Certified Cloud Practitioner
Microsoft Certified: Azu
There is a springboot plugin for api development that integrates security.
Its called spring-boot-beapi-starter
I have run it on a Raspberry pi with 1gb of memory.
On a 3.2GHZ machine with 4 cores, it can get 7000/rps with full security
(cors, jwt, oauth, etc)... and this is not headless and with