AI Infra Interviews logo
← Coding for Infra / 16
mediumCoreWeaveCrusoe

In Go, download many model shards concurrently with a concurrency limit, a timeout and clean cancellation. Write it.

Write a bounded Go downloader that propagates cancellation, joins every worker and publishes files under explicit unique names.

Updated Sep 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Write a bounded Go downloader that propagates cancellation, joins every worker and publishes files under explicit unique names.

This answer is included with a free account. Sign in to read it and save your progress.

free account · no card needed
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Look for a complete concurrency and cleanup contract, failure-path tests, honest timeout limits and separate integrity verification.

DISCUSSION · 0

No comments yet — be the first to share your approach.