mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
1.4 KiB
1.4 KiB
html, funnel, doc_type, category, subcategory, blurb
| html | funnel | doc_type | category | subcategory | blurb |
|---|---|---|---|---|---|
| enable-link-compression.html | Build | Tutorials | Manage the rippled Server | Configure Peering | Save bandwidth by compressing peer-to-peer communications. |
Enable Link Compression
The rippled server can save bandwidth by compressing its peer-to-peer communications, at a cost of greater CPU usage. If you enable link compression, the server automatically compresses communications with peer servers that also have link compression enabled. [New in: rippled 1.6.0][]
Steps
To enable link compression on your server, complete the following steps:
1. Edit your rippled server's config file.
$ vim /etc/opt/ripple/rippled.cfg
{% include '_snippets/conf-file-location.md' %}
2. In the config file, add or uncomment the [compression] stanza.
To enable compression:
[compression]
true
Use false to disable compression (the default).
3. Restart the rippled server
$ sudo systemctl restart rippled.service
After the restart, your server automatically uses link compression with other peers that also have link compression enabled.
See Also
{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}