亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

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
697

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接口,數(shù)據(jù)交互的格式基本都是json.

  • Asynchronous: MQMessage Queue

PHP,Python,Node做前端網(wǎng)關(guān)接入層,給客戶端提供API。Java,Golang做一些后端底層的微服務(wù)。給前端網(wǎng)關(guān)提供API

Ty80

restful interface

習(xí)慣沉默

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

Ty80

Restful, large projects can use components such as thrift.

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