What are microservices, and why should you care?

By Steven Sharp · 1 January 2023 · 3 min read

Illustration: a whiteboard of sticky notes and arrows.

You’ve probably heard the term “microservices” in tech conversations, but what does it actually mean? And more importantly, why should you care about it for your business?

Here it is in simple terms. Think of microservices as a way to build software that can grow with your business, without everything falling apart when you need to make changes.

Microservices are like building with individual bricks instead of one massive concrete block – much more flexible and much easier to work with.

So what exactly are microservices?

Imagine you’re building a house. The old way would be to pour one massive concrete block and hope for the best. Microservices are like building with individual bricks instead: each brick does its own job, but they all work together to create something bigger.

In software terms, instead of building one huge application that does everything, you build lots of small, independent services that each handle one specific task. Your payment system is separate from your user accounts, which are separate from your email notifications, and so on.

Why this matters for your business

It grows with you

Say your business suddenly becomes very popular, which is a good problem to have. With microservices, you can add capacity to just the parts that need it. If lots of people are signing up but not many are checking out, you can add power to the sign-up service without touching your payment system.

Faster updates and fixes

When you need to change your checkout, you don’t have to worry about accidentally breaking your user profiles. Each service is independent, so changes are safer and quicker to make.

One failure doesn’t bring everything down

This is a big one. If your email service goes down, your customers can still browse your products and buy them. The rest of the system keeps running while you fix the problem.

The real-world benefits

The right tool for each job

Different parts of your system might need different technologies. Maybe your chat feature works best in one programming language, while your data analysis needs another. With microservices, you can use whatever works best for each part.

Easier to connect to other systems

Need to connect your accounting software or a new marketing tool? Microservices make it much easier to connect other systems without rebuilding everything.

Try new things without risk

Want to test a new feature? You can build it as a separate service and see how it goes. If it doesn’t work out, you can remove it without affecting anything else.

Is this right for your business?

Microservices aren’t magic. They’re a tool, and like any tool they work brilliantly in some situations and are overkill in others.

If you run a small, simple website, you probably don’t need the complexity of microservices. But if you’re growing fast, have a team of developers or need to connect to lots of other systems, microservices could be exactly what you need.

The key is to think about where your business is heading, not just where it is now. Are you planning to add features regularly? Do you need to handle more users? Will you need to connect to other systems? If so, microservices might be worth considering.

Want to talk through whether microservices make sense for your business? Every business is different, and we’re happy to help you work out what will suit yours. There’s more on how we approach software development.

More articles

2 min read

Optimising database queries for speed

Slow database queries hold back the whole application. Practical ways to find the slow ones and fix them with indexes, better query structure and caching.

Get in touch

Want to talk this through for your own business?

One paragraph is enough. We’ll reply with honest thoughts on whether we can help, and what it would cost.

All fields are required unless marked optional.

0 of 4,800 characters

We use your details only to reply. See our privacy policy.