PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Coding & Algorithms/Atlassian

Implement sequential and parallel URL requests

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in HTTP networking, asynchronous and parallel programming (promises/futures), deduplication and order preservation, and robust error handling for I/O operations.

  • medium
  • Atlassian
  • Coding & Algorithms
  • Software Engineer

Implement sequential and parallel URL requests

Company: Atlassian

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

You are given a list of URL strings. For each URL, send an HTTP GET request and return the responses. ### Output format Return a list of objects: - `url`: the requested URL - `status`: HTTP status code (or an error indicator if the request fails) - `body`: response body as text (or an error message) ### Tasks 1. **Sequential requests:** Implement a function that sends requests **one-by-one** in the given order. 2. **Deduplication:** Update the logic so that duplicate URLs are requested only once (preserve the order of the **first occurrence** in the input). 3. **Parallel requests:** Update the implementation to send requests **in parallel** (e.g., using promises/futures) and return results for the deduplicated URL list. ### Notes / assumptions - You may assume a Node.js/JavaScript environment and may use a standard HTTP client library. - Handle failures gracefully (e.g., DNS failure, timeout, non-2xx responses) and still return an entry for that URL.

Quick Answer: This question evaluates proficiency in HTTP networking, asynchronous and parallel programming (promises/futures), deduplication and order preservation, and robust error handling for I/O operations.

Related Interview Questions

  • Find a secret word using match feedback - Atlassian (hard)
  • Compute a moving average on a stream - Atlassian (hard)
  • Implement sliding-window rate limiter function - Atlassian (medium)
  • Merge intervals and design rating APIs - Atlassian (medium)
  • Filter Invalid Data Events - Atlassian (easy)
Atlassian logo
Atlassian
Feb 11, 2026, 12:00 AM
Software Engineer
Technical Screen
Coding & Algorithms
3
0
Loading...

You are given a list of URL strings. For each URL, send an HTTP GET request and return the responses.

Output format

Return a list of objects:

  • url : the requested URL
  • status : HTTP status code (or an error indicator if the request fails)
  • body : response body as text (or an error message)

Tasks

  1. Sequential requests: Implement a function that sends requests one-by-one in the given order.
  2. Deduplication: Update the logic so that duplicate URLs are requested only once (preserve the order of the first occurrence in the input).
  3. Parallel requests: Update the implementation to send requests in parallel (e.g., using promises/futures) and return results for the deduplicated URL list.

Notes / assumptions

  • You may assume a Node.js/JavaScript environment and may use a standard HTTP client library.
  • Handle failures gracefully (e.g., DNS failure, timeout, non-2xx responses) and still return an entry for that URL.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Atlassian•More Software Engineer•Atlassian Software Engineer•Atlassian Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.