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

  • Microservices with Clojure
  • Anuj Kumar
  • 187字
  • 2021-06-30 19:24:35

Scaling

The Art of Scalability (http://theartofscalability.com/) book uses a scale cube model to describe three primary scaling patterns for an application, as shown in the following diagram. The x-axis of the cube represents horizontal scaling; that is, deploying the same instance of the application by just cloning them and front-ending by a load balancer to distribute the load evenly among the instances. This scaling pattern is quite common for handling a high number of service requests. The z-axis of the cube addresses scaling by data partitioning. In this case, each application instance deals with only a subset of data. This scaling pattern is particularly useful for applications where the persistence layer becomes a bottleneck:

The y-axis of the cube addresses scaling by splitting the application by function or service. This pattern relates directly to the microservices pattern. The face of the cube created using the xy-axis combines the best practices of scaling for microservices-based architecture. Microservices are identified by splitting an application by bounded contexts (y-axis) and scaled by cloning each instance (x-axis). For microservices, cloning is done by deploying multiple instances of a service container.

主站蜘蛛池模板: 石屏县| 青岛市| 临洮县| 津市市| 开化县| 米林县| 岳池县| 江都市| 开江县| 百色市| 那坡县| 女性| 东山县| 六安市| 车险| 徐汇区| 汶川县| 洞口县| 招远市| 清水河县| 奉化市| 芦溪县| 中山市| 祁门县| 大姚县| 彝良县| 沁源县| 江西省| 老河口市| 璧山县| 临西县| 葵青区| 阿克| 五原县| 乌什县| 大宁县| 桓仁| 维西| 绥宁县| 工布江达县| 武鸣县|