Closed YunaBraska closed 4 months ago
Benchmarks are not easily to do since virtualization still depends on the shared hardware limits and hosting a machine like I did with a Raspberry Pi depends on physical network layers like gateways, proxies, kernel port bind limits, etc. At the end, Spring Boot and Nano performed nearly equally with a huge difference in resource consumption. But Spring boot does pretty well from the response times, even it does a lot of more request handling. Spring boot probably has some caching mechanism.
@Kazim1101 we can review this, but for me the topic is done. It does not make sense to publish these tests when the metrics are too hard to understand like these from Gatling.
Description
To measure the success, It's needed to compare Spring Boot Rest with ObjectMapper and Nano with the HttpService. Nano and Spring boot are not reactive but usually non-blocking.
Requirements:
Spring Boot
Nano
TestMap 1
authentication
header value equalsbearer mock token
TestMap 2
TestMap 1
but now with an invalid userTestMap 3
TestMap 1
but now trying to access an unknown endpointTestMap 4
TestMap 1
but now access an endpoint which throws internally an exception