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 · 1 comment
Open

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

motoki317 opened this issue Dec 17, 2023 · 1 comment
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を上手く使うと良さそう

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

No branches or pull requests

1 participant