Go to file
Stephanie Sunshine af05060def fixing template to include Javascript endpoint 2022-01-05 04:42:11 -08:00
.github/workflows Use github actions to ensure code is formated. 2022-01-04 20:47:07 -05:00
templates fixing template to include Javascript endpoint 2022-01-05 04:42:11 -08:00
.dockerignore Add Dockerfile and docker-compose.yml 2020-10-05 09:55:52 -04:00
.gitignore Progress 2018-12-27 22:12:12 +00:00
.version Add nix flake files 2020-11-15 21:19:12 -05:00
Dockerfile Add Dockerfile and docker-compose.yml 2020-10-05 09:55:52 -04: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
default.nix Add nix flake files 2020-11-15 21:19:12 -05:00
docker-compose.yml Add Dockerfile and docker-compose.yml 2020-10-05 09:55:52 -04:00
flake.lock update nix config 2022-01-04 17:42:51 -05:00
flake.nix update nix config 2022-01-04 17:42:51 -05:00
go.mod Update lock file 2022-01-04 17:07:59 -05:00
go.sum Update lock file 2022-01-04 17:07:59 -05:00
main.go go fmt 2022-01-04 17:07:48 -05:00
shell.nix Add nix flake files 2020-11-15 21:19:12 -05:00
web-service.systemd Added Javascript endpoints and systemd service example 2022-01-04 17:06:08 -05: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