We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Egg.js Issue 用于反馈框架问题,讨论放这里
一个分布式爬虫系统,工作流程是n个小型阿里云ecs爬虫拿到数据后socket.io发回到中小型阿里云ecs主控,主控做数据运算后将数据放入到阿里云rds,数据量很大,egg里用了async/await库的queue队列。
爬虫返回给主控的数量量比主控运算的速度还快,十来分钟队列就会积了几十万导致主控的node进程崩了
TODO
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
背景
一个分布式爬虫系统,工作流程是n个小型阿里云ecs爬虫拿到数据后socket.io发回到中小型阿里云ecs主控,主控做数据运算后将数据放入到阿里云rds,数据量很大,egg里用了async/await库的queue队列。
问题
爬虫返回给主控的数量量比主控运算的速度还快,十来分钟队列就会积了几十万导致主控的node进程崩了
方案
The text was updated successfully, but these errors were encountered: