Do I understand correctly that the container waits 10 seconds until the code is executed? But that would be pretty inconvenient as a REST server behind an API gateway.
Ah yeah. That line you're referring to is about populating the cache ahead of time during the Docker image creation so they're available when the application runs in AWS Lambda: deno.com/blog/aws-lambda-coldstart-benchmarks#optimizing-deno-for-a-serverless-environment
🕵️Ha Can you Help My Next project i.e a custom framework that can generate applications for web, mobile, and desktop platforms from a single codebase including backend *(Unified backend)* Developer stage same for all *Build Web command* Create a Web folder inside the folder create all necessary file and folder for deployment *Build mobile command* Create a Mobile folder inside the folder create all necessary file and folder for deployment *Build desktop command* Create a Desktop folder inside the folder create all necessary file and folder for deployment
when deno gets adopted as aws lambda runtime it'll be game changer
Thanks for showing the Dockerfile!
What about Google cloud functions ? Please
We don't have one on Google Cloud functions yet, but here's a tutorial with Google Cloud Run
docs.deno.com/runtime/tutorials/google_cloud_run/
What about Digital Ocean? Serverless is scary (particularly AWS) because they don't have a hard cap on how much money I can spend.
Yes you can! Learn more here: docs.deno.com/runtime/tutorials/digital_ocean/
It'd be sweet if we could run NestJS on Deno
We will put together a tutorial, but there are already some online: uptownhr.com/blog/nest-on-deno/
Do I understand correctly that the container waits 10 seconds until the code is executed? But that would be pretty inconvenient as a REST server behind an API gateway.
Ah yeah. That line you're referring to is about populating the cache ahead of time during the Docker image creation so they're available when the application runs in AWS Lambda:
deno.com/blog/aws-lambda-coldstart-benchmarks#optimizing-deno-for-a-serverless-environment
what about Cloudflare workers?
Here's a tutorial on deploying to CF workers:
docs.deno.com/runtime/tutorials/cloudflare_workers/
naughty
Couldn't you just deno compile your app and use a way simpler, smaller base image?
Yeah this?
Yes you can also do that. We will share docs on how to do that soon!
Pulumi lamda + Deno?
how does it look with IaC frameworks like the AWS CDK?
aws-cdk is compatible with Deno, so you can use that to deploy Deno to aws services.
🕵️Ha Can you Help My Next project i.e a custom framework that can generate applications for web, mobile, and desktop platforms from a single codebase including backend *(Unified backend)*
Developer stage same for all
*Build Web command*
Create a Web folder inside the folder create all necessary file and folder for deployment
*Build mobile command*
Create a Mobile folder inside the folder create all necessary file and folder for deployment
*Build desktop command*
Create a Desktop folder inside the folder create all necessary file and folder for deployment