Live data from Hacker News

DigitalOcean Functions: A powerful serverless computing solution

digitalocean.com

21–30 of 93 posts

Re: DigitalOcean Functions: A powerful serverless computing solution

#22
post #2

Ado from DO here. Happy to help in anyway I can. Super excited for DO Functions to finally go GA!

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 solution

#23

Why would anyone tie themselves to digital ocean Single infrastructure code dies and the author can't usually save it Ask a heroku fan how they're feeling right now before moving forward with any single host approach

In the real world you kinda need to pick a provider. Having all your code platform agnostic isn't really a viable option unless you've got budget to spare.

I’m not an infra person by any means, but isn’t that what containers are for?

Re: DigitalOcean Functions: A powerful serverless computing solution

#24

-- "Serverless Business Unit at DigitalOcean" -- i see a lot of "enterprise lingo" around digital ocean these days - are they still the best "individual developer focused" provider? --

I'd say Yeah. I use and pay for their Apps platform for a few personal projects. Its cheap (like $5/mo/app). It reminds me enough of Heroku that I'm happy. The built-in CI is kind of slow. But it just works and requires relatively low configuration, especially when compared to AWS/GCP/Azure.

There are simpler, more specialized products, but I think DO strikes a really good balance. For example, I've hosted static sites on Cloudflare Pages, which is a solid product, but its also rather unconfigureable; I was running into issues with their built-in CI even using a static site generator which wasn't on their supported list.

Re: DigitalOcean Functions: A powerful serverless computing solution

#25

AWS x86 Price $0.0000166667 for every GB-second $0.20 per 1M requests Arm Price $0.0000133334 for every GB-second $0.20 per 1M requests DO $0.0000185/GB-second So basically a little higher price for each GB/s but no cost pr request. AWS free tier provides 400,000 GB-s and 1 million free requests per month DO free tier 90,000GB-seconds of usage for free per month So cheaper in some respects compared to AWS. Google and…

But then why would I shift to DO. Not much delta to encourage shift. Even individual developer wouldn't find it compelling.

Re: DigitalOcean Functions: A powerful serverless computing solution

#26

AWS x86 Price $0.0000166667 for every GB-second $0.20 per 1M requests Arm Price $0.0000133334 for every GB-second $0.20 per 1M requests DO $0.0000185/GB-second So basically a little higher price for each GB/s but no cost pr request. AWS free tier provides 400,000 GB-s and 1 million free requests per month DO free tier 90,000GB-seconds of usage for free per month So cheaper in some respects compared to AWS. Google and…

But then why would I shift to DO. Not much delta to encourage shift. Even individual developer wouldn't find it compelling.

It's probably more that you don't have to shift from DO to AWS because you wanted to run lambda. Although I'm not sure if this product is (yet) compelling enough to keep you on DO.

Re: DigitalOcean Functions: A powerful serverless computing solution

#27
post #18
post #2

Ado from DO here. Happy to help in anyway I can. Super excited for DO Functions to finally go GA!

5 second max duration seems incredibly small. Is there a reasoning behind this limit?

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 solution

#28

Earlier quoted context omitted.

In the real world you kinda need to pick a provider. Having all your code platform agnostic isn't really a viable option unless you've got budget to spare.

I’m not an infra person by any means, but isn’t that what containers are for?

Obviously there are tradeoffs involved in using containers. But aside from that, they also don't typically get you platform independence by themselves unless you also choose not to use any other cloud features (e.g. object storage, queues, IaaS, "serverless" features like DO Functions or Lambdas, key management services, IAM-type services, etc.).

In my experience, it's building for the cloud as a platform vs targeting a pre-cloud infra that ties you to a particular cloud. You can obviously DIY all of that in your own containers, but then you're making a choice to invest in infra instead of buying it.

Re: DigitalOcean Functions: A powerful serverless computing solution

#29

AWS x86 Price $0.0000166667 for every GB-second $0.20 per 1M requests Arm Price $0.0000133334 for every GB-second $0.20 per 1M requests DO $0.0000185/GB-second So basically a little higher price for each GB/s but no cost pr request. AWS free tier provides 400,000 GB-s and 1 million free requests per month DO free tier 90,000GB-seconds of usage for free per month So cheaper in some respects compared to AWS. Google and…

Digital Ocean's pricing model lines up more with how I expect serverless to be used. It's cheaper for APIs that are very simple and lightweight, but need to be able to handle infinite traffic. I like it. I think it incentives people to use it correctly.
Post reply on HN