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

  • Microservices with Azure
  • Namit Tanasseri Rahul Rai
  • 154字
  • 2021-07-02 22:18:27

State redundancy

For stateful Microservices, it is efficient to store state near compute for improved performance. Service Fabric natively integrates with a Microsoft technology called Reliable Collections to achieve collocation of compute and state for services deployed on it.

Reliable Collections can be thought of as a collection of state stores specifically designed for multi-computer applications. It enables developers to store state locally on a node within a Service Fabric cluster while assuring high availability, scalability, and low latency. For services running multiple instances, the state is replicated across nodes hosting different instances. Replication is the responsibility of the Reliable Services framework. This saves developers a significant amount of time and effort.

Reliable Services is also transactional by nature and supports asynchronous, non-blocking APIs. Presently, this technology supports two types of state stores – Reliable Dictionary, for storing key-value pairs, and Reliable Queues, a first-in-first-out data structure usually used for message passing.

主站蜘蛛池模板: 来凤县| 报价| 平遥县| 招远市| 达拉特旗| 方山县| 山阳县| 左贡县| 柘城县| 扎赉特旗| 宁南县| 大庆市| 丘北县| 安徽省| 丰台区| 保康县| 商洛市| 林口县| 梁山县| 万山特区| 寿光市| 喀喇沁旗| 怀化市| 大足县| 天柱县| 平顺县| 黄平县| 金川县| 柞水县| 祥云县| 县级市| 神木县| 同德县| 措勤县| 平武县| 锦屏县| 禄劝| 屯门区| 湾仔区| 洛隆县| 乾安县|