Live data from Hacker News

Deno raises $21M

deno.com

261–270 of 397 posts

Re: Deno raises $21M

#261

are there real-world, commercial products actually running on """serverless""" architecture? no matter how much I think about that whole concept, I see no application for it that couldn't be done better, faster and easier with regular tools

In my opinion (and at most places I've worked) serverless has been a great _complement_ to traditional deployment models (usually k8s).

For example, you have some background tasks (sending email, processing files, etc). It's very convenient to just push those into a queue and have serverless functions chew through them. They scale to zero, cold start time has no negative impact on the workload, you don't have to worry about k8s resource requests and scaling, etc.

I too am skeptical of using any serverless offering for serving HTTP API's or server-side rendered pages, atleast for non-trivial amounts of traffic. CloudRun can do it but only because it's a thin management layer on k8s/knative and even then networking config for anything other than CloudSQL is tedious (you have to deploy a proxy to access your VPC).

Re: Deno raises $21M

#262
post #240
post #217

From the post: > For example, it is integrated with GitHub in such a way that on every push it will provision a new server running specifically that code, deployed to the edge, worldwide, and persisted permanently. Want to access the code your app was running a month ago at commit f7c5e19? It will be served up instantly at a moment's notice. It costs you nothing to have that bit of JavaScript responding to requests i…

I hope that app isn't actually running on a server somewhere for each commit indefinitely, and that it's moreso intended for serverless setups, like the Netlift edge functions they mentioned... We could do with some more consciousness for energy & compute resources in this industry, as decoupled it may be from the real world, clicking the button to deploy an EC2 instance somewhere does use real power and will contrib…

It's serverless functions. So they should launch those instances on the fly when a request hits that url and that instance will shutdown after some inactivity. Same with all the 50+ edge locations they provide. They only launch an instance instance in particular region, when user hits that region.

Re: Deno raises $21M

#263
post #188

Deno overstates the problem it is intended to solve because its founders needed to justify achieving funding by being developer-famous. Let's say a company were to adopt this tech over Node, well, it seems like it would be slightly better, but probably not much of a game-changer. I'll leave it to y'all to talk about what tech is truly interesting as I don't want to seem ideological/biased, I just don't see how Deno i…

> its founders needed to justify achieving funding by being developer-famous I agree here, but > Let's say a company were to adopt this tech over Node, well, it seems like it would be slightly better, but probably not much of a game-changer. If I'm starting a new project, Deno will be compelling if it means zero configuration with sufficiently sane defaults. It's like Rails vs Ruby. With Node.JS, you can pick and cho…

What makes node _fantastic_ is actually a huge ecosystem of packages, tooling, cloud providers, talent pool, shared knowledge. etc. There's a massive network effect here.

As far as I'm concerned, as of right now Deno is _not_ better that node due to reasons above. It has the potential to be, and I wish the authors massive success and root for them. But I'm not gonna start a project on Deno due to lack of a proper ecosystem yet.

Re: Deno raises $21M

#264
post #130

Earlier quoted context omitted.

What is their actual business model? I know there's Deno Deploy, and presumably they offer some kind of enterprise-support type deal. But the first is easily copied by competitors (in an already-crowded market), and the other isn't super lucrative. Is there anything else? I love Deno and want it to succeed, but it doesn't feel like a unicorn, and I'm worried about it being expected to become one

https://deno.com/deploy/pricing is their business model. They charge you for CPU and bandwidth more than they pay for it.

Also https://deno.com/deploy/subhosting

(I'd bet this will be, or already is, the more profitable side of the business.)

Re: Deno raises $21M

#265

Earlier quoted context omitted.

I'd spawn a new DB for that instance too. It can still go a long way to give you a look at how your application worked in the past.

Am I mistaken in thinking that’s totally ridiculous? Let’s charitably say you can run your app with a 1GB cut down snapshot of production. You’re going to do what, save a snapshot of the database for every commit? Every schema migration? …and then provision that up in a running database server… which is notoriously not container friendly… ? It doesn’t sound very plausible to me. Our database is ~1TB, and the app runs…

Historical deployments would be useful to me because our app rarely has database schema changes in the hot path.

Most of our effort is in user experience and post processing.

It would be nice to compare the experience of todays version with one from 6 months or 1 year ago for certain components.

We do already have a historical design storyboard but seeing it with live data would be more useful.

Re: Deno raises $21M

#267
post #239

I find Deno very interesting. It's written in Rust by Mozilla, executing TypeScript by Microsoft on V8 engine by Google, and its name is sorted version of Node. That aside, I have been very productive with Deno. Web Standards are going in the right direction, and Deno helps using them easy. The Request/Response model with streams make a lot of sense, and provides lots of way to optimize. I understand performance is n…

node can do all this stuff too

Re: Deno raises $21M

#268

I would love to try Deno deploy, but right now there are two deal breakers for me: - why is the CPU time limit so low? 10ms (or even 50ms in Pro version) seems a limit very easy to blow for any sufficiently complex app - why is there no data storage offering available? I'm not sure I see the point of edge deploys while data is still only accessible through a centralized database server. Having a way to deploy a sqlit…

I _believe_ there is an important distinction here between "CPU Time per request" and "Time per request". Most complex apps are going to be IO-bound which shouldn't count towards CPU time.

It's strange this isn't more explicit.

Re: Deno raises $21M

#269

Earlier quoted context omitted.

>Python, Ruby I like js too, but both python and ruby are much better languages. It's just that js won distribution, which means it won adoption, which means you have 10MM devs smoothing it's rough edges. Just to take one language feature, consider pythons list and map comprehensions. js has nothing like that - but it also has 10 high quality libraries that do that and more, like lodash. Consider also the ridiculousn…

Well, they asked why someone would use JS if there were other options, and I'm saying that I don't think Ruby nor Python are better languages than JS. Part of that is due to their bolt-on async vs JS async everything, part of that is due to TS, but there's more. For example, you bring up Python's collection comprehensions, but I could easily point out Python's gimped lambda support and thus poor FP abstractions and t…

>you can't say something is the best.

You can. And you did. When you say something is your favorite, this is like saying it is the best, all things being equal, in your view. For network connected server processes, I say the jvm is the best runtime. Redbean, interestingly enough, may take that crown, but I'm only now playing with it, but I love its tiny simplicity. In some ways this is like love - do you shy away from saying that your woman is the best? I hope not. And I hope no-one holds your feet to the fire if you do.

Re: Deno raises $21M

#270
post #175
post #159

Quoted post unavailable.

> Funny because I don’t see how they can make any money from this.... Deno Deploy makes money; it's $10/mo/app: https://deno.com/deploy/pricing

Is it $10/mo/app or is it $10/mo (for as many apps / the user) ?
Post reply on HN