Fork me on GitHub
#datahike
<
2022-08-10
>
nando08:08:02

Another try. If you are using Datahike in production, what has been your experience so far?

timo10:08:02

Hi @U078GPYL8, there are some projects using Datahike in production. Even large ones are using it. I guess it is currently more suited for small to middle projects since we are still working on performance-improvements.

awb9904:08:17

I am using it in production for 6 months. It works well. What fucked me up already 2 times is a database corruption. Could have been out of memory issue or unclean shutdown. In dont know. What bothers me is that the backup / restore procedure is buggy (need to manually patch the dump) and there are incompatibilities with 0.4 and 0.5 so upgrade path is blocked.

awb9904:08:56

Performance is an issue.. its slower than a mongodb with same functionality. What is much slower are writes.. so I had to group writes together.

awb9904:08:47

Queries performance is ok. It ls definitely slower than mongodb .. but the cleaner syntax is worth it.

awb9904:08:33

Sb corruption is my biggest concern. So what I do now is I once a day write a random value to the db and then I don read to see if it gets the same value back. I cannot say if this trick works because I implemented it after the last corruption.

awb9904:08:12

The codebase is way cleaner with datahike .. thats for sure.

nando10:08:17

@UCSJVFV35 Thanks for the detailed feedback.