xmtpd
xmtpd copied to clipboard
Bug: Performance: Group Creation Latency Unacceptably Slow
Describe the bug
Description:
Creating a small group on D14N staging is unacceptably slow - with response times varying widely and sometimes taking as long as 25 seconds to complete. This is a significant regression from the centralized network as well as a regression from past D14N performance.
Expected behavior
The group creation time in D14N is a significant regression from the centralized environment.
Steps to reproduce the bug
Run the following commands from libxmtp:
cargo xdbg -d -b staging generate --entity identity --amount 2 --concurrency 1 # create prerequisite identities
cargo xdbg -d -b staging generate --entity group --amount 1 --invite 1 --concurrency 1 # create a group with 2 member, observe slow response, repeat as desired