Replies: 6 comments
-
|
Hey There 👋 |
Beta Was this translation helpful? Give feedback.
-
|
@PineappleIOnic also i think i dont need it for all my functions, just for special functions that brings data to my front end.. with threshold paramter its active for all my containers.. and i also its not available in the appwrite console, which is also a bad user experience ;) |
Beta Was this translation helpful? Give feedback.
-
I think we can consider having this be a console setting, per container. CC: @PineappleIOnic |
Beta Was this translation helpful? Give feedback.
-
|
Is setting this per function now possible? Or is the docker environment variable still counting for all project functions? |
Beta Was this translation helpful? Give feedback.
-
|
@s3ppo what runtime are you using that takes 5 second to cold start? |
Beta Was this translation helpful? Give feedback.
-
Was in an older release now its about 200ms on a cold start versus 2ms on a warm start |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🔖 Feature description
Hi all,
and first of all i love the new functions and also their speed :)
i run into a small problem with the cold start of sync functions.
if a function wasnt used for a longer time, it shuts the container down and the next start needs up to 5 seconds to bring a result to the app (UI).
so i think it would be very cool to have a option in the settings of a function where i can define a keep alive checkbox. if i check this, the shutwdown of the container does not happen and it would bring me faster responses to my front end.
or maybe a setting where i can define for how long i want the container warmed up.. for not critically performance or background task i can define 1 minute, and for sync functions that brings responses to the front end, i can define 24h.
please let me know if this is possible? :)
🎤 Pitch
pls see description :)
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
Beta Was this translation helpful? Give feedback.
All reactions