Git Product home page Git Product logo

Comments (4)

yevhen avatar yevhen commented on May 28, 2024 1

@Neftedollar you can use Orleans declarative persistence via facets. I don't have dedicated sample but you can use this test as an example of how persistence can be used with Orleankka. In nutshell, you need to register storage provider (any orleans built-in or contrib provided) like this and then use ctor based injection via special attribute (provided by Orleankka). All the rest is the same. The state will be automatically pre-loaded on activation, etc.

The ProcessManager (C#/FSM) features a working demo of how the custom storage provider could be used with Orleankka. But any other storage provider could be used instead (anything which implements native IGrainStorage interface).

from orleankka.

yevhen avatar yevhen commented on May 28, 2024

After spending some time looking at current state of orleans.peristence, both built-in and contributed providers - I've changed my mind. It's better to teach ppl to implement their own tailor-made persistence.

from orleankka.

Neftedollar avatar Neftedollar commented on May 28, 2024

So is orleankka has no Orleans' persistence API?

from orleankka.

Neftedollar avatar Neftedollar commented on May 28, 2024

@yevhen awesome. Thank you.

from orleankka.

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.