What You’ve Done So Far
You had Message Store code that could write messages, and now the autonomous components you’ll write in this system have a means to automatically get new messages as they happen. Or at least close enough to “as they happen.” You just turned the Message Store into not only a database but also a data transport. The Message Store is now an effective communication medium, enabling the pub/sub, decoupled architecture we’re after. You achieved this by writing a polling mechanism that works for any of your components in this system.
Now, polling is to software architecture as a basic rice and beans meal is to cuisine. It isn’t fancy and it won’t get you featured at the latest architectural conferences, but it gets the job done ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access