Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document known problems #6

Open
dgzlopes opened this issue Jun 22, 2023 · 0 comments
Open

Document known problems #6

dgzlopes opened this issue Jun 22, 2023 · 0 comments

Comments

@dgzlopes
Copy link
Member

dgzlopes commented Jun 22, 2023

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
@dgzlopes dgzlopes self-assigned this Jun 22, 2023
@dgzlopes dgzlopes changed the title Document known failures Document known problems Jun 22, 2023
@dgzlopes dgzlopes removed their assignment Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant