Alec
07/05/2024, 1:56 PMvroldanbet
07/05/2024, 2:46 PMvroldanbet
07/05/2024, 2:47 PMAlec
07/05/2024, 2:47 PMAlec
07/05/2024, 3:00 PM--watch-api-heartbeat duration heartbeat time on the watch in the API. 0 means to default to the datastore's minimum. (default 1s)
for the poll time?vroldanbet
07/05/2024, 4:36 PMvroldanbet
07/05/2024, 4:36 PMvroldanbet
07/05/2024, 4:37 PMvroldanbet
07/05/2024, 4:37 PMAlec
07/05/2024, 5:31 PMAlec
07/05/2024, 5:32 PMAlec
07/05/2024, 5:33 PMAlec
07/05/2024, 5:34 PMJoey
07/05/2024, 6:21 PMJoey
07/05/2024, 6:21 PMvroldanbet
07/08/2024, 9:47 AMvroldanbet
07/08/2024, 9:56 AMread-your-writes
consistency. The client application won't have access to the zedtoken generated unless you feed the result from the write back into kafka again and that is written into the corresponding domain database row. Think scenarios like creating a new resource and redirecting the user to it.
Another strategy we've been using internally is Durable Workflows (this is a good summary from one of the providers in the space: https://www.golem.cloud/post/the-emerging-landscape-of-durable-computing). This is akin to using Temporal, without having to run it. We've used successfully https://github.com/cschleiden/go-workflows internally to durably persist writes to the kube API server and SpiceDB. This addresses the issues with dual-writes, and avoids the complexity of running an external workflow orchestrator. It does not come for free though: it's a bit of a paradigm shift in how you code your business logic, with heavy inversion of control.vroldanbet
07/08/2024, 9:59 AMAlec
07/09/2024, 2:54 PMAlec
07/18/2024, 7:20 PMAlec
07/18/2024, 7:21 PMJoey
07/18/2024, 7:25 PMAlec
07/18/2024, 7:39 PM