Live data from Hacker News

DigitalOcean Functions: A powerful serverless computing solution

digitalocean.com

11–20 of 93 posts

Re: DigitalOcean Functions: A powerful serverless computing solution

#11

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.

Re: DigitalOcean Functions: A powerful serverless computing solution

#12

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

> Ask a heroku fan how they're feeling right now before moving forward with any single host approach

Just fine? Fly.io has a fairly seamless automated migration at https://fly.io/launch/heroku ; my Heroku apps are quite portable.

https://www.digitalocean.com/community/conceptual_articles/h... shows a pretty similar approach to Lambda - they just invoke a function with a handler. You could run the same handler on AWS Lambda or Cloudfront's workers, probably without any changes.

Re: DigitalOcean Functions: A powerful serverless computing solution

#15
post #8

How long are cold starts with these functions? How long does it take to deploy an update? Are updates rolling/zero-downtime?

Functions through app platform are fully managed and deployed with zero downtime and offer roll backs as well. Deployments from the CLI are fast enough you can enable watch-mode and continuously deploy as you code in your IDE.

Cold starts depend on runtime and size of the function and an area of continuous improvement (for all cloud providers).

Re: DigitalOcean Functions: A powerful serverless computing solution

#16
post #13

New way to get vendor locked architecture?

The code for the functions is vendor agnostic. Vendor lock-in comes from the integrations the code that runs in the cloud ends up consuming, and the developer experience one acquires. The nature of cloud development is that one invariably becomes an expert in a cloud or stack, and that's the real lock in / why it's expensive to move in practice.

Re: DigitalOcean Functions: A powerful serverless computing solution

#19
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 Azure is roughly the same as AWS. Also DO include egress which is expensive on AWS (it does not say it cost anything).

Post reply on HN