androidengineers.Book a session

Solution architecture under constraints

Architecture and tradeoffs

articleSelf-paced

An architecture decision should connect a customer constraint to a design choice. A diagram with model, database, and agent boxes is incomplete unless it explains why those components are necessary and who operates them.

Compare a baseline

For document-assisted support, compare a searchable knowledge base with a retrieval-and-drafting system. The latter may reduce writing effort while introducing generated-answer risk, model costs, and extra operational work.

Use a decision record:

FieldExample
ProblemStaff repeatedly search policy documents
ConstraintAnswers must use the requesting team’s documents
OptionsSearch only; search plus draft generation
DecisionPilot draft generation with human review
EvidenceRepresentative tasks and measured baseline
Revisit whenQuality or operating costs miss agreed targets

Show trust boundaries: browser to backend, backend to customer APIs, and backend to model provider. Specify which data crosses each boundary and which identity authorizes it. Consider retention and hosting constraints before choosing services.

Budget the request

Split the latency budget among retrieval, model generation, and other integrations. A component that seems fast alone may be too slow when several calls run sequentially. Define timeout and fallback behavior for the whole request.

Exercise

Draw two architectures for the same pilot and write the decision record. Include operating ownership and the simplest rollback.

Check: each extra component addresses a documented need. Explain one condition that would make you choose the simpler alternative.

YOUR LEARNING JOURNEY

0 of 119 available lessons completed

Progress saved in this browser. No account needed.
Architecture and tradeoffs | Forward Deployed Engineer | Android Engineers