393 karma · joined Oct 23, 2017 (9y ago) · 129 submissions
comment 10mo ago · link · parent
> The roles of a sovereign vary from monarch, ruler or head of state to head of municipal government or head of a chivalric order. As a result, the word sovereignty has more recently also come to mean independence or autonomy.
comment 1y ago · link · parent
We are putting a lot of work into high throughput, low latency, distributed use cases, hence some of the decisions in this article. We felt that this necessitated a new database.
comment 1y ago · link · parent
Did you find there are particular types of tasks that the models struggle with? Or does difficulty mostly just scale with the number of items they need to place?
comment 1y ago · link · parent
9.
Persistent serverless state machines with XState and Restate(restate.dev ↗)
2 points · by p10jkle · 2y ago · discuss
comment 2y ago · link · parent
12.
Building an LLM Chat and Task Bot with Durable Execution(restate.dev ↗)
6 points · by p10jkle · 2y ago · discuss
comment 2y ago · link · parent
But the fun bit is the virtual object: https://github.com/jackkleeman/restate-checkbox/blob/main/ob...
14.
Infinite checkboxes in 71 lines of backend code(restate-checkbox.kleeman.dev ↗)
2 points · by p10jkle · 2y ago · 1 comment
comment 2y ago · link · parent
https://x.com/mitchellh/status/1759626842817069290?s=46&t=57...
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Once http2 stuff is removed, there's nothing particularly odd that our library does that shouldn't work in all platforms, but I'm sure there will be some papercuts until we are actively testing against these targets
comment 2y ago · link · parent
The only caveat being that we generally recommend that you keep it to just a few minutes, and use delayed calls and our state primitives to have effects that span longer than that. Eg, to poll repeatedly a handler can delayed-call itself over and over, and to wait for a human, we have awakeables (https://docs.restate.dev/develop/ts/awakeables/)
More discussion: https://restate.dev/blog/code-that-sleeps-for-a-month/
comment 2y ago · link · parent
Cloud only has an early access free tier right now. We intend to make Cloud into a highly multitenant offering, which will make the cost of a user that isn't doing anything with their cluster effectively 0. In that world, we can do really cost effective consumption pricing for low-volume serverless use cases. Absolutely this requires trust, and some users will always want to self host, and we want to make that as easy and cost effective as possible. Its worth noting that we should be able to support client side encryption for journal entries, in time - in which case, you don't have to trust us nearly as much.
comment 2y ago · link · parent
comment 2y ago · link · parent
> Let users write code how they want, its our job to make it work!
> Yes, but it's simply not safe to do this!
I think we need to offer our users a lot of stuff to get it right:
1. Tools so they know when a deploy puts in-flight invocations at risk, or maybe even in their editor, showing what invocations exist at each line of a handler
2. Nudge towards delayed call patterns whereever we can
3. Escape hatches if they absolutely have to change a long-running handler - ways to branch their code on the running version, clever cancellation tricks, 'restart as a new call' operation
Sadly no silver bullet. Delayed calls get you a lot of the way though :p
comment 2y ago · link · parent
comment 2y ago · link · parent
Critical point - its much easier to think about and test for the re-execution of C in a vacuum, than to test for A B C all re-executing in sequence, with a variable number of those having already executed before
comment 2y ago · link · parent