Skip to content

Is Sentry SDK for PHP using a queue when sending data? #691

Answered by stayallive
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @marius-ciclistu, short answer: currently everything is sent synchronously.

There is a exception, and that is for transactions from the performance part of the Sentry SDK, these are sent in a terminable middleware and are thus sent after the response is sent.

So the errors/exception are sent immediately (could have impact on response times), and performance tracing is sent after the response is sent to the client (so should not have any impact on response times).

There are some ways to improve response times and/or lower the impact of sending data: https://docs.sentry.io/platforms/php/performance/#improve-response-time.

We used to have asynchronous sending (as far as that was possible …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ghost
Comment options

@stayallive
Comment options

@ghost
Comment options

@stayallive
Comment options

@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant