PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Bobyard

Design comments and async image generation

Last updated: Apr 22, 2026

Quick Overview

This question evaluates full-stack system-design competencies, including CRUD API and data-model design for sortable queries with persisted user preferences, frontend-backend synchronization, and asynchronous long-running job orchestration, status/result APIs, and UI ordering for image generation; it falls under the System Design category and tests a mix of conceptual architectural reasoning and practical application design. It is commonly asked because it probes the ability to balance scalability, consistency, user experience, and fault-tolerant asynchronous processing when designing end-to-end systems that must handle persistence, ordering guarantees, and long-running background work.

  • medium
  • Bobyard
  • System Design
  • Software Engineer

Design comments and async image generation

Company: Bobyard

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

The system design portion combined two prompts: 1. Design a full-stack comment system with frontend, backend, and database support for create, read, update, and delete operations. The system should support sorting comments by `timestamp` or `userId` in ascending or descending order, and the user's sort preference should persist across page refreshes. 2. Design a service that generates images, where image generation can take much longer than a normal HTTP request timeout. Explain how you would accept requests, process long-running jobs asynchronously, expose status and results to users, and preserve a well-defined ordering of generated items in the user interface.

Quick Answer: This question evaluates full-stack system-design competencies, including CRUD API and data-model design for sortable queries with persisted user preferences, frontend-backend synchronization, and asynchronous long-running job orchestration, status/result APIs, and UI ordering for image generation; it falls under the System Design category and tests a mix of conceptual architectural reasoning and practical application design. It is commonly asked because it probes the ability to balance scalability, consistency, user experience, and fault-tolerant asynchronous processing when designing end-to-end systems that must handle persistence, ordering guarantees, and long-running background work.

Related Interview Questions

  • Design a client-side comment system - Bobyard (medium)
Bobyard logo
Bobyard
Apr 9, 2026, 12:00 AM
Software Engineer
Technical Screen
System Design
0
0

The system design portion combined two prompts:

  1. Design a full-stack comment system with frontend, backend, and database support for create, read, update, and delete operations. The system should support sorting comments by timestamp or userId in ascending or descending order, and the user's sort preference should persist across page refreshes.
  2. Design a service that generates images, where image generation can take much longer than a normal HTTP request timeout. Explain how you would accept requests, process long-running jobs asynchronously, expose status and results to users, and preserve a well-defined ordering of generated items in the user interface.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Bobyard•More Software Engineer•Bobyard Software Engineer•Bobyard System Design•Software Engineer System Design
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.