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

Latency spikes observed in frontend #2400

Open
dilinade opened this issue Feb 29, 2024 · 1 comment
Open

Latency spikes observed in frontend #2400

dilinade opened this issue Feb 29, 2024 · 1 comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@dilinade
Copy link

I've deployed the microservices-demo on GKE, and while querying a single product (/product/{ID}) using Locust, I'm encountering intermittent latency spikes. The request rate is approximately 10 RPS. The spikes seem to originate from three different places

  • CurrencyService/GetSupportedCurrencies
  • hipstershop.CurrencyService/Convert
  • hipstershop.CartService/GetCart

I enabled tracing and obtained the following traces:

Normal Trace : RTT 20ms
Screenshot from 2024-02-29 09-49-57

Spike 1 : RTT 616ms
Screenshot from 2024-02-29 09-48-59

Spike 2 : RTT 333ms
Screenshot from 2024-02-29 09-49-17

Has anyone else encountered similar latency spikes? Are there any insights into why these spikes might occur, or is there any aspect that might have been overlooked in the deployment or configuration?

@dilinade dilinade changed the title Latency Spikes Observed in microservices-demo Latency Spikes Observed in frontend Mar 3, 2024
@bourgeoisor bourgeoisor added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Apr 17, 2024
@bourgeoisor
Copy link
Member

Hi @dilinade! I'm not able to reproduce this on my end. Are you still running into this?

@bourgeoisor bourgeoisor changed the title Latency Spikes Observed in frontend Latency spikes observed in frontend Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants