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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: olussier at compurangers dot com
New email:
PHP Version: OS:

 

 [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: Fri Apr 19 06:01:29 2024 UTC