首页 > TAG信息列表 > Shashlik

【Shashlik.EventBus】.NET 事件总线,分布式事务最终一致性

【Shashlik.EventBus】.NET 事件总线,分布式事务最终一致性 简介 github https://github.com/dotnet-shashlik/shashlik.eventbus 各位爷高兴了给个star呗。 分布式事务、CAP定理、事件总线,在当前微服务、分布式、集群大行其道的架构前提下,是不可逃避的几个关键字,在此不会过多阐述

生产者消费者

管程法【缓冲区法】 public class BufferPCTest_Shashlik { public static void main(String[] args) { SynContainer container = new SynContainer(); new Thread(new C(container)).start(); new Thread(new P(container)).start(); } /*消费者