This post benchmarks the performance of Java and Golang applications running on Kubernetes, focusing on CPU and memory usage, application startup times, and latency measurements under various scenarios. Java applications use the Quarkus framework, while Golang uses the Fiber framework. The tests include REST API endpoints, S3 file uploads, and database operations. Overall, Go's application showed lower latency and CPU usage, though Java's memory usage was comparable under load. Compressed image sizes and startup times were also compared, with Go performing better in these aspects.
•16m watch time
2 Comments
Sort: