- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 139字
- 2021-07-02 20:52:22
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.
- Java程序設(shè)計(jì)與開發(fā)
- Mastering JavaScript Functional Programming
- Learning Apex Programming
- 造個小程序:與微信一起干件正經(jīng)事兒
- Interactive Data Visualization with Python
- Visual Basic程序設(shè)計(jì)(第3版):學(xué)習(xí)指導(dǎo)與練習(xí)
- C語言程序設(shè)計(jì)
- Unreal Engine 4 Shaders and Effects Cookbook
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- Nginx實(shí)戰(zhàn):基于Lua語言的配置、開發(fā)與架構(gòu)詳解
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- Angular應(yīng)用程序開發(fā)指南
- jQuery for Designers Beginner's Guide Second Edition
- Instant Apache Camel Messaging System
- Hacking Android