Coder Social home page Coder Social logo

Comments (8)

messense avatar messense commented on June 23, 2024

A lot of Attach to Chrome page xxx timed out, page is likely closed logs, seems like Chrome isn't responding.

from chrome-prerender.

Nyoroon avatar Nyoroon commented on June 23, 2024

It's possible to do something on prerenders side? (like multiple chrome on backend?) Don't wanna do horizontal scaling.

from chrome-prerender.

messense avatar messense commented on June 23, 2024

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.

Nyoroon avatar Nyoroon commented on June 23, 2024

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.

messense avatar messense commented on June 23, 2024

You can increase CONCURRENCY to a bigger number to spin up more Chrome "tabs"

from chrome-prerender.

messense avatar messense commented on June 23, 2024

https://github.com/bosondata/chrome-prerender#configuration

from chrome-prerender.

Nyoroon avatar Nyoroon commented on June 23, 2024

In my config it's set to 32.

from chrome-prerender.

Nyoroon avatar Nyoroon commented on June 23, 2024

Tried without docker and on ubuntu - all is prefect.

from chrome-prerender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.