Go to file
Malte Reddig e9feea4898 Add HOSTNAME Env Variable
The HOSTNAME Env Variable adapts the HTML template to the current hostname.

This is by default `ifconfig.io`
2020-10-05 09:55:52 -04:00
templates Add HOSTNAME Env Variable 2020-10-05 09:55:52 -04:00
.gitignore Progress 2018-12-27 22:12:12 +00:00
LICENSE Adding dummy readme and license file 2014-07-09 11:17:34 -04:00
README.md Fix readme typo: adverage -> average 2020-09-05 12:30:36 -04:00
go.mod Delete dead code paths 2020-07-24 19:00:35 +00:00
go.sum Delete dead code paths 2020-07-24 19:00:35 +00:00
main.go Add HOSTNAME Env Variable 2020-10-05 09:55:52 -04:00

README.md

ifconfig.io

Build Status

Inspired by ifconfig.me, but designed for pure speed. A single server can do 18,000 requests per seconds while only consuming 50megs of ram.

I used the gin framework as it does several things to ensure that there are no memory allocations on each request, keeping the GC happy and preventing unnessary allocations.

Tested to handle 15,000 requests persecond on modest hardware with an average response time of 130ms. LoadTest