Andrés:
Is that the response time through Islandora, or simply from the Fedora
object search interface? 10 seconds does sound quite slow. In general,
there are some things to look for, like:
1. When you look at the Tomcat process Fedora is running in, does it appear
to be consistently using all of its maximum allotted memory? If so, you may
need to configure a larger heap.
2. Are there many XACML policies in effect for the request? Authorization
checks are one of the most taxing parts of processing a request to Fedora,
so minimizing the relevant policies (and attributes checked) will boost
performance.
3. Are there extraneous filters or modules configured? Obviously extra
chained processing will slow things down.
4. What is the log level configured for Fedora? The more fine-grained the
logging, the more I/O overhead there will be. DEBUG logging is particularly
onerous, but even INFO level logging produces a lot of output.
5. Are threads a contested resource for the Fedora process? This may be
harder to ascertain without a profiler of some kind.
6. Is there any kind of warning or error indication in the logs? Your
response time is pretty slow, so I'm inclined to think something is
actually wrong more than inefficiently configured.
Hope those ideas help!
- Ben
On Tue, Oct 1, 2013 at 4:21 AM, Andrés Campanario <
[email protected]> wrote:
> Hi,
>
> How can I optimize or improve the response times of Fedora Commons API?
>
> I'm using FCREPO 3.6.2, everything works perfectly, but a simple query
> using API findObjets-A takes almost 10 seconds, just as if I use research.
>
> I Have Fedora Commons installed in one machine, mysql in another, and the
> application developed in PHP where connect (using Islandora class) in a
> third machine.
>
> Are there some tools like APC in JAVA and SPRING to improve TOMCAT
> server response ?
>
> Thank you for your help!
>
>
> --
> *Andres Campanario*
> http://www.andrescampanario.es
> http://www.linkedin.com/in/andrescampanario
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users