You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to find it? With the disruptor, when running on Kubernetes, if we inject some delay, it is very easy to see.
How to fix it? We could add a loading spinner. But, in this case, given that this request isn't part of the core flow (it is just a random quote that we show), we should render other parts of the site even if this endpoint is slow.
Peek.2023-06-22.15-08.mp4
The text was updated successfully, but these errors were encountered:
I noticed that if set vus and durations to larger numbers then quickpizza becomes defunct.
Basically the replies are empty and see a lot of errors/warnings in logs like
quickpizza-1 | time=2024-12-02T21:55:37.638Z level=WARN msg="failed to perform db query" operation=INSERT duration=6.959µs query="INSERT INTO \"pizza_to_ingredients\" (\"pizza_id\", \"ingredient_id\") VALUES (101, 2)" err="constraint failed: UNIQUE constraint failed: pizza_to_ingredients.pizza_id, pizza_to_ingredients.ingredient_id (1555)"
quickpizza-1 | time=2024-12-02T21:55:37.639Z level=ERROR msg="Storing recommendation in catalog" err="making http request: Post \"http://localhost:3333/api/internal/recommendations\": POST http://localhost:3333/api/internal/recommendations giving up after 1 attempt(s)" user=23423
and remains unavailable until I restart it with docker compose restart quickpizza.
Is that also known issue? In seems that in this context most of examples / workshop materials are broken.
QuickPizza isn't perfect! It has a few problems:
Peek.2023-06-22.14-08.mp4
Peek.2023-06-22.15-08.mp4
The text was updated successfully, but these errors were encountered: