← All Learning Paths

AI Infrastructure Engineer

Operate the serving layer for LLM workloads: token streaming, timeouts, token-bucket limits, cost tracking, caching, and backpressure.

roleadvanced10 nodes13.58h total

Path overview

This path is generated from the curated resource graph.

  1. Compare "Why Buffering Defeats Streaming" with "Choosing a Transport" in "Streaming LLM Tokens to the Browser" and state which trade-off you would accept in ai infrastructure engineer code.

    Completion criteria: Attach a one-page summary that quotes "Why Buffering Defeats Streaming", lists two trade-offs, and links the commit where you applied it.

    Next step: Handling LLM Timeouts and Partial Responses

    ⏱ 1h

  2. Reconstruct the reasoning behind "Handling LLM Timeouts and Partial Responses" by tracing "Why a Single Fixed Timeout Fails" to the failure it prevents in ai infrastructure engineer systems.

    Prerequisites: Streaming LLM Tokens to the Browser

    Completion criteria: Attach a decision log for "Handling LLM Timeouts and Partial Responses": the "Why a Single Fixed Timeout Fails" section, one rejected alternative, and the diff of the file you changed.

    Next step: Rate Limiting LLM API Calls with Token Buckets

    ⏱ 1h

  3. Read "Rate Limiting LLM API Calls with Token Buckets" for the "Why Provider Limits Are Multi-Dimensional" argument, then name the decision in ai infrastructure engineer work it would change.

    Prerequisites: Handling LLM Timeouts and Partial Responses

    Completion criteria: Record a short walkthrough of "Rate Limiting LLM API Calls with Token Buckets" with timestamps at "Why Provider Limits Are Multi-Dimensional" and "Token Bucket Mechanics", plus the commit that applies it.

    Next step: Tracking LLM Token Usage and Costs

    ⏱ 1h

  4. Reconstruct the reasoning behind "Tracking LLM Token Usage and Costs" by tracing "Why Token Accounting Matters" to the failure it prevents in ai infrastructure engineer systems.

    Completion criteria: Attach a one-page summary that quotes "Why Token Accounting Matters", lists two trade-offs, and links the commit where you applied it.

    Next step: Add Rate Limiting Middleware

    ⏱ 1h

  5. Apply "Add Rate Limiting Middleware" to a ai infrastructure engineer task, checking that "Implement a fixed-window limiter keyed by client and route, with a cap on the map size and" appears after the "The 61st request in a window receives 429 with a Retry-After header." step.

    Completion criteria: Run "Add Rate Limiting Middleware" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Token Bucket Rate Limiter Async

    ⏱ 0.5h

  6. Execute "Token Bucket Rate Limiter Async", change one constant, and describe how the output diverges from "Implement an async token bucket limiter with burst capacity, refill rate, per-key isolation,".

    Prerequisites: Add Rate Limiting Middleware

    Completion criteria: Paste the command, the exit code, and the output line matching "Implement an async token bucket limiter with burst capacity, refill rate, per-key isolation,"; then show a second run with a changed parameter.

    Next step: Caching LLM Responses with Semantic Keys

    ⏱ 0.75h

  7. Compare "Why Exact Match Caching Barely Helps" with "Building a Semantic Cache Key" in "Caching LLM Responses with Semantic Keys" and state which trade-off you would accept in ai infrastructure engineer code.

    Completion criteria: Record a short walkthrough of "Caching LLM Responses with Semantic Keys" with timestamps at "Why Exact Match Caching Barely Helps" and "Building a Semantic Cache Key", plus the commit that applies it.

    Next step: Building Resilient Data Fetching with Retry Strategies

    ⏱ 1h

  8. Read "Building Resilient Data Fetching with Retry Strategies" for the "Why Naive Retries Are Dangerous" argument, then name the decision in ai infrastructure engineer work it would change.

    Completion criteria: Attach a one-page summary that quotes "Why Naive Retries Are Dangerous", lists two trade-offs, and links the commit where you applied it.

    Next step: Size Model Replicas from Token Throughput

    ⏱ 1h

  9. Solve "Size Model Replicas from Token Throughput" for ai infrastructure engineer work: turn JSON object: { requestsPerMinute, avgTokensPerRequest, into {tokensPerSecond:5000,replicas:32} and pass both samples.

    Prerequisites: Building Resilient Data Fetching with Retry Strategies

    Completion criteria: Submit a solution for "AI Infrastructure Engineer" that passes both samples ({requestsPerMinute:600,avgTokensPerRequest:500,tokensPerSeco to {tokensPerSecond:5000,replicas:32}) and attach the failing case you fixed.

    Next step: Capstone: AI Infrastructure Engineer

    ⏱ 0.33h

  10. Build "Build a Leased Distributed Task Scheduler" through its phases, keeping "Claim due tasks" independently testable.

    Prerequisites: Building Resilient Data Fetching with Retry Strategies, Size Model Replicas from Token Throughput

    Completion criteria: Run the project's test command for "Build a Leased Distributed Task Scheduler", paste the passing output, and attach the acceptance note for "Claim due tasks" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h