You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want the hydra-node to be efficient in processing events to yield a high throughput on processing transactions.
Work done on as part of #186 has demonstrated that the primary bottleneck to faster transaction processing inside the node was the state persistence logic which simply overwrites the full state with whatever new state has been produced. While we also persist synchronously the ServerOutputs in the API server, this has a low impact on tx processing as we use an append-only file.
Why
We want the hydra-node to be efficient in processing events to yield a high throughput on processing transactions.
Work done on as part of #186 has demonstrated that the primary bottleneck to faster transaction processing inside the node was the state persistence logic which simply overwrites the full state with whatever new state has been produced. While we also persist synchronously the
ServerOutput
s in the API server, this has a low impact on tx processing as we use an append-only file.What
hydra-cluster
benchmarks to ensure thishydra-node
(e.g. Behavior)How
StateChanged
- the actual event in this event sourcing - with a single, dummyStateReplaced HeadState
constructoraggregate :: HeadState -> StateChanged -> HeadState
function and changeOutcome
to returnStateChanged
instead ofNewState
StateChanged
cases and move state update fromupdate
toaggregate
cases incrementally Introduce event-sourcing style in the HeadLogic #999The text was updated successfully, but these errors were encountered: