Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In which position does Datomic lies in the CAP Triangle?

Tags:

datomic

Recently I heard that Datomic as a modern database, can be excellent at data modeling and scalability. But I know little of it. Does the Datomic database follows the CAP Theorem?

If so, in which position does it lies in the CAP Triangle?

enter image description here

like image 262
cmal Avatar asked Jun 16 '17 04:06

cmal


1 Answers

Datomic provides ACID semantics and is CP for writes. The unusual thing about Datomic is that it does not co-locate read services with transactional services. You don’t go through the transactor to read and you don’t need to read inside transactions to see consistent data. This allows Datomic to scale reads horizontally, and lets you make independent decisions about read availability.

It is worth reading http://docs.datomic.com/acid.html, particularly the Implications section.

like image 94
Stuart Dabbs Halloway Avatar answered Nov 15 '22 08:11

Stuart Dabbs Halloway