about summary refs log tree commit diff
path: root/finito-core/src/lib.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-09-26T20·31+0200
committerVincent Ambo <mail@tazj.in>2018-09-26T20·31+0200
commit406a90e8d696835f4b68e35f60f585af710c49c8 (patch)
treedbbdc092200d61038245d2f23d390ba0a2afecd7 /finito-core/src/lib.rs
parent3891ba84d5dbf335442c1c9e263823820f2a3327 (diff)
feat(postgres): Implement initial (synchronous) actoin execution
Implements a simple model for executing actions which will run them in
sequence, synchronously, after advancing an FSM and committing the
initial transaction.

Note that multiple things are not yet taken into account:

* Error handling of actions (they can not currently fail)
* Retrying of actions
* Concurrency model

I started out by implementing the concurrency model similarly to the
green-threading method used in Hamingja (but using OS threads), but
slowly noticed that it may not be the best way to do that. It needs a
little bit of discussion.

Either way for most actions this method is fast enough to work for
implementing things on top of Finito's model.
Diffstat (limited to 'finito-core/src/lib.rs')
0 files changed, 0 insertions, 0 deletions