Re:Rich Hickey's new project: datomic.com
by jamii on Monday March 05, 2012 @12:33PM
(#3667353)
The FAQ says that writes favour consistency over availability, so I guess that means synchronous calls to the transactor.
[ Parent
| on HN ]
Re:Rich Hickey's new project: datomic.com
by olivergeorge on Monday March 05, 2012 @08:52PM
(#3669307)
Some kind of compare-and-set! operator which occurs at the transactor perhaps.
Update:
1. you can do synchronous transactions.
http://datomic.com/docs/javadoc/datomic/Connection.html#tran...
2. transactions can include data functions.
"The database can be extended with data functions that expand into other data functions, or eventually bottom out as assertions and retractions. A set of assertions/ retractions/functions, represented as data structures, is sent to the transactor as a transaction, and either succeeds or fails all together, as one would expect."