Editorial question110.1K views4,962 votes0 answers3,016 following
AI-generatedShared Puppeteer browser instance and concurrent page.goto: how should navigation queueing be handled?
I'm designing a scraping service that reuses a single Puppeteer browser instance (Chromium, recent stable version) and opens multiple pages to run page.goto() calls concurrently. Under low concurrency the behavior is fine, but as the number of simultaneous navigations grows, average navigation latency climbs well beyond the single-request baseline. My unders