Matthew Gretton
2017-03-29 08:13:20 UTC
Hi,
I have a channel of transactions that I want to transact in order due to
dependencies between transactions. I'm trying to work out if I can use the
pipelining example in the best practices guide to do this. I can't quite
see how it will however, as there are no guarantees around the order
transact-async will be called when running with parallelism. The only
guarantee is that the results will go onto the output channel in the same
order they came in, but this does not ensure transactions are executed in
order as a require.
Hopefully, I'm misunderstanding how pipeline-blocking or transact-async are
work here, but any advice would be greatly appreciated.
Thanks,
Matt.
I have a channel of transactions that I want to transact in order due to
dependencies between transactions. I'm trying to work out if I can use the
pipelining example in the best practices guide to do this. I can't quite
see how it will however, as there are no guarantees around the order
transact-async will be called when running with parallelism. The only
guarantee is that the results will go onto the output channel in the same
order they came in, but this does not ensure transactions are executed in
order as a require.
Hopefully, I'm misunderstanding how pipeline-blocking or transact-async are
work here, but any advice would be greatly appreciated.
Thanks,
Matt.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.