Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

聚合根的单线程更新PublishedVersion太慢,造成event消费堆积 #93

Open
654894017 opened this issue Feb 18, 2021 · 0 comments

Comments

@654894017
Copy link

654894017 commented Feb 18, 2021

UpdatePublishedVersionAsync(processingMessage, 0);

PublishedVersion 表的单个聚合根的版本号,是一个版本号一个版本号依次更新,导致event消费过慢,单个聚合根的event的消费速度小于100TPS(只打印log,不入库),主要消耗在update PublishedVersion 表上,event很大一部分数据需要入库的,这样性能还会进一步降低。是否有考虑支持批量event消费处理,一批统一更新PublishedVersion。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant