coolbeevip commented on issue #590: 事务失败后做补偿操作(cancel)抛异常,事务结束
URL: 
https://github.com/apache/servicecomb-pack/issues/590#issuecomment-552305537
 
 
   > alpha 基於 db 或 狀態機 部屬,這兩個差異在哪?
   状态机模式底层基于Akka,在集群部署的时候可以基于服务分片获取更好的性能,另外在事务终止后事务的数据会存储到ES中,同时提供了一个新的UI可以进行查看。
   
   > alpha 要如何配置為狀態機模式 ?
   0.5.0版本的时候需要在alpha和omega启动的时候都增加 `alpha.feature.akka.enabled=true` 参数,当前主干的 
0.6.0版本则不需要在 omega端加这个参数,具体细节你可以看  
https://github.com/apache/servicecomb-pack/blob/master/docs/fsm/fsm_manual.md
   
   > 狀態機模式是否就不需要 db 了 ?
   目前只提供saga的状态机模式选择,tcc还是基于db的,所以还是需要db。
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to