abiosoft / abiosoft/caddy-exec

Question: auto-sleep / wake-up mechanism

Ouverte
#27 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
155
Forks
21
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.