November Happy Hour will be moved to Thursday December 5th.

Commerce Service API - v9.+

Vote:
 

Service API

We have a schedule job, that take a lot of items (loop) and add into Commerce with service API, but after a while, the job start to have problem to get response from ServiceAPI, each call is taking more and more time to get a response, until I get Aplication_Start in log, and job hangs.

Is there any way to activate logging in Service API?

#177975
Apr 25, 2017 13:07
Vote:
 

ServiceAPI is just another Episerver site so normal EPiServerLog.config should work. However from the symptons it looks like a performance degradation regarding memory usage. I would suggest to use some profiling tool to monitor memory consumption. You can always contact our developer support service for further assistance.

#177976
Apr 25, 2017 13:19
Vote:
 

Thanks Quan!

Do you knows any tools for that?

#177978
Apr 25, 2017 13:32
Vote:
 

I can name a few, jetBrains dotMemory, ANTS .NET Memory Profiler. WinDbg is also a powerful tool - but it can be complicated to use.

#177979
Apr 25, 2017 13:44
Vote:
 

Thanks Quan

I will test some

#177981
Apr 25, 2017 14:07
Vote:
 

Have a look on SQL Profiling also when this job is running. There may be some reads/writes taking more time.

/K

#177987
Apr 25, 2017 16:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.