-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added snapshotless observing squad in the integrators section #749
Added snapshotless observing squad in the integrators section #749
Conversation
Whenever a node is executing the trie snapshotting process, the accounts data fetching & vm-query operations are greatly affected. | ||
This is caused by the fact that the snapshotting operation consumes a large number of CPU cycles along with disk iops. | ||
The nodes started with the flag `--operation-mode snapshotless-observer` will not create trie snapshots on every epoch and will | ||
also prune the trie storage in order to save space. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an unnecessary newline above (markdown renderer will ignore it, anyway).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed cessary new-lines
If you already have an observing squad, and you want to transform it into a snapshotless observing squad, the | ||
easiest way is to manually edit the service file `/etc/systemd/system/elrond-node-x.service` (with `sudo`) and | ||
append the `-operation-mode snapshotless-observer` flag at the end of the `ExecStart=` line. | ||
In the end, the file should look like: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure, perhaps the editor splits the lines? When writing markdown, I usually only use newlines when changing paragraphs (just an opinion).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed cessary new-lines
|
||
[Service] | ||
User=jls | ||
WorkingDirectory=/home/ubuntu/elrond-nodes/node-0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps, at some point, the installation scripts should create a symlink (mvx-nodes
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will fix that with @valentin-lup in the future
@@ -381,6 +381,7 @@ const sidebars = { | |||
items: [ | |||
"integrators/observing-squad", | |||
"integrators/deep-history-squad", | |||
"integrators/snapshotless-observing-squad", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put the snapshotless-observing-squad page above the deep-history-squad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. More use-cases, more integrators that require snapshotless squads - as opposed to deep-history squads (more exotic, less used).
…rators' into snapshotless-observers-for-integrators
``` | ||
NODE_EXTRA_FLAGS="-log-save -operation-mode snapshotless-observer" | ||
``` | ||
|
||
After that, wou can resume following the normal observer squad installation steps. | ||
After that, you can resume the normal Observer Squad installation steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ObservING Squad?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
7510caf
Description of the pull request (what is new / what has changed)
Did you test the changes locally ?
Which category (categories) does this pull request belong to?