官术网_书友最值得收藏!

Stateless

The next constraint to add is stateless. The server should not contain any state of workflow. In this way, the client is the driver of the information that it wants. When the client asks the server for data, the client needs to pass all the relevant information to the server. This method of designing software creates an abstraction, where the server is unaware of the client; it creates a loose couple design, which is conducive to changes. Later on in the chapter, we will look further into stateless by expanding the idempotent concept.

The client has to keep track of its state. The downside is that the client will have to send more data to the server on each request.

Having the stateless server allows you to scale out, since the server does not store any client-specific data.

主站蜘蛛池模板: 武强县| 白城市| 扎赉特旗| 大化| 龙州县| 穆棱市| 隆回县| 玉溪市| 视频| 金寨县| 汉寿县| 商洛市| 常山县| 内黄县| 荆州市| 垦利县| 永安市| 连城县| 镇康县| 红原县| 蕲春县| 大田县| 南昌市| 崇明县| 辛集市| 孟村| 谢通门县| 吉隆县| 壤塘县| 广东省| 永福县| 鹰潭市| 任丘市| 商都县| 凤翔县| 新余市| 共和县| 兴安县| 丹东市| 汉源县| 徐州市|