Pros and cons in using multiple actor types in same Service Fabric service

南楼画角 提交于 2019-12-12 22:14:01

问题


When using the Azure Service Fabric Reliable Actor programming model, what are the pros and cons of using several actor types in the same service? Is it only a matter of deployment, or are there runtime considerations as well?


回答1:


Pros:

  • Increases density.
  • Fewer projects to manage which is always helpful.

Cons:

  • The actor types within the same package will have to be deployed/upgraded at the same time and are no longer independent.

My advice would be to use the same code packages if the various actors are quite tightly coupled logically.



来源:https://stackoverflow.com/questions/33612535/pros-and-cons-in-using-multiple-actor-types-in-same-service-fabric-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!