Re:DigitalOcean Functions: A powerful serverless computing s...
by adoxyz on Tuesday May 24, 2022 @08:24AM
(#31491069)
Ado from DO here. Happy to help in anyway I can. Super excited for DO Functions to finally go GA!
[ Parent
| on HN ]
Re:DigitalOcean Functions: A powerful serverless computing s...
by killingtime74 on Tuesday May 24, 2022 @08:34AM
(#31491146)
"Memory is limited from 128 MB - 1 MB, defaulting to 256 MB", do you mean 1GB?
5 second max function duration? Cloudflare is unlimited and AWS is 15 minutes.
https://docs.digitalocean.com/products/functions/details/lim...
Re:DigitalOcean Functions: A powerful serverless computing s...
by MattIPv4 on Tuesday May 24, 2022 @08:48AM
(#31491306)
That should indeed read 1GB, good catch! Will get that fixed up.
Re:DigitalOcean Functions: A powerful serverless computing s...
by adoxyz on Tuesday May 24, 2022 @11:45AM
(#31493588)
Currently it is a 5 second max duration, but we are working on addressing this.
Re:DigitalOcean Functions: A powerful serverless computing s...
by cc-f31535adfaf on Tuesday May 24, 2022 @10:18AM
(#31492458)
What is the underlying software used for DO functions?
OpenFaas? Firecracker? gvisor? something custom to DO?
Re:DigitalOcean Functions: A powerful serverless computing s...
by rabbah on Tuesday May 24, 2022 @11:22AM
(#31493284)
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.
Re:DigitalOcean Functions: A powerful serverless computing s...
by SkyAndSand on Tuesday May 24, 2022 @11:11PM
(#31500192)
So that means that there is a vendor lock in and I can't just move over to say IBM Cloud Functions (despite both being based on OpenWhisk)?
Re:DigitalOcean Functions: A powerful serverless computing s...
by rabbah on Wednesday May 25, 2022 @08:14AM
(#31503402)
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....
Re:DigitalOcean Functions: A powerful serverless computing s...
by SkyAndSand on Friday May 27, 2022 @06:54AM
(#31528085)
Any plans for supporting ruby as well? It seems that there is an OpenWhisk runtime for that.
Re:DigitalOcean Functions: A powerful serverless computing s...
by SkyAndSand on Tuesday May 24, 2022 @10:36AM
(#31492691)
I'd be more that interested in that as well because I couldn't find any info about the stack in the docs.
Re:DigitalOcean Functions: A powerful serverless computing s...
by malfist on Tuesday May 24, 2022 @09:34AM
(#31491865)
5 second max duration seems incredibly small. Is there a reasoning behind this limit?
Re:DigitalOcean Functions: A powerful serverless computing s...
by Hamuko on Tuesday May 24, 2022 @10:00AM
(#31492210)
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.
Re:DigitalOcean Functions: A powerful serverless computing s...
by BigglesZX on Tuesday May 24, 2022 @09:43AM
(#31491997)
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.
Re:DigitalOcean Functions: A powerful serverless computing s...
by rabbah on Tuesday May 24, 2022 @11:29AM
(#31493384)
yep - it's coming.
Re:DigitalOcean Functions: A powerful serverless computing s...
by BigglesZX on Tuesday May 24, 2022 @12:09PM
(#31493897)
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.
Re:DigitalOcean Functions: A powerful serverless computing s...
by rabbah on Wednesday May 25, 2022 @08:17AM
(#31503441)
Finer grained IAM like permissions but without the AWS complexity is of great interest. I will see what else I can share.
Re:DigitalOcean Functions: A powerful serverless computing s...
by BigglesZX on Wednesday May 25, 2022 @09:11AM
(#31504016)
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.
Re:DigitalOcean Functions: A powerful serverless computing s...
by 8K832d7tNmiQ on Tuesday May 24, 2022 @10:56AM
(#31492936)
Is it possible to connect to my droplet locally without going through the public ip ?