Hi Akila,

It is not recommended to use testOnBorrow in false mode, because when it
false, it can returns invalid connections. performance degradation happen
because it checks for valid connections in connection pool. so check
increasing <validationInterval> as the document says.

Thanks

On Wed, Oct 22, 2014 at 10:02 AM, Akila Nimantha [IT/EKO/LOITS] <
[email protected]> wrote:

>  Hi Lakshman,
>
>
>
> Awesome. Its working. J .
>
> What I did was changed <testOnBorrow> true to false created oracle
> datasources in conf/datasources/mster-datasource.xml.
>
> Can you guys mention(change) this thing on api manager performance tuning
> document(https://docs.wso2.com/display/AM170/Tuning+Performance)(it says
> to put “true”) .
>
> It will help others like me.
>
>
>
> Regards,
>
> Akila
>
>
>
> *From:* Lakshman Udayakantha [mailto:[email protected]]
> *Sent:* 21 October 2014 9:32 PM
> *To:* Akila Nimantha [IT/EKO/LOITS]
> *Cc:* [email protected]
> *Subject:* Re: [Dev] AM Store and Publisher too slow in cluster setup
>
>
>
> Hi akila,
>
>
>
> Can you check the solution provided by Nuwan on this jira
> https://wso2.org/jira/browse/APIMANAGER-2358.
>
>
>
> Fixed by setting <testOnBorrow> to false.
>
>
>
> Thanks
>
>
>
>
>
>
>
> On Tue, Oct 21, 2014 at 1:35 PM, Akila Nimantha [IT/EKO/LOITS] <
> [email protected]> wrote:
>
>  Hi all,
>
>
>
> I deployed API Manager cluster(gateway,keymanager,publisher and store) in
> a same server machine and when starting four servers, started with specific
> profiles(ex. Gateway node started with gateway profile). Even before
> creating APIs , Publisher and Store applications are very slow(ex. It takes
> more than 15 seconds when prompting to the store home page). Also did both
> kernel level and AM level performance tuning using documentations(
> https://docs.wso2.com/display/AM170/Tuning+Performance). Also in the
> server machine there is more enough memory space.
>
> But when using created apis, seems no issue in latency.
>
> Is there a way to speedup store & publisher.
>
>
>
> Regards,
>
> Akila
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
>
>
> --
>
> Lakshman Udayakantha
>
> WSO2 Inc. www.wso2.com
>
> lean.enterprise.middleware
>
> Mobile: *0711241005*
>
>
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
>



-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to