Skip to content

✨ feat: 操作日志中间件添加批量插入功能 #750

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IAseven
Copy link

@IAseven IAseven commented Aug 4, 2025

存在问题

原有的日志中间件在每次接收请求时都会调用数据库插入接口,当高并发场景可能会导致数据库写入瓶颈

解决方案

使用本地内存消息队列来实现超时批量插入

@wu-clan wu-clan self-requested a review August 5, 2025 05:51
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

Successfully merging this pull request may close these issues.

1 participant