abiosoft / abiosoft/caddy-exec

Question: auto-sleep / wake-up mechanism

未关闭
#27 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
155
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

Question: Can this module be used in the following scenario =>

I use `supervisord` to start and stop my server.

Ideally, I would like my server to start when the first request comes in and then stay running as long as more requests are coming in. I would also like to define an idle time after which my server would stop automatically **(to save resources)** when no more requests are coming in (for example after one minute).

Is it possible to achieve this `auto-sleep/wake-up` mechanism with this module?

The idea is to host multiple servers on the same PC and let `Caddy` decide which ones should be running and which ones should go to sleep according to incoming requests.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。