News for hackers. Stuff that matters.
Re:The Deno Company by qbasic_forever on Monday March 29, 2021 @03:40PM (#26627182)
How does this business model survive Amazon AWS making a blog post, "Here's a template to run your deno code on Lambda!"? They'll never beat AWS on costs in the long term. They can burn VC cash to stay afloat and try I guess.
Re:The Deno Company by carlosf on Monday March 29, 2021 @06:02PM (#26628816)
Lambda has a ton of caveats and limitations... but it seems their platform is full of limits as well:

https://deno.com/deploy/docs/pricing-and-limits

AWS sucks hairy balls at providing things that are simple for developers to use, so that could be their competitive advantage, but I'm just guessing here.

Re:The Deno Company by toredash on Wednesday March 31, 2021 @03:21PM (#26651796)
And deno will also have a lot of limitations
Re:The Deno Company by tnolet on Monday March 29, 2021 @05:54PM (#26628727)
There are many, many companies competing with AWS on products that strictly speaking AWS also has.

I mean Zoom has no right to exist because you can use Chime?

There is always room for better UX, better support, different approach etc.

Re:The Deno Company by whimsicalism on Monday March 29, 2021 @06:18PM (#26628999)
I find the idea that AWS will just eat the competition always a little silly as well. I've used AWS managed offerings that were far inferior to the alternatives.
Re:The Deno Company by azinman2 on Monday March 29, 2021 @07:40PM (#26629690)
So why were you using the AWS managed offering then instead of the alternative?
Re:The Deno Company by natevancouver on Tuesday March 30, 2021 @09:49AM (#26634584)
Usually because the company already pays an AWS bill. No one will care if you add another Lambda function, but to use an alternative you’ll have to get past some gatekeepers.
Re:The Deno Company by azinman2 on Tuesday March 30, 2021 @01:00PM (#26637149)
So there you go. Lots of friction for competitors.
Re:The Deno Company by qbasic_forever on Monday March 29, 2021 @07:38PM (#26629681)
And yet we've never seen anyone beat Amazon yet. Look at how much the PaaS area has churned over the last 10 years. Giants that stuck around like Docker are completely deflated and near worthless compared to their initial values and expectations. The smart ones like Heroku got out when the getting was good.
Re:The Deno Company by musingsole on Monday March 29, 2021 @08:40PM (#26630102)
> And yet we've never seen anyone beat Amazon yet.

That largely depends on your definitions of "beat" and "win". There are plenty of software infrastructure firms out there that Amazon has yet to smash into the ground.

Nature seems to think (and I agree) simply existing is winning.

Re:The Deno Company by kyawzazaw on Monday March 29, 2021 @10:56PM (#26630854)
Please give examples. I would like to learn more about it (even if subjective)
Re:The Deno Company by musingsole on Tuesday March 30, 2021 @01:41AM (#26631519)
DigitalOcean is a competitor of comparable size (even if its like a pebble to a boulder): https://finance.yahoo.com/news/blavatnik-backed-digitalocean...
Re:The Deno Company by mewpmewp2 on Tuesday March 30, 2021 @03:16AM (#26631952)
I use Digital Ocean and definitely vouch for them. They are way cheaper compared to AWS too. Nice, slick UI too.
Re:The Deno Company by jppope on Monday March 29, 2021 @07:04PM (#26629420)
Lambda uses containers vs. cloudflare workers use v8 isolates. v8 Isolates are much much faster and more secure for serverless functions.

Deno seems to be targeting cloudflare as a competitor for their service... But it's probable that AWS will release a cloudflare worker competitor themselves if deno continues with the MIT license.

Re:The Deno Company by ignoramous on Tuesday March 30, 2021 @07:01AM (#26633156)
> Lambda uses containers vs. cloudflare workers use v8 isolates. v8 Isolates are much much faster and more secure for serverless functions.

You're right that v8 Isolates are blazing fast, but Lambda runs functions in a microvm spawn by Firecracker [0], which is likely to be more, not less, secure than Isolates [1].

[0] https://github.com/firecracker-microvm/firecracker/

[1] https://fly.io/blog/sandboxing-and-workload-isolation/

Re:The Deno Company by kentonv on Tuesday March 30, 2021 @06:18PM (#26641276)
> Firecracker [0], likely to be more, not less, secure than Isolates [1]

This is debatable. It's true that V8 is a much larger attack surface than Firecracker, therefore likely to have more security bugs than Firecracker itself. However, Firecracker runs attacker-provided native code directly on hardware, which means that hardware itself becomes an attack surface, one that is quite wide, not fully documented, and very hard to patch if problems arise. It's much easier to work around hardware bugs when you're working from JS / Wasm and can control the code generation.

Ultimately I don't think you can really say one or the other model is more or less secure.

(Disclosure: I'm the tech lead for Cloudflare Workers so I am obviously biased here.)

Re:The Deno Company by ignoramous on Saturday April 03, 2021 @12:51PM (#26682546)
Thanks Kenton.

> Firecracker runs attacker-provided native code directly on hardware, which means that hardware itself becomes an attack surface, one that is quite wide, not fully documented, and very hard to patch if problems arise. It's much easier to work around hardware bugs...

I see your point. I mean, Google wouldn't put as much effort as they are on gVisor if KVMs were the best possible answer.

Re:The Deno Company by kentonv on Saturday April 03, 2021 @05:31PM (#26684922)
To be fair, gVisor also runs native code directly on hardware. Any modern VM-based system is still depending on the CPU to enforce boundaries. A big CPU bug could ruin that at any time. (Spectre has been pretty bad, but not quite a showstopper...)
Re:The Deno Company by IgorPartola on Monday March 29, 2021 @08:37PM (#26630079)
They can always get acquired by Amazon first.
Re:The Deno Company by qbasic_forever on Monday March 29, 2021 @09:48PM (#26630514)
It wouldn't surprise me if that's the eventual end goal. Amazon is looking for good Rust talent too from what I've read.
Re:The Deno Company by IgorPartola on Monday March 29, 2021 @11:20PM (#26630965)
That’s the goal of almost all startups. Your chances of being acquired by a FAANG company are millions of times greater than going IPO. It is almost always the exit strategy.
Re:The Deno Company by minxomat on Monday March 29, 2021 @04:02PM (#26627446)
They compete much more with Cloudflare Workers, not Lambda. So much so that Deno Deploy is worker API compatible
Re:The Deno Company by ignoramous on Tuesday March 30, 2021 @07:07AM (#26633192)
Workers is now a much capable platform. It supports eventual KV storage, caching large files, longer runtimes (30m+), WebSockets, WASM-executables, and distributed mail-boxes àla Erlang.

Lambda integrates with existing AWS services, whilst Cloudflare invents newer services to go along with the serverless-first paradigm. Different strategies but they do compete with each other.