DEV Community

Discussion on: Simple web server in Perl and Go, Finally

Collapse
 
ferdnyc profile image
Frank Dana

Hey, here's a question. (I just happened to wander past this again, no idea why. But something jumped out at me.)

In the Perl stats, we see:

Complete requests:      500
Failed requests:        0
Total transferred:      83500 bytes
HTML transferred:       21500 bytes

But the Go stats show:

Complete requests:      500
Failed requests:        0
Total transferred:      117000 bytes
HTML transferred:       21500 bytes

...Why is Go transferring so much more data? Especially for the same amount of HTML served?