Comment

Comment by radonek

Services should be designed either as providers, which herd data and do nothing on their own, and workers which actually do stuff but hold no data of their own. Think daemon with a REST api, siting on a database and cronjob implementing some business logic.

This pattern avoids transitive dependencies, especially "errors from faraway lands".

parent radonek 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton