开发者

Advantages and Trade-off while using Java/PHP bridge and XML-RPC

I want to know the advantages and trade-off while using Java/PHP bridge and XML-RPC for communication?

How does the performance vary between the two?

Thanks in 开发者_如何学运维advance for the community support. - Aditya Macherla


Neither. Use a low-latency messaging system that they both can use:

  • Encode data in JSON (readable and writable by both Java and PHP (and most other languages)),
  • Store and read from a shared medium (memcached preferably, mysql/postgres/db in general next, flat-file next),
  • Use REST over XML-RPC anyday.

There is no plausible use case where using the above will be worse than using either XML-RPC or a java/php bridge.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜