Skip to content

vs Akaveche #2

@Mithgroth

Description

@Mithgroth

Hey,
since I'm already developing with MauiReactor, I'm thinking of switching to ReactorData too. Currently I'm working with Akaveche to store my local data, but I'm manually managing the initial loading. Loading during app build is a good selling point for me. Also since Akaveche is heavily async-focused, it leads to awkward situations to use it during OnMounted() and I'm not super fond of doing async voids all over.

A few points I'd like to ask:

  1. Akaveche can target LocalMachine, UserAccount, Secure, InMemory locations of the device, so I don't really need to set a target location. This is pretty handy, and in many cases helps you organize what you are storing. I like having tokens and user information in UserAccount, sensitive information in Secure so I don't need to worry about it and my app's own data in LocalMachine as transient storage. Could ReactorData implement this pattern?
  2. Does ReactorData get removed by linker? I suppose AddReactorData takes care of that?
  3. The most important point for me: Is it possible to implement AbsoluteExpirationDate for entities? I suppose calling VACUUM on SQLite on app start should do the trick, not entirely sure though.
  4. Although I'm currently not using it, Akaveche's GetAndFetchLatest sounds like a good addition on paper. I suppose ideally it should work with a delegate to a some fetch call with Refit / HttpClient / gRPC call?

Hoping to see more of MauiReactor stuff,
Cheers man.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions