All jobs / Backend developer / Architecture

Backend developer interview question · 5+ years

A team proposes ports and adapters for a service that reads a queue, writes to one database, and will never have a second client.

Do you agree?

The strongest answer

Not for its own sake — it pays when adapters change or the rules are complex; here I would keep the domain logic out of the framework and add ports when something genuinely needs a second adapter

Why it works

Exactly — name what it buys and what it costs, then take the cheap half now and the rest when there is a reason.

What a good answer covers

Answers that fall short

Who gets asked this

More Architecture questions