funny_falcon·3 दिन पहले·discusssystems, upstart or even simple primitive script wrapper.Built-in is also possible: just fork once after start, and you have parent as watchdog and restarter.
funny_falcon·2 वर्ष पहले·discussReadability, reproducibility, and simple LRU.Reproducibility matters for tests, they become simpler. Some other algorithms become simpler as well.LRU is just a dict with preserving order: on access just delete and insert again.
Built-in is also possible: just fork once after start, and you have parent as watchdog and restarter.