equal-aqua•2y ago
Trying to optimize autoscale options
Hello,
I am running my scraper on an AWS 8gb cpu, 16gb memory ecs.
Right now the avg cpu and mem are both like 88%. Is there anything I can do here to optimize more?
I also have
CRAWLEE_AVAILABLE_MEMORY_RATIO=.8
5 Replies
other-emerald•2y ago
Hi @bmax, this is a case-by-case thing. It highly depends on scraped sites, whether you are using a browser, browser settings,...
equal-aquaOP•2y ago
@vojtechmaslan any guide lines?
@bmax just advanced to level 5! Thanks for your contributions! 🎉
equal-aquaOP•2y ago
also cpu seems to hit 99% no matter what
what does eventLoop overloaded mean?
or how come currentConccurency is 18 when I have maxConcurrency at 200 and there are plenty of request?
You can find more info here:
https://crawlee.dev/docs/guides/scaling-crawlers
https://crawlee.dev/api/next/core/class/AutoscaledPool