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

立ち上がり時にメッセージ数をCOUNTしていて遅い #2157

Open
motoki317 opened this issue Dec 17, 2023 · 2 comments
Open

立ち上がり時にメッセージ数をCOUNTしていて遅い #2157

motoki317 opened this issue Dec 17, 2023 · 2 comments
Assignees
Labels
good first issue 比較的取り組みが簡単 kind/performance パフォーマンスの問題に関するもの

Comments

@motoki317
Copy link
Member

立ち上がり時にmessage counterの初期化で、SELECT COUNT(*) FROM messagesしていて遅い(気がする)(測定してない)

取得を非同期にするべき

@motoki317 motoki317 added good first issue 比較的取り組みが簡単 kind/performance パフォーマンスの問題に関するもの labels Dec 17, 2023
@motoki317
Copy link
Member Author

sync.Onceを上手く使うと良さそう

@motoki317 motoki317 self-assigned this Jun 24, 2024
@nagaeki nagaeki assigned nagaeki and unassigned motoki317 Jun 24, 2024
@kaitoyama
Copy link
Contributor

計測して、必要そうであれば優先順位を上げて開発に回す

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 比較的取り組みが簡単 kind/performance パフォーマンスの問題に関するもの
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants