KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: giacomokk on November 28, 2017, 03:34:43 pm

Title: getOrdersPerCustomer method very slow
Post by: giacomokk on November 28, 2017, 03:34:43 pm
Hi, i'm trying to get all orders for the logged in customer using kk web services in this way:

KKWSEngIf eng = new KKWSEngIfServiceLocator().getKKWebServiceEng();
eng.getOrdersPerCustomer(<params>);

it works, but i see that is very slow for acquiring a list of 50 orders, it takes about ten seconds!

I'm using konakart 8.5.0.0.

Can you help me?

Thanks.

Giacomo



Title: Re: getOrdersPerCustomer method very slow
Post by: julie on November 29, 2017, 11:47:21 am
I would analyze whats taking up the time. i.e. Database, code or transmission of results.
Title: Re: getOrdersPerCustomer method very slow
Post by: giacomokk on December 06, 2017, 10:26:31 am
Hi Julie, do you have news?

Thanks.

G
Title: Re: getOrdersPerCustomer method very slow
Post by: julie on December 06, 2017, 11:36:24 am
Not really. As I said you need to do some work to see where the time is being spent. I'd start by seeing how long the DB is taking to return the data.