-
Notifications
You must be signed in to change notification settings - Fork 468
Description
Description
Since component_container_isolated spins up a thread for each node, it would be nice to name those threads in a way that operating system tools can identify them easily. This would involve writing code that uses the platform-specific API's with conditional compilation that sets the thread name at the beginning.
Motivation
Identify resource usage quickly by node using tools like htop, system monitor, task manager, etc.
Design / Implementation Considerations
I think it would be best to use the fully qualified node name, but with namespaces, this could quickly get longer than the character limit for thread names, and would require truncation. So it might be better to do just the node name itself, or maybe some kind of identifier, maybe just an index, that could be logged with debug logs?
Additional Information
No response