3 ms·
Poor design. Sharing code between microsercices is always a design smell. You are just building services on top of another monolith... Sounds like you needed
by ryanthedev 6y ago
Poor design. Sharing code between microsercices is always a design smell.
You are just building services on top of another monolith...
Sounds like you needed to abstract the work being send to the worker, instead of abstracting the worker around the work.
Meaning don't have many workers for one payload type. Abstract the payload and have a single worker...
That's why most systems become complex and spaghetti. Poor abstraction, so you use shared code to fix it...