This is a continuation of the article at http://ravinote.blogspot.com/2020/09/best-practice-from-networking.html
Websocket – facilitates duplex communication and is independent of HTTP. Both the client and the server can be a producer as well as the consumer. The client and the server can both push events.
Address – Universal addressing without exhaustion is possible with IPv6 connectivity. This is independent of the existing IPv4 connectivity that powers the internet as we know.
Binding – These can be of three types – TCP/IP binding, HTTP binding, and net MSMQ binding, and each of them differentiates a way for an endpoint to be setup.
Contract – become a descriptor for the service just like address and binding and gives information to the client on the aspects of connecting to the endpoint of the service. Contracts can support stateful protocols but they are verbose, static, and brittle and became less popular in the face of growing competition from a stateless design that uses pre-determined and well-accepted verbs.
Stateful and Stateless design – In a stateless design, each request is granular authenticated, authorized, audited, and optionally encrypted. The resource usages are clean after a request-response exchange. The well-established protocols foster a community of developers, tools, and ecosystems.
No comments:
Post a Comment