Is it working on serverless functions and on serverless edge workers? (Vercel, Cloudflare, Deno Deploy) #4471
-
Hey, E.g. I know that Nitro / H3 deploys to "everything", even Deno Deploy but with AdonisJS I am not sure? Also the UnJS ecosystem (that also powers Nuxt, Nitro, H3) has adapters for nearly everything e.g. the KV abstraction "unstorage" supports 15 drivers including filesystem, Redis, Vercel KV and Cloudflare but I dont see this options here for especially for the serverless options (Vercel, Cloudflare, etc.). E.g. the drive abstraction doesnt have a driver for Vercel Blob and Cloduflare R2 I guess? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
short answer, no. long answer: Adonis is not designed to be deployed on Edge because it's not the purpose of a framework like this and the overhead of serverless platform is way too heavy for the gain. For the driver, the version for v6 is not yet release but in v5, writing an adapter was not complicated and FS and S3 was available. |
Beta Was this translation helpful? Give feedback.
short answer, no. long answer: Adonis is not designed to be deployed on Edge because it's not the purpose of a framework like this and the overhead of serverless platform is way too heavy for the gain.
For the driver, the version for v6 is not yet release but in v5, writing an adapter was not complicated and FS and S3 was available.