openfaas / of-watchdog

Reverse proxy for STDIO and HTTP microservices
MIT License
259 stars 115 forks source link

[HELP WANTED]How the share of database connection between child process implemented #95

Closed jonyhy96 closed 4 years ago

jonyhy96 commented 4 years ago

I noticed that the architecture says that: This version of the of-watchdog brings new features for high-throughput and enables re-use of expensive resources such as database connection pools or machine-learning models. as well as the golang-http-template mentioned that.

How is this feature implemented?

jonyhy96 commented 4 years ago

The functions are running as a un-stop process, so the resource is able to reuse.