Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While a great improvement, 45 seconds to change my serverless code still feels like a lot?

At least I’m comparing it to Cloudflare Workers, which deploys fast enough (<1 sec) that I can actually use it as a development environment.



If I had to wait 45 seconds to see a single line of code change run, I would be looking for a new dev environment. Reminds me of compile times in the 1990’s. Serverless is “cool” and all but productivity is what really matters.


(author here)

I agree it would be fantastic to have sub second deploys! Doing this for user specified Python environments is challenging in different ways than doing it for a JS SDK like Workers. Note that just provisioning a GitHub runner takes about 10s, before any deploy code even starts up. In theory we could rsync the code directly to the code server and reload it. But any of these options require bigger architectural changes.

Also you can already have a local environment setup for faster iteration and use this for the shared environments with other developers, where the speedup is still great to have.


> Doing this for user specified Python environments

Who is using this/asking for this/why?


dagster.io is an open source Python library for building data pipelines. When using Dagster your project may depend on other Python data analysis and warehouse libraries like pandas, snowflake, pyspark and so on. Each org's requirements for their data orchestration will be different. When executing the pipelines in Dagster Cloud, we need to replicate their Python environment.


CF Workers run straight on top of V8, IIRC? Which I think it was a great design decision. But I wonder how they achieve that w/ the other backends like rust.


They run Rust compiled to WebAssembly.


Sure, but what's the stack? Wasmer or something like that? I haven't bothered to look it up, for sure they've written about it.


Cloudflare Workers uses v8 under the hood afaik (which makes sense, since they are js-first).

Although they recently announced that Wasmer was being used in their 1.1.1.1 DNS (however, that has little to do with the Workers product I believe)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: