Replies: 1 comment
-
It would be interesting to consider a module that transfers data from a Mnesia table into a Khepri "directory" (set of keys). But I see that this is to reduce code changes needed (our team obviously has a lot of vested interest here), which is more important. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it would be useful to provide a module to help users migrate from Mnesia to Khepri. Perhaps the opposite too to make things even easier.
Here are some ideas:
We could provide a module to fill a Khepri store with the data from Mnesia tables. The layout could be something like that:
We already have some interesting things in the RabbitMQ integration of Khepri. Perhaps we can move some of this code to Khepri itself.
We could let the user decide how to derive a path from a record, either by taking an anonymous function or by leveraging ETS matching specs which allow to format the output of a match:
We could provide a module with an API close to Mnesia API. Probably difficult, but something as close as possible to a drop-in replacement to
mnesia
calls.Beta Was this translation helpful? Give feedback.
All reactions