Fallibility of starting a trillium server #198
-
Hello. The question arose while I was trying to implement a toy book library utility that provides an optional web interface. The runner's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
One aspect of trillium's modularity is that components like the runtime adapters are intended to be modular as well. The current runtime adapters are primarily intended for ease of use for running servers where if they cannot bind to the specified host/port, the process should exit. It would not be difficult to either extend the current adapters to support fallible server starting, or build a new adapter that supports that special use case. A goal for trillium is to have a specific production use case in mind when making changes to an interface that impacts all users. What would you want to happen if you couldn't bind to the specified host and port? |
Beta Was this translation helpful? Give feedback.
One aspect of trillium's modularity is that components like the runtime adapters are intended to be modular as well. The current runtime adapters are primarily intended for ease of use for running servers where if they cannot bind to the specified host/port, the process should exit. It would not be difficult to either extend the current adapters to support fallible server starting, or build a new adapter that supports that special use case. A goal for trillium is to have a specific production use case in mind when making changes to an interface that impacts all users. What would you want to happen if you couldn't bind to the specified host and port?