Skip to main content

Beyond the Code: The Videos

I’ve given my Beyond the Code: Designing Services That Stand the Test of Time presentation a few times now. It started as a talk I put together for the ACCU Conference - which wasn’t accepted - and has evolved quite a bit as I’ve presented it to different audiences, and had conversations with people afterwards.

The original idea was fairly simple.

As software engineers, we spend a lot of time thinking about business logic. We think about the domain model and how to operate on it, the workflows, and the data. These things are obviously important, but a service is more than its business logic.

The things around that logic matter too. How the code is structured. Where responsibilities live. How components communicate. How we expose functionality through APIs. How we deal with failures. How we observe what the system is doing. What we test, and how.

These decisions can have a significant impact on how easy a service is to understand, maintain and change. Because while almost everything about a system will eventually change, the need to deal with that change won't.

The Videos

The first part of my presentation starts by exploring what a service actually is.

The word is used for lots of different things in software engineering. Sometimes it means a class containing some business logic. Sometimes it means a web application. Sometimes it means a microservice. These aren't necessarily the same thing.

I start with the fundamentals before getting into the more interesting architectural decisions. From there, I talk about service boundaries, business capabilities, monoliths and microservices, and the trade-offs involved in choosing between them.

I also cover scaling, observability and APIs, before getting into some of the principles I think are important when designing services. There are plenty of opinions in this part of the talk. Some of them are deliberately stronger than others.

This is where I get into RESTful interfaces, asynchronous communication, security, authentication and some of the ways services interact with each other.

I don't think every architectural decision has one universally correct answer. Context matters. The business matters. The team matters.

But there are some principles I think are worth holding onto.

One of the things I wanted to emphasise throughout the presentation is that good architecture isn't about creating the most sophisticated system possible.

In fact, I think that's often the opposite of what we're trying to achieve.

We're trying to create boundaries that allow things to change independently.

We're trying to keep components cohesive and loosely coupled.

We're trying to make the system understandable to the people who have to work on it six months, two years, or ten years from now.

That doesn't mean we should design everything for a hypothetical future. I've seen plenty of systems where engineers have spent time solving problems they don't actually have.

It means we should make deliberate decisions about where we put our boundaries and understand the consequences when we cross them.

Part 1

Part 2

Stand the Test of Time

The title of the talk came from something I've been building towards throughout my career. Software doesn't need to be perfect. It does need to survive change.

The technology will change. The business will change. The people working on the system will change. The scale will change. Requirements will change. Things we thought were temporary will turn out to be permanent, and things we thought were permanent will disappear.

Good software design doesn't prevent that change. It makes the change easier to deal with. That's really what Beyond the Code is about. Not a particular architecture. Not a particular technology. Not a checklist of things every service must have.

It's about the decisions we make around the code that determine how well that code will cope with everything that comes after it.

If you've watched either part, I'd be interested to hear what you think. I'm particularly interested in where you agree, where you disagree, and which of these principles you've found useful in your own systems.


Comments

Popular posts from this blog

It's great to be back at the ACCU Conference 2025!

Last week I was back at the ACCU Conference in Bristol, for the first time since I gave an opening keynote in 2019 . In March 2020, COVID hit the UK and I got out of the habit of attending and speaking at conferences. Plus the ACCU Conference, and the organisation in general, took a big step back towards C++ and that hasn’t been relevant to me for nearly two decades. It’s taken until now, 2025 for me to want to talk again, and I was really pleased to be accepted for the ACCU Conference again. It was just a 20 minute session and I only attended for the day I was speaking. There was enough varied content for it to be interesting to me and I’m hoping to be back for the full conference next year. I really enjoyed attending and it was great to catch up with people I hadn’t seen for years. I felt re-engaged and particularly liked being asked if I’d been to nor(DEV):con . Learning to stop writing code (and why you won't miss it) Daisy Hollman I should have read the summary of the openin...

I, Robot

The Foundation series has been my go to for a good, enjoyable read over the last two years, so naturally I moved on to Asimov’s Robot series afterwards. However, the short stories in I, Robot were mostly a disappointment. They feel self indulgent, with too much philosophy and science, Asimov showing off, and not enough story. The most enjoyable moments come from the stories featuring Gregory Powell and Mike Donovan. Their banter and the relationship between them provide some much needed amusement and were easily the highlight of the book for me. However, it did give me food for thought for the current potential issues with the rapid development of AI at the moment, and the many concerns around safety. I wonder if all we need is: An AI may not injure a human being or, through inaction, allow a human being to come to harm. An AI must obey the orders given it by human beings except where such orders would conflict with the First Law. An AI must protect its own existence as long as such p...

Write Your Own Load Balancer: A worked Example

I was out walking with a techie friend of mine I’d not seen for a while and he asked me if I’d written anything recently. I hadn’t, other than an article on data sharing a few months before and I realised I was missing it. Well, not the writing itself, but the end result. In the last few weeks, another friend of mine, John Cricket , has been setting weekly code challenges via linkedin and his new website, https://codingchallenges.fyi/ . They were all quite interesting, but one in particular on writing load balancers appealed, so I thought I’d kill two birds with one stone and write up a worked example. You’ll find my worked example below. The challenge itself is italics and voice is that of John Crickets. The Coding Challenge https://codingchallenges.fyi/challenges/challenge-load-balancer/ Write Your Own Load Balancer This challenge is to build your own application layer load balancer. A load balancer sits in front of a group of servers and routes client requests across all of the serv...