rpc - Java provides underlying services and PHP calls services. What form should be used? Or a solution?
大家讲道理
大家讲道理 2017-05-16 13:05:32
0
5
597

Java provides underlying services and PHP calls services. What form should be used? Or a solution?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(5)
某草草

The most popular method now:

  • Client: mobile, web front-end

  • Service front-end: gateway access end

  • Service backend: microservices

There are roughly two methods of front-end and back-end communication:

  • Sync: restful接口或rpc接口,数据交互的格式基本都是json.

  • Asynchronous: MQMessage Queue

PHPPythonNode做前端网关接入层,给客户端提供APIJavaGolang做一些后端底层的微服务。给前端网关提供API

Ty80

restful interface

習慣沉默

It depends on your specific business, whether the security requirements are high or not, etc., whether to use REST or SOAP, etc.

过去多啦不再A梦

JSONRPC

Ty80

Restful, large projects can use components such as thrift.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template