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
Is it possible to set a different memory size (different than memory_size set in zappa_settings.json) for async tasks? If not, is it on the roadmap? I am not sure if AWS Lambda offers such functionality.
A little bit detail
I have custom async tasks that does some heavy tasks asynchronously. If I set the global memory_size accordingly, I am wasting a certain amount of that memory. If I set a low memory_size, then my asynchronous tasks are going to fail.
As I described in the short description of the issue, I am not sure if there is an AWS Lambda limitation, but I it would be lovely to be able to set memory_size as a parameter like @task(memory_size=512) in zappa.async.task decorator or in zappa.async.run.
The text was updated successfully, but these errors were encountered:
I think there's a constraint of 1 Lambda Function to 1 Zappa app. If that's true, you'd need to setup another Lambda function and use boto to invoke it.
Edit: Nevermind, I think you simply need to make another Lambda function.
tl;dr
Is it possible to set a different memory size (different than
memory_size
set inzappa_settings.json
) for async tasks? If not, is it on the roadmap? I am not sure if AWS Lambda offers such functionality.A little bit detail
I have custom async tasks that does some heavy tasks asynchronously. If I set the global
memory_size
accordingly, I am wasting a certain amount of that memory. If I set a lowmemory_size
, then my asynchronous tasks are going to fail.As I described in the short description of the issue, I am not sure if there is an AWS Lambda limitation, but I it would be lovely to be able to set
memory_size
as a parameter like@task(memory_size=512)
inzappa.async.task
decorator or inzappa.async.run
.The text was updated successfully, but these errors were encountered: