REST API very slow due too long "session wait" times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 08:36 AM
Hi,
Calling to REST API end points is very slow in my dev instance.
According to the Session Debug Log view it is caused by too long "session wait " times.
In the example below it's +11 seconds.
This happens very often and regardless the specific REST API end point called from my widget.
I've also tried alternative dev instances, but it occurs in all of them (Tokio)
How can it be resolved?
Regards,
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 05:20 AM - edited 02-05-2023 05:22 AM
Can you explain in detail how, where, and why you're hitting the endpoint? So that one of the community members can suggest you alternate solution to improve the API performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 07:13 AM
Hey Sai,
we surely need what your REST API endpoint is - OOB one or SRAPI (scripted) ?
Also - how big is your payload ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 06:02 AM
I just figured out the problem: it was caused by a server script delaying any client interaction, including client calls to the REST API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 12:07 AM
@Pablo Beltran how did you figured out the problem? where can we check that? i am also facing similar problem in my dev instance.