{"repo":"openfaas/of-watchdog","free":true,"listed":false,"github":"https://github.com/openfaas/of-watchdog","clone":"git clone https://github.com/openfaas/of-watchdog.git","description":"Reverse proxy/middleware for functions using STDIO/HTTP","language":"Go","stars":266,"topics":["watchdog","stdout","faas","sidecar","lambda","kubernetes","functions","stdio","http","api"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"of-watchdog Reverse proxy/middleware for functions using STDIO/HTTP The of-watchdog implements an HTTP server listening on port 8080, and acts as a reverse proxy for running functions and microservices. It can be used independently, or as the entrypoint for a container with OpenFaaS. This version of the OpenFaaS watchdog adds support for HTTP proxying as well as STDIO, which enables reuse of memory and very fast serving of requests. It does not aim to replace the Classic Watchdog, but offers another option for those who need these features. A download is made via GitHub releases, but the watchdog is meant to be copied from the container image published to ghcr.io in a multi-stage build: See example templates Goals Keep function process warm for lower latency / caching / persistent connections through using HTTP Enable streaming of large responses from functions, beyond the RAM or disk capacity of the container Cleaner abstractions for each \"mode\" Modes There are several modes available for the of-watchdog which changes how it interacts with your microservice or function code. A comparison of three watchdog modes. Top left - Classic Watchdog, top right: afterburn (deprecated), bottom left HTTP mode from of-watchdog. 1) HTTP mode - the default and most efficient option all template authors should consider this option if the target language has a HTTP server implementation. 2) Serializing mode - for when a HTTP server implementation doesn't exist, STDIO is read into memory then ","default_branch":null,"files":null,"tree":[],"storefront":"/r/openfaas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openfaas/of-watchdog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}