0

Our API service has several endpoints and one of them is critical for the user experience because it directly affects the page load time.

Is there a way to priotize calls to GET /api/priority_endpoint over GET /api/regular_endpoint so the prioritized requests spend less time in the requests queue?

Thanks...

Nimo
  • 7,984
  • 5
  • 39
  • 41

1 Answers1

0

No, this is not possible. All requests are sent to a random dyno as soon as they're within the router.
The only way you could do this would be by writing your own request queue in your app's code.

Damien MATHIEU
  • 31,924
  • 13
  • 86
  • 94