Code Monkey home page Code Monkey logo

Comments (1)

mehmetsalgar avatar mehmetsalgar commented on June 11, 2024 4

Ok, first I have to say, I have no direct affiliation with Spring State Machine development or with the company, so please take what I say here with certain grain of salt.

My feeling about SSM, it is now a maintenance project and not too many activities occurring for further developing it but beside that, if you are interested using State Machine paradigm, you should really consider SSM fits to your business problem or not.

SSM is great, for ex, controlling lifecycle of an automat, with states like STARTING, STARTED, SHUTTNG_DOWN, ERROR_MODE, MAINTENANCE, etc, but in my opinion it is not that well suited for modelling millions of shopping charts, hotel reservations, etc because I think it's persistence model is too naive and has no concept for business model or state machine model evolution / change, which will certainly happen in any real life scenario.

If you are planning to use model a similar to the automat mentioned above, SSM is great for it and just use it.

If you are planning to have millions of instances of the state machine, I strongly advice you to evaluate other frameworks.

I have a blog post exactly discussing these points may be it can help you, specially the part about State Machine, Event and Schema Evolution must be interesting while SSM ignore these topics totally.

from spring-statemachine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.