Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(function): use a thread instead of a process #417

Closed
Kikobeats opened this issue Sep 5, 2022 · 0 comments · Fixed by #425
Closed

feat(function): use a thread instead of a process #417

Kikobeats opened this issue Sep 5, 2022 · 0 comments · Fixed by #425

Comments

@Kikobeats
Copy link
Member

Kikobeats commented Sep 5, 2022

if the user-code is using a thread instead of a process:

https://github.com/microlinkhq/browserless/blob/master/packages/function/src/index.js#L31

Then it doesn't need to serialize the data

Related

Kikobeats added a commit that referenced this issue Oct 24, 2022
@Kikobeats Kikobeats changed the title function: use a thread instead of a process feat(function): use a thread instead of a process Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 24, 2022
Kikobeats added a commit that referenced this issue Oct 26, 2022
Kikobeats added a commit that referenced this issue Oct 26, 2022
* refactor(function): use thread instead of process

closes #417
closes #416

* refactor(lighthouse): use threads instead of process

* docs: extend

* refactor(lighthouse): remove worker threads

* refactor(function): remove worker threads

* refactor: use workspace directive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant