BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Events bring Simplicity to a System's Architecture

| by Jan Stenberg Follow 6 Followers on Apr 29, 2013. Estimated reading time: 1 minute |

Using events for interactions between small business components can bring simplicity to a system's architecture, Russ Miles explained last week when talking about Architectural Simplicity through Events.

Simplicity really matters, Barbara Liskov said in a keynote at QCon London 2013, and Russ Miles, a Principal Consultant, strongly agrees. His experience is that teams often are slowed down by the increasing size and complexity of the code they write, and he believes that architecturally led simplicity is the best way to help teams keep their momentum and speed up.

For Russ, component structure is important in bringing simplicity to architecture. Placing components in a traditional layered model often creates a mess and he has therefore created a Life-Preserver model, (formed as a ring), with all infrastructure software, dealing with integration, on the ring, and core business components which adds business value, inside the ring.
He notes that this pattern is very similar to the Hexagonal architecture style created by Alistair Cockburn.

Events
Next step is defining how components collaborate with each other. Since we may not know all interactions from start, flexibility can be maintained by sending events. The only contract for a component is then the events it receives and the events it broadcasts which gives us a standard event-driven architecture but at the component level.

Pipes and Filters
In one further step Russ reduces his components to almost functions, and moves from strongly typed events to just simple data, e.g. in the form of documents or XML, making the core communicate the same way as the integration components communicate with the outside world. This final step makes the architecture all about sharing immutable data between tiny components doing one thing with data and returning data, which is the pipes and filters pattern, but inside a system's architecture.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT