php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41544 Long and memory-intensive processing handling .Net response with datasets
Submitted: 2007-05-30 17:19 UTC Modified: 2007-06-07 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: olussier at compurangers dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.2 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
30 - 24 = ?
Subscribe to this entry?

 
 [2007-05-30 17:19 UTC] olussier at compurangers dot com
Description:
------------
We have been doing performance tests with PHP and .Net interacting through web services. As a test, we have a .Net service returning a dataset with 100000 entries, which makes a SOAP response of about 25 Mbs. We also have a PHP service returning the same data but simply as a string containing a base64-encoded XML (this makes a SOAP response of about 30 Mbs). I have written a test client that simply calculates how much time it takes to call the service and get the response. When calling the PHP service, it takes about 22 seconds to run, which is fine given the amount of data. However when calling the .Net service, it takes over 4 minutes to complete and the process' memory usage gets over 200 megabytes, even though the response is smaller than the PHP service's. I am pretty sure that this has something to do with processing a large XML (maybe converting entities?).

Reproduce code:
---------------
Simple client:

$soap = new SoapClient("http://somewhere.com/test/service.wsdl");

$start = microtime(true);
$soap->SomeTest();
$end = microtime(true);

echo ($end - $start);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-30 17:39 UTC] tony2001@php.net
>I am pretty sure that this has something to do with processing a
>large XML (maybe converting entities?).

Maybe. Or maybe not.
We can't say anything for sure without a reproduce case.
 [2007-06-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 22:01:30 2024 UTC