---
title: "Comment by Fawaz Alharbi on \"Building Back-End State Machines with XState\" | Hashnode"
description: "Hey Musadiq Peerzada Terrific article, I truly appreciate you taking the time to write it. I&#39;m intrigued about the application of Xstate in backend developm"
url: "https://hashnode.com/posts/building-back-end-state-machines-with-xstate/6457f15b30be1a2397aa6cbd/comment/64b3f79131fb2b9d9bc4601f"
---

[Discussion](https://hashnode.com/posts/building-back-end-state-machines-with-xstate/6457f15b30be1a2397aa6cbd)

Comment [Building Back-End State Machines with XState](https://hashnode.com/posts/building-back-end-state-machines-with-xstate/6457f15b30be1a2397aa6cbd)

[Fawaz Alharbi](https://hashnode.com/@fawwaz)

[Jul 16, 2023](https://hashnode.com/posts/building-back-end-state-machines-with-xstate/6457f15b30be1a2397aa6cbd/comment/64b3f79131fb2b9d9bc4601f)

Hey [Musadiq Peerzada](https://hashnode.com/@musadiqpeerzada) Terrific article, I truly appreciate you taking the time to write it. I'm intrigued about the application of Xstate in backend development. However, I'm wondering how to manage state persistence to the database and handle the state machine over multiple requests? Could you shed some light on these topics?
