from Hacker News

Flawless is now in public beta

by ushakov on 10/3/24, 9:09 PM with 11 comments

  • by dang on 10/3/24, 9:45 PM

    Related:

    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 is very cool, my read is that it’s basically a WAL for sys-calls, because everything else is deterministic and can be reproduced. It’s a pretty clever, and afaik, novel idea.

    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

    Hi! I'm Bernard, the creator of flawless. Happy to answer any questions ^^
  • by Axsuul on 10/4/24, 12:24 AM

    This is so awesome and solves a business need. Anyone know if something like this exists for Ruby?
  • by trevyn on 10/4/24, 3:48 AM

    “The flawless binary is free to use, but only distributed as a closed source binary.”

    Insta-pass.

  • by domlebo70 on 10/3/24, 10:13 PM

    Gotta say, that animation is amazing.