There are two things we are trying to accomplish with the Simple IoT client model:
- Clients don’t have to manage lifecycle issues
- Clients are decoupled from the rest of the system
So I don’t think twice about spinning up more clients/goroutines if I can accomplish the above – because clients and goroutines are cheap if the client manager can manage them. If I have to manage them manually, then they are not cheap.