Build Stuff'14 has ended
Back To Schedule
Wednesday, November 19 • 14:55 - 15:50
Ian Cooper - Hexagonal Architectures (Slides)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

The term 'hexagonal architecture' has come back and forth in popularity since Alistair Cockburn first mooted it, with the Rails community's recent soul searching over its importance or threat just the latest. So what is a hexagonal architecture, why might you want to use one, and why is the 'Rails just falls away' (https://www.youtube.com/watch?v=tg5RFeSfBM4) threat so discomforting to web framework builders. In .NET how can we make 'ASP.NET just fall away'.

In this presentation we will look at the Layered Architectural style - when we would want to use one (as opposed to the alternatives) and when it is appropriate how to implement one. We will look at how to implement the Ports & Adapters (Hexagonal's 'proper' name) style, explaining what the different layers are.

We will look at the value the command pattern for implementing our ports , explain why Netflix uses it in Hystrix for reliability. On the way we will discuss Retry, Timeout and Circuit Breaker and explain how we can do better than Hystrix with a Command Dispatcher and Command Processor.

We'll show code throughout, including a look at the Paramore. Brighter framework, an OSS version of the platform we use at Huddle to build this kind of architecture.

As a bonus we will round off showing you how easy it is go from sync to async with this approach.

avatar for Ian Cooper

Ian Cooper

Ian Cooper has over 20 years of experience delivering Microsoft platform solutions in government, healthcare, and finance. During that time he has worked for the DTI, Reuters, Sungard, Misys, Beazley, and Huddle delivering everything from bespoke enterprise solutions, ‘shrink-wrapped... Read More →

Wednesday November 19, 2014 14:55 - 15:50 EET
3. Lambda

Attendees (0)