InterviewDB
Question
Streams: Implement Concurrent Data Stream Processing With Backpressure and Fan-Out
phone
Question Details
Problem Build a simple streaming pipeline framework. A Stream accepts items, applies a transform function, and fans out to multiple downstream consumers. If a consumer is slow (its internal queue is full), the producer should block (backpressure) rather than drop items. Example: Follow-ups What synchronization primitives do you use — threading.Queue, asyncio.Queue, or semaphores? If one consumer is permanently slow, should it block all other consumers? How do you design around this? How would yo…
Full Details
🔒
Unlock all Sierra questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a sierra interview during the phone round.
It covers the following topics: Coding, Queue, Phone, Onsite .
More Sierra Interview Questions
1p3a
sierra tech phone screen: handling markdown file trunks with size limits
1p3a
Sierra.ai Software Engineer Product Interview Experience and Tips
InterviewDB
Cell Validation: Validate Spreadsheet Cell Values Against Type and Dependency Rules
InterviewDB
Sierra SWE Phone - Chunking
InterviewDB
Inventory Sync: Design a System to Keep Inventory Counts Consistent Across Distributed Warehouses