XML-RPC 通常允许一次调用几个函数吗? [英] Does XML-RPC in general allows to call few functions at once?

查看:35
本文介绍了XML-RPC 通常允许一次调用几个函数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在一篇文章中向 XML-RPC 服务器提出几个问题吗?如果是,我如何在 python 和 xmlrpclib 中做到这一点?

Can I ask for few question in one post to XML-RPC server? If yes, how can I do it in python and xmlrpclib?

我在慢速连接上使用 XML-RPC 服务器,所以我想一次调用几个函数,因为每次调用都要花费 700 毫秒.

I'm using XML-RPC server on slow connection, so I would like to call few functions at once, because each call costs me 700ms.

推荐答案

是否支持多路呼叫对您有什么影响取决于 700 毫秒的去向.

Whether or not possible support of multicall makes any difference to you depends on where the 700ms is going.

您是如何测量 700 毫秒的?

How did you measure your 700ms?

运行查询的数据包捕获并分析结果.应该可以大致推断出往返时间、带宽限制,无论是服务器的应用层还是客户端机器的名称解析.

Run a packet capture of a query and analyse the results. It should be possible to infer roughly round-trip-time, bandwidth constraints, whether it's the application layer of the server or even the name resolution of your client machine.

这篇关于XML-RPC 通常允许一次调用几个函数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆