Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Connect so slow
 
hloettgen
Jr. Member
 
Total Posts:  5
Joined:  2012-07-22
 

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(usernameapiKeystring): loginResponseParam;
var
  
myLoginParamLoginParam;
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(UserAPIKey);
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

 
Magento Community Magento Community
Magento Community
Magento Community
 
beguede
Jr. Member
 
Total Posts:  1
Joined:  2012-01-29
 
hloettgen - 23 July 2012 12:15 AM

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(usernameapiKeystring): loginResponseParam;
var
  
myLoginParamLoginParam;
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(UserAPIKey);
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

I see you do update in stock.. i´m trying to do this but wihtout sucess.. can you show mw how you do this??

tks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top