Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Best Event-Driven Finite-State Machine Learning Resources
3 points by dustfinger on March 16, 2024 | hide | past | favorite | 4 comments
I am working on an existing typescript backend service that receives events and takes actions based on those events. I would like to further my understanding of event driven finite state machines, so that I can apply well known patterns in hopes of improving maintainability and reliability of existing services. I am also keenly interested in deepening my understanding of state machines and modern design philosophy, so that I may design future systems that are highly reliable and maintainable.

What resources do you recommend? I am a book lover, so I am happy spending money on books, but I am interested in any and all resources, including online course-ware.



After having implemened many complex distributed state machines I started thinking along the terms of how do abstract away the engineering part of it and provide a platform for writing business logic. Technical term for it is workflow orchestration. You might have heard of AWS Step functions.

Check out Temporal, it's open source and lot of architecture videos exist. I've been trying to experiment with it to rewrite my old projects using it.


Thank you, I will read up on this today. If you have any resources that you thought were a particularly valuable read, please don't hesitate to drop the links here.


There are a lot of resources on finite state machines, especially in TypeScript, here: https://stately.ai/docs/state-machines-and-statecharts


Thank you, I am starting to play around with this library. I am also reading up on workflow engines vs finite state machines.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: