Filemaker XSL 20sec Query Latency

Posted by Ian Wetherbee on Stack Overflow See other posts from Stack Overflow or by Ian Wetherbee
Published on 2011-01-04T18:40:56Z Indexed on 2011/01/05 19:53 UTC
Read the original article Hit count: 200

Filed under:
|
|

I have an ASP frontend that loads data from a Filemaker database using XSL to perform simple queries. The problem is that the first page load takes 20 seconds +/- 200ms, then the next few page refreshes within a minute of the first request take <200ms, then the cycle starts over again.

Each page load makes only 2 XSL queries, and they execute fast after the first page load, so what is causing the delay on the first page load? I have caching turned up with a 100% hit rate, and number of connections at 100. I've tried with XSL database sessions on and off, and session time anywhere from 1 to 60 minutes without any changes.

The XSL loads from ASP use a GET request and add a Basic Authorization header to authenticate each time.

During fast page requests, the fmserver.exe and fmswpc.exe processes don't even flinch, but during a 20 second holdup I see fmserver jump to 30% CPU and a 3mb I/O read a few seconds into the request, and occasionally fmswpc jump to 60% CPU.

© Stack Overflow or respective owner

Related posts about asp

Related posts about xsltprocessor