tivvit / shush-benchmarks

self-hosted url shortener - benchmarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shush benchmarks

Speed benchmarks for self-hosted url shortener in several languages and frameworks.

This is a research repository for benchmarking of very limited set of web technologies and frameworks. The purpose of the project is to help make framework choice for the shush project based on data.

The benchmarks were run on 16 cpu 8GB RAM virtual machine in Docker environment.

Each server implementation is capable of loading redirect definitions from JSON file (1M urls) to memory and respond with appropriate http redirect or 404.

Wrk was used for the testing (with params -c64 -d5s -t8) using lua script which preloads test urls selected from the known urls with exponential distribution.

All results show number of requests per second handled by the server.

complete-chart

Per language

Python python-chart

Go python-chart

See all plots in plots

See all results in reports

About

self-hosted url shortener - benchmarks

License:MIT License


Languages

Language:Python 57.6%Language:Dockerfile 12.3%Language:Lua 10.2%Language:Go 8.4%Language:JavaScript 6.1%Language:Rust 5.4%