DAML and ledger databases integration

I am working on immutable ledger databases and found that immudb as per their performance metrics results gives better performance than AWS QLDB. I want to keep business logic operations in DAML. Is there any way to integrate DAML with immudb (key-value immutable database)?

5 Likes

Hi @Prachi_Gupta, we currently don’t have a driver for immudb. If you would like to implement your own driver for it, I suggest you look at the DAML integration kit documentation here.

4 Likes

I’d also recommend evaluating QLDB performance for your application specifically as there doesn’t appear to be any insights into the Immudb vs QLDB benchmarks (such as the actual code they ran) and Immudb’s metric could potentially be over-reporting their own performance, under-reporting QLDB, or evaluating a very specific case. Or it could be entirely accurate, there’s no way to know.

So given the limitations of their reporting I’d say the easiest initial approach would be to first see if QLDB or the other backends that DAML supports (PostgreSQL, Fabric, Sawtooth, Corda, Project DABL, etc.) provide the performance you need for your application. DAML applications are running in high performance environments today so I have a good feeling that they will meet your needs as well.

Edit: Also found this interesting Stackoverflow post on QLDB performance which suggests that raw writes may be much higher than what Immudb has reported. https://stackoverflow.com/a/58630222/13135528

1 Like