essentially need suggestion on design here - not looking actual implementation. need create class hold queue can shared between multiple instances of other classes. queue hold jobs need executed 1 one. user may add more jobs queue @ point. approach here?
i know singletons bad-ish i'm not rushing crete 1 not sure what's design in case. feels creating full blown service bit of overkill queue used scheduling jobs can executed quite fast , service asks lot of resources. don't care if app gets killed , queue nullified.
any suggestions? thanks
Comments
Post a Comment