Create a framework for allocating ports (TCP/UDP)
Overview
When adding a new service into the GDK, it can be difficult to determine:
- Which ports (TCP/UDP) are already in use
- Which port to assign to the new service
- Ensure there are no clashes where more than one service wants to listen on the same port
Proposal
Create a framework for allocating ports (TCP/UDP), making the process easier by:
- Introducing a new
port()
configuration type - Linking each port with a textual name, for greater clarity
- Support 'claiming' a port when a new
port()
is defined - Detecting and notifying when a port is already claimed
Impacted categories
The following categories relate to the issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.