git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
3 lines
3.2 KiB
HTML
3 lines
3.2 KiB
HTML
<html><head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>2. Is there any limitation on the size of the requests / responses that can be successfully sent?</title><link rel="stylesheet" href="html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.1"><link rel="start" href="index.html" title="XML-RPC for PHP"><link rel="up" href="ch12.html" title="Chapter 12. Frequently Asked Questions"><link rel="prev" href="ch12s01.html" title="1. How to send XML as payload of a method call"><link rel="next" href="ch12s03.html" title="3. My server (client) returns an error whenever the client (server) returns accented characters"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2. Is there any limitation on the size of the requests / responses that can be successfully sent?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch12s01.html">Prev</a> </td><th width="60%" align="center">Chapter 12. Frequently Asked Questions</th><td width="20%" align="right"> <a accesskey="n" href="ch12s03.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3453"></a>2. Is there any limitation on the size of the requests / responses that can be successfully sent?</h2></div></div></div><p>Yes. But I have no hard figure to give; it most likely will depend on the version of PHP in usage and its configuration.</p><p>Keep in mind that this library is not optimized for speed nor for memory usage. Better alternatives exist when there are strict requirements on throughput or resource usage, such as the php native xmlrpc extension (see the PHP manual for more information).</p><p>Keep in mind also that HTTP is probably not the best choice in such a situation, and XML is a deadly enemy. CVS formatted data over socket would be much more efficient.</p><p>If you really need to move a massive amount of data around, and you are crazy enough to do it using phpxmlrpc, your best bet is to bypass usage of the xmlrpcval objects, at least in the decoding phase, and have the server (or client) object return to the calling function directly php values (see <code class="varname">xmlrpc_client::return_type</code> and <code class="varname">xmlrpc_server::functions_parameters_type</code> for more details).</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch12s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch12.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch12s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1. How to send XML as payload of a method call </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 3. My server (client) returns an error whenever the client (server) returns accented characters</td></tr></table></div></body></html> |