fetch_contacts is sequential #72

Closed
opened 2026-04-19 12:53:44 +00:00 by zaelgohary · 0 comments
Member

Same N+1 we already killed for fetch_chats and fetch_messages: fetch_contacts loops contact_get(sid) with a sequential .await. N contacts = N round-trips. Parallelize with futures::future::join_all.

Same N+1 we already killed for `fetch_chats` and `fetch_messages`: `fetch_contacts` loops `contact_get(sid)` with a sequential `.await`. N contacts = N round-trips. Parallelize with `futures::future::join_all`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#72
No description provided.