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

所有对meta的操作抽象成事件串行化处理 #7

Open
Hurricanezwf opened this issue Sep 12, 2018 · 0 comments
Open

所有对meta的操作抽象成事件串行化处理 #7

Hurricanezwf opened this issue Sep 12, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Hurricanezwf
Copy link
Owner

随着并发量的提升,meta对象的锁竞争愈发激烈,性能下降严重。所以考虑将所有对meta的操作抽象成事件,放入到事件队列里,由单个协程负责meta逻辑。这样将锁前移到事件入队的时候,整个锁定时间也仅限于入队的时候,而不是单条事件的逻辑处理时间。

@Hurricanezwf Hurricanezwf self-assigned this Sep 12, 2018
@Hurricanezwf Hurricanezwf added the enhancement New feature or request label Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant