Comments (8)
A lot of Attach to Chrome page xxx timed out, page is likely closed
logs, seems like Chrome isn't responding.
from chrome-prerender.
It's possible to do something on prerenders side? (like multiple chrome on backend?) Don't wanna do horizontal scaling.
from chrome-prerender.
We are doing horizontal scaling. Every machine has its own Prerender process and Chrome, we use nginx to do load balancing.
Multiple Chrome backend is possible to implement but I don't think it's better than horizontal scaling. You can't run too many Chrome processes on a single machine so you have to spin up more machines, they might have different spec(CPU cores, memory), Prerender will treat them equally, that might not be what you want for best performance.
from chrome-prerender.
One instance of prerender + chrome just don't load my machine to 100% (basically 1st post), but 2-3 instances per machine works fine x_x
Maybe because it's in docker?
from chrome-prerender.
You can increase CONCURRENCY
to a bigger number to spin up more Chrome "tabs"
from chrome-prerender.
https://github.com/bosondata/chrome-prerender#configuration
from chrome-prerender.
In my config it's set to 32.
from chrome-prerender.
Tried without docker and on ubuntu - all is prefect.
from chrome-prerender.
Related Issues (20)
- compare to https://github.com/prerender/prerender, which features are supported? HOT 3
- Use layerPainted event to update _last_active_time may lead to timeout. HOT 20
- Reset/renew cache on POST request
- Useragent compatability with nodejs prerender HOT 2
- beforeSend plugin HOT 3
- 请问未来是否会支持限制截图范围 HOT 1
- Invalid syntax error HOT 2
- removeScriptTags plugin HOT 1
- option to disable images HOT 5
- /browser/enable endpoint is not working if CONCURRENCY OS env is not set
- Close page on PRERENDER_TIMEOUT HOT 2
- Subdirs in S3 storage is always same HOT 2
- Remove <meta name="fragment"... from prerendered pages HOT 5
- chromeless proxy support
- https problem on FreeBSD HOT 53
- Install fail on Centos 7 using pip HOT 1
- Is it possible to use chrome-prerender as a squid parent in a proxy sandwich setup? HOT 5
- Can't view generated mhtml in chrome HOT 1
- Chrome healthcheck
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-prerender.