You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.
Currently we start up PhantomJS for each job, which likely takes a non-trivial amount of time.
Related TODO, add instrumentation to figure out how long exactly this takes.
Possibly best done by using WebDriver protocol. This will also future-proof us a bit, as it eases changing to a different browser (like Chromium, Firefox etc).
However, there are cases where we likely will need to kill the process, like when job hangs forever (longer than deadline).
Need to ensure that this does not interfere with concurrency #4. Might be best to try to keep N (where N = concurrency) webbrowser running. Would then have to hold incoming jobs until for the next available browser is available for new work. Quite tricky compared to current situation...
The text was updated successfully, but these errors were encountered:
For security reasons, each job will need their own JavaScript context. And we need to be able to communicate in a token to that particular job context without other jobs being able to intercept it (see #9).
Currently we start up PhantomJS for each job, which likely takes a non-trivial amount of time.
Related TODO, add instrumentation to figure out how long exactly this takes.
Possibly best done by using WebDriver protocol. This will also future-proof us a bit, as it eases changing to a different browser (like Chromium, Firefox etc).
However, there are cases where we likely will need to kill the process, like when job hangs forever (longer than deadline).
Need to ensure that this does not interfere with concurrency #4. Might be best to try to keep N (where N = concurrency) webbrowser running. Would then have to hold incoming jobs until for the next available browser is available for new work. Quite tricky compared to current situation...
The text was updated successfully, but these errors were encountered: