简体   繁体   English

有状态服务的Azure Service Fabric自动缩放

[英]Azure Service Fabric autoscaling of stateful services

Read this article on autoscaling in Service Fabric. 阅读有关Service Fabric中自动缩放的文章 Now I am wondering about how this works with stateful services. 现在,我想知道它如何与有状态服务一起工作。 It is possible to add more partitions but what about redistributing the data? 可以添加更多分区,但是重新分配数据又如何呢?

Example: 例:

2 Partitions with range 0-99 Due to autoscaling we get a 3rd partition, what happens with data in partition 1 and 2? 2个范围为0-99的分区由于自动缩放,我们得到了第三个分区,分区1和2中的数据会怎样?

The partition scheme & range you have described cannot be autoscaled. 您描述的分区方案和范围无法自动缩放。

  • Named partition scheme must be used for the service. 该服务必须使用命名分区方案。
  • Partition names must be consecutive integer numbers, like "0", "1", ... First partition name must be "0". 分区名称必须是连续的整数,例如“ 0”,“ 1”,...。第一个分区名称必须为“ 0”。

Data in partition 1 & 2 would be unchanged in the event of a partition being added if the above conditions are satisfied. 如果满足上述条件,则在添加分区的情况下分区1和2中的数据将保持不变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 访问Azure Service Fabric状态服务状态 - Access Azure Service Fabric stateful service state 了解何时使用有状态服务以及何时依赖Azure Service Fabric中的外部持久性 - Understanding when to use stateful services and when to rely on external persistence in Azure Service Fabric 谁应该拥有Service Fabric状态服务中的服务解析逻辑? - Who should own the logic for service resolution in Service Fabric Stateful Services? Service Fabric状态服务和单个DB Persistance服务 - Service Fabric Stateful services with single DB Persistance service 内存中的 Service Fabric 有状态服务与外部存储 - Service Fabric stateful services in-memory vs external storage 在Azure Service Fabric中查找有状态服务的分区键 - Finding partition key for stateful service in Azure Service Fabric Azure Service Fabric中有状态服务与外部持久性之间的过渡 - Transition between stateful service and external persistence in Azure Service Fabric 如何在Azure中运行安全的服务矩阵状态服务? - How to run secure service fabric stateful service in Azure? Azure Service Fabric与Azure容器服务 - Azure Service Fabric vs Azure Container Services 有状态 Service Fabric 应用程序在 Azure 免费试用帐户中不起作用 - Stateful Service Fabric Application Not Working In Azure For Free Trial Account
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM