PERF04-BP05Performance EfficiencyPERF42 of 7 practices publishedReference content

Choose network protocols to improve performance

Framework question: How do you select and configure networking resources in your workload?

Risk if not established
Medium
Framework verified
14 Nov 2026

AWS Well-Architected Framework — PERF04-BP05 Choose network protocols to improve performance

Executive summary

Why this practice matters

Decide which protocols the workload uses for communication based on their effect on latency and throughput, rather than defaulting to the same one everywhere. Reliable, connection-based protocols suit data that must arrive intact, while lighter protocols can suit fast, high-volume traffic, and each choice should be tested against the workload's requirements.

Business impact

  • Improves user experience by reducing latency on important communication paths.
  • Raises throughput where high latency would otherwise slow connection-based transfers.
  • Reduces processing overhead on workload components.
  • Keeps security and reliability needs visible when protocols are chosen for speed.

Assign

Accountable and responsible roles

Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.

ResponsibilityAccountability type

Evaluate and select protocols

Assess requirements, compare protocols and record the choice for each communication path.

Typical roles: Network Engineer, Architect, Network Engineer, Architect

responsible

Implement and monitor protocol performance

Integrate chosen protocols, automate configuration and monitor latency and throughput.

Typical roles: DevOps Engineer, Software Engineer, DevOps Engineer, Software Engineer

responsible

Approve protocol trade-offs

Accept the balance between performance, reliability and security for the workload.

Typical roles: Service Owner, Team Lead / Manager, Service Owner, Team Lead / Manager

accountable

Assessment

Assessment and evidence state

States describe how far the practice has moved from intent to something continuously validated.

  1. 0

    Not Assessed

    No documented evaluation of the practice has been performed.

    Indicators

    • No one has examined whether the protocols in use suit the workload's latency and throughput needs.
  2. 1

    Not Implemented

    The practice is absent or applied only ad hoc.

    Indicators

    • The same protocol is used for all traffic by default.
    • Latency and throughput requirements are not recorded.
  3. 2

    Partially Implemented

    The practice is applied to some workloads or components, with known gaps.

    Indicators

    • Requirements are known for some paths, and a few protocol choices have been reviewed.
    • Measurements are taken only when problems arise.
  4. 3

    Implemented

    The practice is applied consistently across defined scope, with evidence.

    Indicators

    • Protocol choices for main paths are recorded with requirements and trade-offs.
    • Round-trip time and throughput are measured routinely.
  5. 4

    Continuously Validated

    The practice is regularly tested and improved from measured results.

    Indicators

    • Alternative protocols are tested under load before adoption.
    • Choices are reviewed as requirements and technologies change, using measured results.

Assessment dimensions

  • Requirement definition

    Practice-specific

    Absent · Partial · Operational and verified

  • Protocol selection rationale

    Practice-specific

    Absent · Partial · Operational and verified

  • Measured latency and throughput

    Practice-specific

    Absent · Partial · Operational and verified

  • Periodic review

    Practice-specific

    Absent · Partial · Operational and verified

Caution

Do not award maturity for using a modern protocol alone. Check that protocol choices are tied to documented latency and throughput requirements, have been tested, and respect security needs.

Standard

What you should be able to demonstrate

Statements a reviewer should be able to confirm from evidence, not from intent.

  • Latency and throughput requirements are documented for the main communication paths.
  • Protocol choices are recorded with their reasons, including the reliability and security trade-off accepted.
  • Round-trip time and time to first byte are measured to judge whether connection setup is slowing responses.
  • Alternative protocols are tested under load before being adopted.
  • Protocol choices are revisited as the workload and available technology change.

Trade-offs to hold in view

  • Connectionless protocols are fast but do not retransmit lost data or guarantee delivery.
  • Adding encryption improves security but increases latency, mainly through the handshake.
  • Changing protocols can bring gains but adds significant complexity and needs specialist expertise.

Assess

Questions to ask

Each question exposes the difference between an intention and an operating practice.

  • discovery

    Which protocols do our main communication paths use today, and what latency and throughput does each need?

    Establishes the baseline and the requirements together.

    Usually asked by: Network Engineer, Architect

  • challenge

    Where are we using a reliable, connection-based protocol for traffic that could tolerate occasional loss?

    Probes the common default of using TCP everywhere.

    Usually asked by: Network Engineer, Software Engineer

  • evidence

    Can we show measured round-trip time or time to first byte for the paths where we changed or kept a protocol?

    Requires measurement behind protocol decisions.

    Usually asked by: DevOps Engineer, Network Engineer

  • executive

    Have protocol choices made for speed been checked against our security and compliance requirements?

    Keeps the performance and security trade-off visible.

    Usually asked by: Security Engineer, Technology Executive

Evidence

Required and expected evidence

Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.

EVD-ARCH-005coreReusable

Architecture / Design Decision Record

A durable record of a significant technology or architecture decision showing what was decided, why it was decided, which alternatives and trade-offs were considered, what risks or consequences remain and who owns the decision.

Records the protocol chosen for each main communication path, the requirements it meets and the trade-offs accepted.

Minimum expected content

  • Decision title, date, status and decision owner
  • Problem, opportunity or context that required a decision
  • Relevant business, technical, operational, security or regulatory objectives and constraints
  • Options or alternatives genuinely considered
  • Evaluation criteria and material trade-offs
  • Decision and rationale
  • Expected benefits and positive consequences
  • Risks, disadvantages, technical debt and mitigation where material
  • Affected systems, services or stakeholders
  • Follow-up actions and owners where required
  • Approval, acceptance or decision authority where relevant
  • Review trigger/date and links to superseding or related decisions

Anti-patterns

  • Recording only the final choice with no context or rationale
  • Listing alternatives without showing how they were evaluated
  • Using a decision record to retrospectively justify a decision that had already been made without challenge
  • Treating every low-level implementation choice as a formal architecture decision
  • Omitting known risks, disadvantages or dissenting stakeholder concerns
  • No named decision owner or approval authority
  • Never updating a record when the decision is superseded
  • Copying a generic template without evidence specific to the actual decision

Review: Create when a material decision is made. Update status when accepted, rejected or superseded, and revisit when key assumptions, constraints, risks or business objectives materially change.

EVD-PERF-001supportingReusable

Performance Benchmark Plan & Results

A repeatable benchmark definition and result set for a workload component or architecture option, including representative scenarios, environment, metrics, repeated runs, findings and resulting architecture decisions.

Shows latency, throughput and resource use measured for the protocols compared.

Minimum expected content

  • Benchmark objective and decision/question being informed
  • Relevant performance/NFR target or user requirement
  • Baseline implementation/configuration
  • Candidate implementation/configuration being tested
  • Representative scenario or operation mix
  • Test environment and resource configuration
  • Dataset/input size and pre-warm/setup conditions
  • Metrics and KPIs such as latency, throughput, utilisation or error rate
  • Tooling and test procedure
  • Number/timing of repeated runs and observed variance
  • Raw/result summary and statistical treatment appropriate to the test
  • Bottlenecks or constraints identified
  • Comparison with baseline and requirement
  • Architecture recommendation/action resulting from the findings
  • Retest result after material adjustment where applicable
  • Date, owner and conditions requiring rerun

Anti-patterns

  • A vendor benchmark is used as proof without matching workload characteristics
  • One run is treated as conclusive
  • The test environment differs materially between compared options
  • Only average latency is reported for a tail-latency-sensitive workload
  • Benchmarking happens with no performance requirement or decision question
  • Results are cherry-picked after the preferred option is selected
  • No pre-warm or variance control exists
  • The benchmark is used as a substitute for load testing the complete workload when concurrency/system behaviour matters

Review: Create for material performance-sensitive architecture choices and rerun when the tested component, configuration, workload profile or performance requirement changes materially.

Diagnosis

Common evidence gaps

  • One protocol for everything

    TCP is used for every workload regardless of its performance requirements.

  • Speed without safeguards

    A faster protocol is adopted without considering lost retransmission, reliability or encryption needs.

  • Untested choices

    Protocol decisions are made on assumption, with no measurement of latency or throughput.

  • Premature optimisation

    Protocol changes are attempted before simpler application optimisations, adding difficulty for little gain.

Implementation

Implementation guidance

Start from requirements

Understand the latency and throughput each communication path needs before changing protocols, and optimise the application in other ways first.

Use reliable protocols where delivery matters

Keep connection-based protocols such as TCP, and HTTP or HTTPS over it, where guaranteed delivery is essential, accepting the extra handshake overhead.

Use lighter protocols for fast, high-volume traffic

Consider UDP for traffic such as logging, monitoring, voice or small queries from many clients, with DTLS where encryption is needed.

Reduce connection overhead

Where latency is high, reuse persistent connections, offload TLS to a load balancer, and consider HTTP/2-based protocols such as gRPC between components.

Test and revisit

Compare protocols under realistic load, record the results, and review choices as requirements and technologies change.

Measure

Measurements

  • Round-trip time on main communication paths
  • Time to first byte for user-facing requests
  • Throughput achieved against the documented requirement
  • Backend CPU used for encryption and connection handling

Related

Outcomes and practices

Business outcomes

    Practices