by ushakov on 10/3/24, 9:09 PM with 11 comments
by dang on 10/3/24, 9:45 PM
Flawless – Durable execution engine for Rust - https://news.ycombinator.com/item?id=38010267 - Oct 2023 (117 comments)
by vineyardmike on 10/3/24, 10:30 PM
This seems like a great way to run tests hermetically, but I’m skeptical about this being the best way to run almost anything else. It seems like an expensive and complex way to handle failure. The examples provided (calling stripe API, recording result in DB) seem better handled through higher-level state management vs rerunning the exact binary again. Why recreate the HTTP call, when you could/should write custom logic to handle the failure. Maybe you need to ask stripe about the failure, but an HTTP call to report metrics can be silently dropped on failure.
That said, it would be really interesting if you can run this just on a subset of code, you could build dedicated transaction support into key logic.
by bkolobara on 10/3/24, 9:48 PM
by Axsuul on 10/4/24, 12:24 AM
by trevyn on 10/4/24, 3:48 AM
Insta-pass.
by domlebo70 on 10/3/24, 10:13 PM