-
Notifications
You must be signed in to change notification settings - Fork 108
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
Performance #10
Comments
you did set |
Thank you for the reply, I understand what waitAfterDOMLoad does, what I'm trying to figure out is if rendora + chrome headless can process multiple concurrent requests in parallel, or do requests stack up into queue, and each next request is processed after the previous one is finished? The benchmark shows that 8 requests out of ten timed out, which makes me to believe that requests are processed successively, could you please clarify?
|
Aha okay, sorry I didn't read your post carefully the first time. Yeah, it currently processes the requests to the headless Chrome instance successively not in parallel, but rendora itself can accept as many parallel requests as possible by your OS and resources, and since you set a potentially low value of |
Thank you, understood. Do you know by any chance a way to make chrome headless to process requests concurrently? |
Yes, I guess using |
Seconding the interest. Even though a single website may not get too many crawler requests per sec on average, I often see surges of 600+ rpm when someone forgets to throttle their bot. Plus, if you have many websites running through this, it will definitely stack up. |
Could you please explain if rendora + chrome headless can process concurrent requests in parallel? Or are all of the requests synchronous? I ran a simple benchmark and that's what I got:
Config(http://backend.d is a simple SPA, fetches dummy data from API, performance ~ 3000rps):
The text was updated successfully, but these errors were encountered: