I'm kind of perplexed by this. It's very clearly infrastructure. Putting "zero infrastructure" in the title and using the same API as Lambda invoke etc. doesn't make it true. I also get double the risk of downtime, security as it's a third party running on top of AWS vs. just running on AWS. The API looks nice - but no mention of typescript at all in this post or the website, so presumably type-safety isn't the thing…
> It's very clearly infrastructure. Putting "zero infrastructure" in the title and using the same API as Lambda invoke etc. doesn't make it true. > I also get double the risk of downtime, security as it's a third party running on top of AWS vs. just running on AWS. You are right. We provide an infrastructure service. We mean by "zero infrastructure" that you don't have to implement and/or manage your own. Our service…
Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
61–70 of 114 posts
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#62Is there a local runtime a-la miniflare?
Or do I have to deploy and then run my unit tests against your APIs?
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#63Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#64I don't understand how the example on this page works: https://docs.defer.run/features/delay/ Does the "defer" directory make the exports of those modules special? Because the defer function isn't called until the endpoint is hit, there's no way to really know (without static analysis, which is a can of worms) which functions will actually get deferred. Moreover, how does the defer function know, at runtime, which fu…
When a background function gets a call from your application, the `defer()` wrapper intercepts this call and pushes an execution to the Defer API with the function’s name and serialized arguments.
I hope it makes thinks clearer, let me know!
[update: grammar]
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#65Checks to see if it uses export or module.exports in the example OK, tell me more...
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#66Congrats on the launch! Temporal.io needs more competition. They won't even talk to you unless you sign a sales contract first.
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#67What gets run on your infrastructure and what gets run locally? This is imporant as I'm not sure I'd want to trust yet another service provider with my customers' data, especially one that is VC-backed and therefore inherently less trustworthy in the long-term than others.
For our users concerned about data locality, we recommend pushing the minimal data as arguments (ex: ids or external ids) and fetching the data during the execution on our side, if needed, through a dedicated SSH tunneling setup. Once an execution is done, its associated isolated container - gets a dedicated VPC and disk - gets destroyed permanently. We will also provide on-premises solutions for Enterprises.
In local environment (dev), background functions run completely synchronously and locally, no call is made to Defer.
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#68This is awesome! Congrats on shipping. Can't wait to use this in a side project
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#69This is really amazing from my perspective: few or almost no background jobs that would justify building my own flavor of this setup. Love the API design around this.
Re: Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
#70This is an awesome value proposition. Congratulations on launching! I have a project that I've been dreading on how I would tackle its background processing. It is a long-running process that should start and scale based on a user starting his work. I'm AWS certified and still wasn't thrilled about setting this up. Defer would solve this for me. I can see myself suggesting this solution to clients who want to run com…