网络通信

硬件

usb

以太网

蓝牙

gigabee

wifi

3g/4g

dpr

shared memory

Message format

protobuf

JSON

XML

协议

tcpip

http,ftp

udp

zeromq

inproc

windows rpc

websocket

redis,also a lib

xmpp

框架,lib

cpprestsdk

gRPC

zeromq

boost asio

pattern

req-resp

sub-pub

hook

规范

AsyncAPI vs OpenAPI

OASGraphQLgRPCODataRAML和现在的AsyncAPI

API

REST API

GraphQL?

FAQ

AsyncAPI is better than OpenAPI?

[Disclaimer: Following is just my understanding. Welcome to debate]

They are different things. they cannot replace each other

Traditional OpenAPI (or REST API): Implements the req-resp pattern

AsyncAPI: Implements the pub-sub pattern. It cannot model traditional REST API’s req-resp pattern (there is an related open issue in AsyncAPI github)

web hook can implement move motor callback?

[Disclaimer: Following is just my understanding. Welcome to debate]

Not sure

Hook(callback ) implements a reversed req-resp pattern. Both Traditional OpenAPI and AsyncAPI cannot support hook. While I find a REST HOOK website

server‘s next action does not depend on the data in webhook’s response (except the status)

k8s framework is better than REST?

[Disclaimer: Following is just my understanding. Welcome to debate]

They are different things. they cannot replace each other

k8s : a container management s/w. 可以理解为软件的安装管理工具,他的管理对象是container

REST API: to implement a service. a service can run in a container or OS

Powered by Jekyll and Theme by solid

本站总访问量