aiohealthcheck: super-simple TCP health-check endpoint
Project description
aiohealthcheck
This tiny module provides a simple TCP endpoint, suitable for a healthcheck in your microservice application. All it provides is a simple TCP endpoint on a port to allow a container orchestration service to connect to, to verify that the application is up.
Demo
Pretty much just start up a long-lived task with the provided tcp_health_endpoint() coroutine function:
t = loop.create_task(aiohealthcheck.tcp_health_endpoint(port=5000))
The internal TCP server will be shut down when the task is cancelled, e.g., during your app’s shutdown sequence.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aiohealthcheck-2017.12.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18303570707a279b16fd6cd9c4989bca940f5134f5e4062740dc2cabe7d00cf2 |
|
MD5 | d84d2a960dc3478f80de1c07d2e33d20 |
|
BLAKE2b-256 | 6fcbf21467fddfff6ddc70a5ecb81d08125dd2e8592ad01790cd5788227e8f21 |