What could be performance impact with Sentry on Cloudflare Workers? #19667
Replies: 1 comment
|
The short version: Cloudflare Workers only keep running after you return a Practically: your If you want to confirm this for your specific setup rather than take the general Workers execution model on faith, wrapping your handler and logging timestamps around your |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The worker should return the result to the client as soon as possible, and logging/tracing can increase response time. But how does Sentry work in that case? Will it run all the logic within the main request context, and the response will be delayed, or delay requests to Sentry inside
waitUntil, for example?All reactions