CQRS(Command and Query Responsibility Segregation)与EventSources实例
CQRSTheCQRSpatternandeventsourcingarenotmeresimplisticsolutionstotheproblemsassociatedwithlarge-scale,distributedsystems.从1000万用户并发修改用户资料的假设场景开始每次修改操作耗时200ms,每秒5个操作MySQL连接数在5K,分10个库5*5k*10=25万TPS1000万