Loading

摘要: https://github.com/wswind/learn-orleans/tree/master/04.EventSourcing 上一讲我们说明了多个grain的运行,各有各的状态,事件溯源机制能够帮助我们将多个grain状态同步。这在大型分布式系统中,意味着横向拓展,消除系统的存储瓶颈。 阅读全文
posted @ 2020-04-01 17:27 wswind 阅读(822) 评论(0) 推荐(1) 编辑
摘要: https://github.com/wswind/learn-orleans/tree/master/03.MultiGrain grain虽然是单线程的,但是我们可以创建多个grain来并行执行任务。 修改上一讲的例子: private static async Task DoClientWor 阅读全文
posted @ 2020-04-01 16:28 wswind 阅读(284) 评论(0) 推荐(1) 编辑