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

Is it possible to run per application only single lambda? #11

Open
riston opened this issue Nov 28, 2016 · 3 comments · May be fixed by #14
Open

Is it possible to run per application only single lambda? #11

riston opened this issue Nov 28, 2016 · 3 comments · May be fixed by #14
Assignees

Comments

@riston
Copy link

riston commented Nov 28, 2016

Is it only possible to run single lambda per application or for example multiple worker processes?

@kubek2k
Copy link
Owner

kubek2k commented Nov 28, 2016

Is it only possible to run single lambda per application or for example multiple worker processes?

@riston according to the model provided by AWS Lambda, you shouldn't really do that - but thats a good question - how to handle multiple lambdas coming from the same codebase for example.

@riston
Copy link
Author

riston commented Nov 28, 2016

In AWS Lambda you "scale" only single function, in Heroku you could have multiple workers under single application and scale these separately workerA=3dynos, workerB=1dyno etc. Not sure if this would be some use case, this would add definetly complexity.

@kubek2k
Copy link
Owner

kubek2k commented Nov 28, 2016

In AWS Lambda you "scale" only single function, in Heroku you could have multiple workers under single application and scale these separately workerA=3dynos, workerB=1dyno etc. Not sure if this would be some use case, this would add definetly complexity.

yeah I got what you mean - in theory I could make init operation accept multiple arguments, that would make multiple lambdas default.

@kubek2k kubek2k self-assigned this Nov 29, 2016
@kubek2k kubek2k linked a pull request Nov 29, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants