Live data from Hacker News

Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

restate.dev

11–20 of 112 posts

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#11
post #8

Handling durability for RPCs is a neat idea. Can you do chained rollbacks? ie an rpc down the call stack fails to revert the whole stack instead of retrying?

we talk a bit about compensations in the post: https://restate.dev/blog/graceful-cancellations-how-to-keep-... the gist is that you can just use catch statements and put rollback logic in it. Restate guarantees that handlers run to the end, so there's no risk that it somehow won't reach the catch statement due to an infra failure. So catch, rethrow, and then all the way up the stack, the compensations will run

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#12

The cloud setup was super fast! I used it for an existing app + restate TS sdk, really took a few steps to get things up and running! Looking forward to more support for nextjs/node

Appreciate the feedback! What kind of support do you wish for, if there was one thing you would prioritize?

Pull handlers would make integration much easier, I think

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#13

Nice! Excited tools that makes using microservices easier. Question tho, when will you guys have python support? I’m a ml researcher here and can you tell that most of my work is now pipelines between different services, e.g. Chaining multiple LLM services. Big bottleneck is if one service returns an error and crashes the full chain. Big fan of this work nevertheless. Just think you have alpha on the table

We don't have specific plans for our next SDK to build, but Python definitely comes up often - thank you for the input!

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#14

Nice! Excited tools that makes using microservices easier. Question tho, when will you guys have python support? I’m a ml researcher here and can you tell that most of my work is now pipelines between different services, e.g. Chaining multiple LLM services. Big bottleneck is if one service returns an error and crashes the full chain. Big fan of this work nevertheless. Just think you have alpha on the table

Probably one of our two most requested languages. We absolutely are going to do it, probably in the next 6-12 months :)

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#15

Is this a competitor to Temporal? I admit that I have never used either, but it strikes me as odd that these things bring their own data layer. Is the workload not possible using a general purpose [R]DBMS?

Nothing prevents you from using your own data layer, but part of the power of Restate is the tight control over the short-term state and the durable execution flow. This means that you don't need to think a lot about concurrency control, dirty reads, etc.

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#17
post #9
post #5

Being fairly familiar with Temporal, I definitely appreciate your cleaner architectural choices. Add a Go SDK and I’ll definitely give this a try.

Someone already contributed an MVP; in the next few months we'll be adopting it fully and upgrading it to 1.0 (we hired the awesome Azmy after he built it) https://github.com/muhamadazmy/restate-sdk-go

I think this is a point worth highlighting much more prominently in your marketing.

In my mind, this moved restate from “huh, that’s cool” to “during tomorrow’s standup, I’m going to ask one of my engineers to build a poc.”

Re: Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust

#20

Earlier quoted context omitted.

Appreciate the feedback! What kind of support do you wish for, if there was one thing you would prioritize?

Pull handlers would make integration much easier, I think

Agreed.
Post reply on HN