Skip to content

Document known problems #6

@dgzlopes

Description

@dgzlopes

QuickPizza isn't perfect! It has a few problems:

  • Backend:
    • If too many HTTP requests hit the service, latency grows to the sky.
    • Name generation is unpredictable and slow.
    • In-memory database should store only the last ten pizza recommendations, but it stores them all.
    • If requirements are too strict and can't be fulfilled, we return a random recommendation after a few tries.
      • Type? Functional issue.
      • Why? This edge case isn't handled properly.
      • How to find it? With Checks/Thresholds.
      • How to fix it? If a good recommendation can't be generated, return an error.
  • Frontend:
    • If the recommendations API is under load, no feedback is given to the user (e.g., loading spinner)
      • And they can retry manually as many times as they want (putting even more load on the backend)
Peek.2023-06-22.14-08.mp4
  • The Quotes API blocks rendering.
Peek.2023-06-22.15-08.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions