简体   繁体   English

本地php xmlrpc解码xmlrpc服务器响应缓慢

[英]native php xmlrpc slow to decode xmlrpc server response

I'm using php's native xmlrpc library to build an xmlrpc client (php 5.3.3 on redhat 5.7). 我正在使用php的本地xmlrpc库来构建xmlrpc客户端(redhat 5.7上的php 5.3.3)。 Trouble is it takes the xmlrpc_decode function atleast two seconds to decode each response sent by the server, this is causes timeouts with a second application I need to respond to. 问题是xmlrpc_decode函数至少需要两秒钟来解码服务器发送的每个响应,这是导致我需要响应的第二个应用程序超时的原因。

Anyone have any idea how to speed this up. 任何人都知道如何加快速度。

Thanks in advance. 提前致谢。

I got similar experience, it is slow. 我有类似的经历,很慢。 But I have no answer for this - you are talking about xmlrpc_decode() which is PHP native instruction http://php.net/manual/en/function.xmlrpc-decode.php - when XMLRPC is installed as C extension. 但是我对此没有答案-您正在谈论xmlrpc_decode(),这是PHP本机指令http://php.net/manual/en/function.xmlrpc-decode.php-当XMLRPC作为C扩展安装时。 I don't think anything faster exists, so we just have to live with this. 我认为没有更快的速度存在,因此我们只需要忍受这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM