PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Resolve.Ai

Design a Weighted Log Distributor

Last updated: May 30, 2026

Quick Overview

This question evaluates distributed systems architecture, load-balancing and traffic-routing competencies, along with fault tolerance, backpressure handling, capacity planning, and operational scalability.

  • Resolve.Ai
  • System Design
  • Software Engineer

Design a Weighted Log Distributor

Company: Resolve.Ai

Role: Software Engineer

Category: System Design

Interview Round: Take-home Project

Design a high-throughput log distributor. Agents running on application and infrastructure hosts send packets to the distributor. Each packet may contain multiple log messages. The distributor sits in front of multiple analyzer services. Each analyzer has a configured relative weight, such as `0.4`, `0.3`, `0.1`, and `0.2`; assume the weights sum to `1.0`. The distributor must route incoming log packets to analyzers so that, over time, each analyzer processes a fraction of total log messages that is roughly proportional to its weight. Discuss the architecture, routing algorithm, data structures, scaling strategy, and how you would handle packet sizes, analyzer failures, backpressure, and weight updates.

Quick Answer: This question evaluates distributed systems architecture, load-balancing and traffic-routing competencies, along with fault tolerance, backpressure handling, capacity planning, and operational scalability.

Resolve.Ai logo
Resolve.Ai
May 20, 2026, 12:00 AM
Software Engineer
Take-home Project
System Design
1
0

Design a high-throughput log distributor.

Agents running on application and infrastructure hosts send packets to the distributor. Each packet may contain multiple log messages. The distributor sits in front of multiple analyzer services. Each analyzer has a configured relative weight, such as 0.4, 0.3, 0.1, and 0.2; assume the weights sum to 1.0.

The distributor must route incoming log packets to analyzers so that, over time, each analyzer processes a fraction of total log messages that is roughly proportional to its weight.

Discuss the architecture, routing algorithm, data structures, scaling strategy, and how you would handle packet sizes, analyzer failures, backpressure, and weight updates.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Resolve.Ai•More Software Engineer•Resolve.Ai Software Engineer•Resolve.Ai System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,500+ 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.