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

日志量过大时,可能造成请求堆积,buffer 堆积 #2

Open
mariodu opened this issue Jun 6, 2019 · 1 comment
Open

日志量过大时,可能造成请求堆积,buffer 堆积 #2

mariodu opened this issue Jun 6, 2019 · 1 comment

Comments

@mariodu
Copy link

mariodu commented Jun 6, 2019

https://github.com/innopals/node-sls-logger/blob/master/src/slsProducer.ts#L22 在日志量大的场景下,这里会产生堆积,导致内存占用激增

@bestmike007
Copy link
Contributor

确实如此,有考虑过在发生堆积的时候dump到临时文件后台处理,但是还没有去实现,你有什么好的建议吗?

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

2 participants