Can Go cold start?
A Go based HTTP service as a comparison
In this installment of the series
we are using examples created using Go to cold start a HTTP service.
If you want to run the experiment yourself you can download the
example.tar.gz file.
| Example |
Process start |
Process ready |
Process total |
| Example 48 - Go |
13 ms |
0 ms |
13 ms |
These numbers were collected on a Mac Mini M1 with 16GB using Java 17
Legend
- Process start - the amount of time it takes before the runtime
is executing your code.
- Process ready time - the amount of time it takes for the HTTP
server to be ready for processing.
- Process total - the total time (process start + process
ready).
If you have any comments, suggestions or concerns, please start a
discussion
on GitHub.
Posted November 15th, 2021
Up