Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Integration with run-once services like AWS Lambda? #10

Open
jonnor opened this issue Mar 8, 2016 · 2 comments
Open

Integration with run-once services like AWS Lambda? #10

jonnor opened this issue Mar 8, 2016 · 2 comments
Labels

Comments

@jonnor
Copy link
Member

jonnor commented Mar 8, 2016

JsJob computation style is oriented around small to medium "jobs", quite similar to that of AWS Lambda.
Such services have the advantage that they are super elastic:

  • billed by the second/millisecond
  • built-in horizontal scaling
  • very fast startup/teardown times

Integration could for instance be having a plug-and-play image that can run a headless browser (like PhantomJS) and execute JsJobs in same manner as self-hosting or standard cloud-hosting. This should be 100% compatible and transparent to the JsJob.
Disadvantage is that browser startup may be significant, depending on typical size of job. Would need metrics for measuring how long it takes to judge the impact.

@jonnor jonnor added the question label Mar 8, 2016
@bergie
Copy link
Member

bergie commented Mar 8, 2016

@jonnor however, some jobs will probably expect a browser context. We should somehow "flag" them

@jonnor
Copy link
Member Author

jonnor commented Mar 8, 2016

Everything in JsJob is browser now, and this would (at least on its own) not change that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants