Able to diagnose the speed and performance of an API
Options
![Pradeep B](https://us.v-cdn.net/6037124/user_avatars/3098153.jpg)
Pradeep B
Member ✭
While I understand there are many reasons that an API can respond slow but it is totally unclear why it is slow on Xano. For instance, I have a parent-child relationship table to serve it on the below screen but consistently it loads up slow, like it take 3-4 seconds.[CleanShot 2022-01-23 at 20.21.32.png]I understand the server speed and performance varies based on the Xano plan but it would be great to provide tools around diagnosis to understand that is it a server issue or is it because of the query response time or too much data in the tables.
It would help us to make a decision if it is required us to upgrade the plan or optimize the tables in db.
It would help us to make a decision if it is required us to upgrade the plan or optimize the tables in db.
Comments
-
you can check the response time in the request history in the Xano API dashboard to be sure if this is your front / location or actually Xano.
-
First you need to capture the request in action. This is done either in Run & Debug or by looking at the request history that Lukasz mentioned.
Run & Debug has a secondary tab called Debugger which you can click on and see detailed timings of each function stack item.
Request history has the timing information in the side panel.
Let me know if you have any issues. It should be very clear where the issue is. -
cool thanks, it was helpful 🙏
-
It doesn't seem to be normal - 14 seconds each on two different APIs, there are no more than 100 rows in those tables 😟
[CleanShot 2022-02-01 at 18.18.10@2x.png][CleanShot 2022-02-01 at 18.17.42@2x.png]
and for POST request - 5s[CleanShot 2022-02-01 at 18.21.16@2x.png] -
Hi, did you manage to fix this?
-
I am not sure what to fix it on my side when all APIs are performing slow.
-
Weird not sure either. I hope you can fix it
-
can you post the steps for one of those slow endpoints, like /twitter_users? Could help with an "aha" moment from those of us in the community. And of course the xano people have great office hours for tracking hard issues.
-
you can click on those request boxes and get detailed timing for the entire function stack sequence. It will be very easy to see where the bottleneck is. Just click on those boxes.
-
Here is what it looks like
[CleanShot 2022-02-16 at 22.48.16.png][CleanShot 2022-02-16 at 22.50.26.png][CleanShot 2022-02-16 at 22.51.11.png]
I am not quite sure why it is beyond 10kb but is that the reason?
but today's response is beyond 25s 😞
[CleanShot 2022-02-16 at 22.52.44.png] -
It looks like the free instance is running into some performance issues due to abuse.
Those numbers would not be happening on a premium instance.
The team is looking into it. This isn't a trick to upgrade 🙂 -
Thank you!
-
we think this is fixed now. Please give it another try. Performance should be fast.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback