jvoegele/external_service

State agent is wasting resources when fuses have uniform configuration

Closed this issue · 0 comments

a3kov commented

State agent is totally unnecessary when you have uniform configuration for all fuses. Imagine a project with hundreds of thousands fuses, for different but similar services or different sections of the same service. Then you would have hundreds of thousand processes wasting resources storing redundant information.
In my opinion this should be pluggable. Uniform configuration should have no state at all. If each fuse has different configuration - you may want to use ETS, for example.
Also if a user of the library will run a process such as Agent, they should be able to do it under their supervision tree. It shouldn't be the library concern.