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

  • 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.

主站蜘蛛池模板: 江达县| 铜陵市| 巴中市| 公安县| 德州市| 鱼台县| 商洛市| 贵阳市| 当阳市| 皮山县| 光山县| 黎城县| 榆林市| 灌阳县| 健康| 从江县| 武清区| 贵溪市| 庆城县| 凉城县| 和龙市| 巴塘县| 武川县| 通化县| 朝阳县| 古田县| 马尔康县| 札达县| 叶城县| 昂仁县| 珠海市| 泸西县| 天台县| 乐陵市| 云和县| 南宫市| 同心县| 中山市| 光泽县| 四平市| 南木林县|