Bookmarks

HLD — high-level design

A document that describes a system at a high level: what parts it consists of, how they are connected to each other and to external systems, and where it runs.

Also: high-level architecture, high-level design document, HLD

checked 8 Nov

All terms

An HLD shows the system as a whole, without implementation details: components, data flows, integrations and infrastructure. It is what the customer, the architects and the teams use to agree on a solution before anyone starts writing code and detailed designs (LLDs).

What an HLD contains

SectionWhat it describes
Goals and scopewhat the system is for, what is and is not part of it, the main quality requirements
Contextthe users and external systems it exchanges data with
Componentsthe major parts of the system — services, databases, queues — and what each one is responsible for
Interactionprotocols and data formats, synchronous and asynchronous flows
Deploymentenvironments, servers or cloud services, the network, redundancy
Securityauthentication, access control, encryption
Decisions and riskswhy this option was chosen, what the alternatives were, what the limitations are

HLD and LLD

An HLD answers the question of what the system consists of, an LLD — of how each component is built: modules and classes, database tables, API contracts, algorithms. Usually there is one HLD for the system or for a major change, while an LLD is written for each component once the HLD has been agreed.

Is there a standard

There is no single standard for an HLD: the set of sections depends on the company and the project. The closest standards in meaning are ISO/IEC/IEEE 42010 (which describes architecture through stakeholders, viewpoints and views) and IEEE 1016-2009 (which describes software design; IEEE lists it as “Inactive-Reserved”). HLD diagrams work well with the C4 model — at the context and container levels.

Sources

the term is written from these pages

Verified 8 Nov

Not to be confused with

what it is mixed up with and how it differs

  • LLDlow-level design

    An LLD describes the inner workings of an individual component — classes, tables, API contracts — and is written after the HLD.

  • ТЗtechnical specification

    A requirements specification fixes the requirements for the system, while an HLD is the solution for how to meet them.

In depth in the references

where the topic is covered in detail