The foundation is Apache OpenWhisk https://github.com/apache/openwhisk with DO specific customization to work with App Platform, managed databases, trusted sources, log shipping, and other DO specific capabilities. The closest programming model is AWS Lambda in terms of the semantics and execution model.
OpenWhisk functions are vendor agnostic and have a generic signature of JSON in and JSON out and no other dependencies. Functions on DigitalOcean may also run functions from Netlify and AWS Lambda (and vice versa). You can run the same functions on IBM Cloud Functions and Adobe I/O runtime. This article from 2020 runs the same code on multiple clouds included self hosted for the curious https://openwhisk.blog/post/advocate/openwhisk-portable-serv....
Yeah, it doesn't seem super usable for anything that might have to deal with external resources that you cannot control, such as databases or HTTP APIs.
Will any sort of scheduled execution be possible with DO Functions? I've been looking for a way to add scheduled tasks (e.g. session cleanup) to DOAP apps.
Thanks! While I've got you here... do you have any insight into the Spaces roadmap? I've been waiting for per-Space permissions for access keys to land to enable me to migrate a bunch of S3 buckets. Thanks again.
Thank you – I'm desperate to even just isolate access to a single space, to replicate what I currently have on S3, so I can multi-tenant my clients' media storage on the Spaces platform.
5 second max function duration? Cloudflare is unlimited and AWS is 15 minutes.
https://docs.digitalocean.com/products/functions/details/lim...