Architecture

It is your fault if your application is down

Do not blame the infrastructure provider

Uwe Friedrichsen

16 minute read

(Big) zucchinis on a table

Recently, AWS experienced one of its rare partial outages. Its DynamoDB service experienced a disruption in the US-East-1 region that could be tracked down to a latent race condition in the DynamoDB DNS management system which caused the disruption. A comprehensive post-event summary describing the outage, its cause and the resulting effects can be found here.

A note about eventual consistency - Part 2

Revisiting a massively misunderstood topic

Uwe Friedrichsen

17 minute read

Ducks in the surf

In the previous post we discussed what eventual consistency actually means and why we sometimes need to favor eventual consistency over strong consistency. We also saw that most of the time we will not perceive any differences between eventual and strong consistency if set up properly. The differences only become apparent if the system encounters adverse conditions like, e.g., a network partition, loss of a node, or alike.

(Un)coupling in distributed systems - Part 2

The effects of temporal coupling

Uwe Friedrichsen

9 minute read

A jellyfish lying on the beach

In the previous post, we started to discuss a specific type of coupling, the coupling between processes in a distributed system. We discussed the fallacy that loose technical coupling, i.e., using a message-based communication style is sufficient to ensure loose coupling between processes. We learnt that instead we need to implement loose coupling at a technical and a functional level to actually become loosely coupled.

(Un)coupling in distributed systems - Part 1

Understanding functional coupling

Uwe Friedrichsen

11 minute read

Rock covered by clams

Coupling is a big issue in software design. With software landscapes becoming more and more complex, coupling painfully steps on our toes whenever we attempt to change things. Hence, we want to reduce coupling. On the other hand, without any coupling systems and their parts would not be able to interact. Hence, we need coupling – feels a bit like being stuck between a rock and a hard place.