{"title":"利用事件溯源和CQRS构建一个高性能的积分交易系统","authors":"Y. Zhong, Wei Li, Jing Wang","doi":"10.1145/3317614.3317632","DOIUrl":null,"url":null,"abstract":"Point system is a common application in loyalty marketing programs. However, points are usually difficult to be obtained so that consumers have a small amount of points and participate in marketing campaigns rarely. To promote consumer engagement, this paper proposes a new method that combines point trading with third-party payment, supporting more forms of marketing strategy. Trading subsystem is the core part of point system. Traditional trading subsystem architecture is faced with resource competition and database deadlock problems so that it cannot meet the performance requirements. Using the Actor model, event sourcing and CQRS pattern, both the performance and scalability of the system can be improved. Tests have shown that this architecture does bring performance gains.","PeriodicalId":145611,"journal":{"name":"Proceedings of the 2019 5th International Conference on E-Business and Applications - ICEBA 2019","volume":"310 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Using Event Sourcing and CQRS to Build a High Performance Point Trading System\",\"authors\":\"Y. Zhong, Wei Li, Jing Wang\",\"doi\":\"10.1145/3317614.3317632\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Point system is a common application in loyalty marketing programs. However, points are usually difficult to be obtained so that consumers have a small amount of points and participate in marketing campaigns rarely. To promote consumer engagement, this paper proposes a new method that combines point trading with third-party payment, supporting more forms of marketing strategy. Trading subsystem is the core part of point system. Traditional trading subsystem architecture is faced with resource competition and database deadlock problems so that it cannot meet the performance requirements. Using the Actor model, event sourcing and CQRS pattern, both the performance and scalability of the system can be improved. Tests have shown that this architecture does bring performance gains.\",\"PeriodicalId\":145611,\"journal\":{\"name\":\"Proceedings of the 2019 5th International Conference on E-Business and Applications - ICEBA 2019\",\"volume\":\"310 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-02-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2019 5th International Conference on E-Business and Applications - ICEBA 2019\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3317614.3317632\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2019 5th International Conference on E-Business and Applications - ICEBA 2019","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3317614.3317632","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Using Event Sourcing and CQRS to Build a High Performance Point Trading System
Point system is a common application in loyalty marketing programs. However, points are usually difficult to be obtained so that consumers have a small amount of points and participate in marketing campaigns rarely. To promote consumer engagement, this paper proposes a new method that combines point trading with third-party payment, supporting more forms of marketing strategy. Trading subsystem is the core part of point system. Traditional trading subsystem architecture is faced with resource competition and database deadlock problems so that it cannot meet the performance requirements. Using the Actor model, event sourcing and CQRS pattern, both the performance and scalability of the system can be improved. Tests have shown that this architecture does bring performance gains.