具体地说,无状态原则保证分布式服务器可以平衡请求处理负载,而客户机不会注意到差异。
Specifically, the stateless principle guarantees that distributed servers can balance the load of processing requests while the clients do not notice the difference.
无状态——通过单个调用传入传出给定函数的所有相关数据,支持任何运行的实例以任何方式处理任何客户请求。
Stateless -- all data associated with a given function is passed in and out on a single call, enabling any client request to be handled by any running instance in any order.
无状态性是通过保证调用所需数据的可用性实现的,而且这不依赖于处理请求的主机。
Statelessness is achieved by ensuring that all the data needed for the call is available and there is no dependency on the machine that processed the request.
应用推荐