Why are RESTful Applications easier to scale

前端 未结 5 1429
半阙折子戏
半阙折子戏 2020-12-30 06:58

I always read that one reason to chose a RESTful architecture is (among others) better scalability for Webapplications with a high load.

Why is that? One reason I ca

5条回答
  •  情书的邮戳
    2020-12-30 07:40

    A reason (perhaps not the reason) is that RESTful services are sessionless. This means you can easily use a load balancer to direct requests to various web servers without having to replicate session state among all of your web servers or making sure all requests from a single session go to the same web server.

提交回复
热议问题