Public Repository

Last pushed: 2 years ago
Short Description
Flask based demo app to act as a high-performance API for benchmarking applications
Full Description

Provides a demo API with fairly high performance for testing network clients.

Runs HTTP on port 80 & HTTPS on port 443 (with self-signed cert).

APIs:
/ping - returns "pong"
/bigger - returns a fixed 583-character JSON payload
/length/<bytes to return> - returns a fixed-size random binary response. The first run generates the payload and caches it, and after that it is served from the cache.

Ex: /length/1024 - returns a 1024-byte reply.

GitHub source: https://github.com/svanoort/python-client-benchmarks

Docker Pull Command
Owner
svanoort

Comments (0)