Higher abstraction level: Application #13
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lnm#13
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
For my specific usecases, I would like to combine multiple separate LNM-based applications into a single event loop, served by the same process. This lowers resource requirements by letting the services share an event loop.
To achieve this, I'd like to introduce the concept of an "application", a fully self-contained LNM program. One or more of these applications can then be scheduled on the same event loop/HTTP loop, sharing resources as needed.
HTTP requests would be routed to the correct application by inspecting the
Host
header, the same way a reverse proxy would. Implementing this would also bring us one step closer to being able to deploy an LNM-based server as a completely standalone server, without any help from a reverse proxy for handling TLS or separating requests.