Replies: 1 comment 14 replies
-
What is your controller doing? 😄 I would concentrate on that 😉 |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are observing high latencies intermittently with our APIs which use the Sinatra framework and puma web server(single mode). We don't see any issues/delays with puma worker threads accepting incoming requests and processing the requests. The issue primarily lies with the delay involved in returning a response from the Sinatra controller. We use New Relic for our observability needs and it clearly indicates that the latency is caused by the controller.
Rack acts as an interface between the Sinatra framework and the puma server and I suspect rack could be contributing to this issue too. We are observing this intermittent issue only during peak load. Any guidance could be appreciated.
Library Versions:
Sinatra: 2.2.2
Puma: 5.5.2
Rack: 2.24
Beta Was this translation helpful? Give feedback.
All reactions