I decided to try it out because I was curious myself. I am not a Go programmer and, in fact, this is literally the first Go program I’ve ever written, but I was able to make it work. I updated the gist I linked in my original post to include that Go app.
The Go server uses the same amount of CPU. Hope you’re sitting down for this next part:
Thread Stats Avg Stdev Max +/- Stdev
Latency 129.40us 91.54us 7.59ms 95.51%
Requests/sec: 69332.77
… and Crystal beats it in throughput by 56%. Feel free to check my work because, like I said, this is the first Go program I’ve ever written.