Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityGetting Repeated No Caller ID Calls? Here’s What’s Really Going On(22.09.2026 um 22:31 Uhr)
Windows Tipps & SecurityHöllenmaschine: Gaming-Peripherie für gut 1.800 Euro für die HMX 6(23.09.2026 um 10:20 Uhr)
Windows Tipps & SecurityDas nächste große Ding: KI-Agenten(23.09.2026 um 10:30 Uhr)
Sichere ProgrammierungHow AI Is Making Restaurant Menus Easier to Navigate(23.09.2026 um 10:55 Uhr)
Windows Tipps & SecurityGetting Repeated No Caller ID Calls? Here’s What’s Really Going On(22.09.2026 um 22:31 Uhr)
Windows Tipps & SecurityHöllenmaschine: Gaming-Peripherie für gut 1.800 Euro für die HMX 6(23.09.2026 um 10:20 Uhr)
Windows Tipps & SecurityDas nächste große Ding: KI-Agenten(23.09.2026 um 10:30 Uhr)
Sichere ProgrammierungHow AI Is Making Restaurant Menus Easier to Navigate(23.09.2026 um 10:55 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Floxy — a lightweight workflow engine for GoLang with saga-style compensation

Floxy — a lightweight workflow engine for Go with saga-style compensation When building distributed systems or long-running business processes, we often need workflows that can retry, rollback, and recover — without introducing the com…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Floxy — a lightweight workflow engine for Go with saga-style compensation



When building distributed systems or long-running business processes, we often need workflows that can retry, rollback, and recover — without introducing the complexity of Temporal.



That’s where Floxy fits in.









What is Floxy?



Floxy is a lightweight workflow engine for Go.


It provides a simple builder API and a deterministic runtime that supports saga-style compensation, save points, and idempotency control — all without external dependencies or background daemons.



It’s designed to be small, composable, and transparent.









Key features




  • Deterministic state machine execution

  • Retry and compensation policies

  • Partial rollback via save points

  • Idempotency control (WithStepNoIdempotent)

  • Parallel, fork, and join support

  • Event-driven persistence for observability









Example






wf := floxy.NewBuilder("order_saga", 1).
Step("reserve_funds", "ReserveFunds").
OnFailure("refund_funds", "RefundFunds").
Step("ship_order", "ShipOrder").
OnFailure("cancel_shipping", "CancelShipping").
Step("notify_user", "Notify").
Build()






`



If ship_order fails:




  1. Floxy marks it as failed.

  2. Executes its compensation handler cancel_shipping.

  3. Rolls back previous steps (refund_funds).

  4. Marks the workflow as failed deterministically.









Retry and Idempotency



In Floxy, MaxRetries defines the total number of allowed handler calls, including the first one.





  • MaxRetries = 1 → one call only (no retries).


  • MaxRetries = 3 → up to three total executions.



By default, steps are idempotent.

To mark a step as non-idempotent, use:



go

Step("charge_card", "ChargeCard", floxy.WithStepNoIdempotent())



This ensures the handler runs exactly once, even if it fails.









Deterministic State Model



Floxy models workflows as a finite state machine:





pending → running → completed



failed → compensation → rolled_back



Each state transition is explicit and persisted in storage, which makes recovery and auditing reliable and predictable.









When to use Floxy



Floxy is ideal for:




  • Transactional workflows with rollback logic (saga pattern)

  • ETL or provisioning pipelines

  • Payment, booking, and inventory systems

  • Temporal-like semantics without Temporal’s infrastructure









Learn more



GitHub: github.com/rom8726/floxy



The repository includes a detailed docs/ENGINE_SPEC.md describing the internal runtime model, retry semantics, and compensation flow.



If you find Floxy useful, give it a star and share feedback.






Floxy: deterministic workflows for real systems, built the Go way.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Floxy — a lightweight workflow engine for GoLang with saga-style compensation

Thematisch verwandte Begriffe: Floxy, lightweight, workflow, engine · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96258 | A vulnerability has been found in onSite internet GmbH Auktion NG Auktio…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick