WebAPI Timeout

Former Member
Former Member $organization

Hi All,

Just recently we've been experiencing serious performance problems on our website. Looking into the logs it appears that "GetNewSessionKey" and "SetVariable" methods are frequently timing out. We recently upgraded to 12.5 but were experiencing performance problems before the upgrade. Site has been performing well for months but has suddenly ground to a halt. Any ideas what might be causing these methods to timeout?

Thanks

Parents
  • Hi Huw,

    Any time you troubleshoot performance issues, you want to isolate different parts of the stack. The basic pieces of the stack are (you can also have other things like firewalls and load balances):

    Website -> API -> Database

    Right now you believe the method of the API is slow. Therefore it could be the API or the Database.

    You can try to isolate the database by running a profiler when you make the API call. The profiler will tell you how long the database portion of the stack takes. If the database is fast, then you've isolated the API server as your issue. If the database is slow, then you've isolated the database server.

Reply
  • Hi Huw,

    Any time you troubleshoot performance issues, you want to isolate different parts of the stack. The basic pieces of the stack are (you can also have other things like firewalls and load balances):

    Website -> API -> Database

    Right now you believe the method of the API is slow. Therefore it could be the API or the Database.

    You can try to isolate the database by running a profiler when you make the API call. The profiler will tell you how long the database portion of the stack takes. If the database is fast, then you've isolated the API server as your issue. If the database is slow, then you've isolated the database server.

Children
No Data