Giter VIP home page Giter VIP logo

Comments (4)

cleptric avatar cleptric commented on June 24, 2024

Could you let me know the time frame in which you saw these longer response times?

One way to make your application less reliant on wait times due to PHP's synchronous nature is to use a self-hosted relay.
It's a small proxy server you put somewhere next to your application. The server then accepts all events and forwards them to Sentry.

from sentry-laravel.

ZacharyDuBois avatar ZacharyDuBois commented on June 24, 2024

Roughly today at 09:30 ET. It was right after a deployment so it made me concern we pushed something broken to production. HA!

Yeah, definitely understand the synchronous part and how that can be a pain. Is the default timeout not 5s anymore? According to the Sentry Laravel docs, the default timeout should be 5s. My scheduled jobs were taking 10s each to run (when they are normally <1s). The only thing I can think of is the Sentry package was attempting two requests for that transaction?

Also, I only briefly looked at Relay. Might end up being something that needs to happen sooner than later. Thanks for the recommendation!

from sentry-laravel.

cleptric avatar cleptric commented on June 24, 2024

We do set a connection timeout of 2s and a timeout of 5s. These values can also be customized in your config/sentry.php file, as http_connect_timeout and http_timeout.

We also recently made some changes to our ingestion time outs server side, but what you are reporting concerns me that these changes do not have the effect we were hoping to see.

from sentry-laravel.

stayallive avatar stayallive commented on June 24, 2024

I'm wondering if the doubled timeout you are seeing is because for scheduled commands we do a ping at the start of the command and one at the end. Which is why it's double of the expected 5s timeout although 5s might still be on the long side for a timeout.

from sentry-laravel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.