abiosoft / abiosoft/caddy-exec

Question: auto-sleep / wake-up mechanism

Đang mở
#27 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
155
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.