Re: [SOAP] cpu usage reaches 90% while calling method

[email protected] ("Claus Jørgensen")
Newsgroups php.soap
Message-ID <[email protected]>
Hey

SOAP is heavy operations as XML is not the most lightweight format you can
find for data transfer.
You should ask yourself why you are requireing to do updates each 3 seconds,
and think of ways to persist the objects/data on your machine.

Perhaps look at APC, if you can cache some of the data.
Else you will probably have to use a more lightweight protocol, such as
direct TCP/IP rather than XML/SOAP.

2007/10/18, Javed Chauhan <[email protected]>:
>
>
> Hello,
> We have developed one site and in this we are calling methods.
> Basically this is auction site.
>
> So it is calling every 3 seconds.
>
> When we call auction fetch methods ,cpu reaches 90% usage thats why site
> down at that time.
>
> We are making soap object every time and calling methods every time.
> So if any of you know how to control them or any other methods by which we
> can solve our
> problem.
>
> Site url is tjc.tv
>
>
> Thanks,
> Javed
>
>
>
> --
> View this message in context:
> http://www.nabble.com/cpu-usage-reaches-90--while-calling-method-tf4646658.html#a13273521
> Sent from the Php - Soap mailing list archive at Nabble.com.
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Sincerely
  Claus Jørgensen, Denmark
  Mobil: +45 30 13 27 32
  http://www.dragons-lair.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.