|
Hi everybody,
i am just starting to develop an interface using API v2.
On my developer machine i have installed XAMPP 1.7.4 with PHP 5.3.5.
Other shops like OXID or XTCommerce are running fast.
What i encounter is that the backend and the shop itself is very slow…
So there must be some settings in my environment to speed up everything, which i dont know.
Anybody can help with that ?
Also my test development…
My web service client is using the WSDL-file and when i try to login to my localhost to retrieve my session id
this takes about 10 seconds…
This is part of my (delphi-)code i use…
function magelogin(username, apiKey: string): loginResponseParam; var myLoginParam: LoginParam; begin myLoginParam := loginParam.Create; myLoginParam.username := username; myLoginParam.apiKey := apiKey; result := mage.login(myLoginParam); myLoginParam := nil; end;
mage := GetMage_Api_Model_Server_Wsi_HandlerPortType(True); mage.startSession;
session_id := magelogin(User, APIKey); mysession_id := session_id.result;
Memo1.Lines.Add('Session ID: '+mysession_id);
Listing my 2 test products needs another 5 seconds....
Updating stock qty for 1 product 4 seconds…
What should i do to increase my performance ?
Hope anybody can help, cause this is annoying....
regards
Holger
|