[FX.php List] Are there any FMCakeMix war stories?
whatdoyouwant at gmail.com
Wed Apr 11 10:59:31 MDT 2012
I have a site that can be sometimes heavily used. I was running around up
to 9 regular queries and a more involved findquery. When someone would
refresh the page with the findquery on it, the cpu would spike in relation
to how fast they hit the refresh button. When the cpu was high, the site
would be slow.
When you look at the client list in filemaker, it would show a few
connections by the fx user and one or more as having been logged in for
more than a few minutes. Killing the connection then would make the site
Making more fx users to reduce volume of requests per user seemed to
alleviate the problem a little. Caching most of the queries (obviously)
fixed the problem even more.
The site couldn't be faster now.
On Sun, Mar 18, 2012 at 1:29 PM, Denis Somar <dsomar at gmail.com> wrote:
> This is really interesting and I'm really curious as to how you
> arrived at this best practice ?
> On Sun, Mar 18, 2012 at 12:03 PM, Nick <whatdoyouwant at gmail.com> wrote:
> > No, only a separate one for using findquery. Findquery queues a number
> > actions in one large query, and the filemaker user you are querying with
> > make other findquery actions wait. It really depends on the volume.
> > On Tue, Mar 13, 2012 at 7:08 AM, BEVERLY VOTH <beverlyvoth at gmail.com>
> >> Yes, Nick, what do you mean by "separate"? Do you create more than one
> >> user for the queries, or just a separate one for finds, ( and one for
> >> edits, deletes )? If so, how does that help ( to have more than one
> >> to access the database when web publishing )?
> >> Beverly
> >> On 12 Mar 2012, at 10:20 PM, Nick Salonen wrote:
> >> > In FileMaker, a user that has fmxml privilege to make queries.
> >> >
> >> > Sent from my iPhone
> >> >
> >> > On Mar 12, 2012, at 12:03 PM, BEVERLY VOTH <beverlyvoth at gmail.com>
> >> > wrote:
> >> >
> >> >> Nick, can you expound on this statement "separate user" ?
> >> >>
> >> >> Thank you,
> >> >> Beverly
> >> >> On 12 Mar 2012, at 12:52 AM, Nick wrote:
> >> >>
> >> >>> I usually make a separate user for findquery requests.
> >> _______________________________________________
> >> FX.php_List mailing list
> >> FX.php_List at mail.iviking.org
> >> http://www.iviking.org/mailman/listinfo/fx.php_list
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FX.php_List