Pulsar.send() takes long time #24385
Unanswered
PaiKai-Lee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
framework: expressjs
library: pulsar-client 1.9.0
Pulsar standalone 3.3.7
When user data needs to be updated, I first save the latest state in Redis, and then send an event through Pulsar so the backend can asynchronously synchronize the changes to MySQL.
However, when I use Elastic APM to check the performance, I notice that pulsar.send() takes a surprisingly long time to complete. Even when I only send 2 or 3 requests, it still spends a significant amount of time on this operation.
Beta Was this translation helpful? Give feedback.
All reactions