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

SSE routes don't seem to run requests in parallel… while it's the point #72

Open
RemiBardon opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RemiBardon
Copy link
Member

When requesting Server-Sent Events, /v1/enrich-members doesn't seem to enrich members in parallel. If a JID can't be enriched for some reason and it takes time, the JIDs after it won't be enriched faster.

In this example ([email protected]&[email protected]), the JID [email protected] is enriched instantly, then [email protected] arrives 41 seconds (!) later:

Screenshot 2024-11-17 at 18 02 45

In this example ([email protected]&[email protected]), the JID [email protected] takes 41 seconds (!) to be enriched but [email protected] needs to wait to finally arrive instantly after:

Screenshot 2024-11-17 at 18 03 03

41 seconds is far too long, and seems to be due to multiple timeouts for requests that are not ran in parallel either, or retries.

@RemiBardon RemiBardon added the bug Something isn't working label Nov 17, 2024
@RemiBardon RemiBardon self-assigned this Nov 17, 2024
@RemiBardon RemiBardon moved this to Not Started 🕑 in Prose Pod API to-do list Nov 17, 2024
@RemiBardon RemiBardon moved this from Not Started 🕑 to In Progress 🏗️ in Prose Pod API to-do list Nov 19, 2024
RemiBardon added a commit that referenced this issue Nov 19, 2024
RemiBardon added a commit that referenced this issue Nov 19, 2024
RemiBardon added a commit that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress 🏗️
Development

No branches or pull requests

1 participant