Gilou06

Gilou06

Hi @lucaong,
Thanks for the details.
I had a remote knowledge of start_link but never bridged that to what happens in application.ex with the children.
I saw magic there, when in fact it is just the application of start_link on a list.

It all make sense now.
I’m grateful.
Jean-yves :sunglasses:

2
Post #11
fabioticconi

fabioticconi

This is an awesome library. I just have one question @lucaong - do you have any benchmarks of cubdb vs non-distributed mnesia? Especially with regard to concurrent writes. I think mnesia’s row-level locking offers an advantage here, but it probably isn’t possible with cubdb?

I’m not sure this is going to ever be an issue, but if there’s hundreds of concurrent accesses it would be nice to have some idea of the performance loss compared to alternative implementations.

1
Post #12
lucaong

lucaong OP

Hi @fabioticconi , thanks for the kind words :slight_smile:

The repostory includes performance benchmarks, but not specifically against Mnesia. My assumption would be that, as you say, for concurrent writes Mnesia would be faster. CubDB does not offer row-level locks, so while it is generally quite fast, write transactions are serialized and will executeone one after the other.

1
Post #13
johnsseruwagi

johnsseruwagi

Is CubDB still maintained? As there has not been update to the repository since 2023

2
Post #14
— All posts loaded —