📝 updated stats on log size in memory/disk

This commit is contained in:
EntireTwix 2022-11-28 17:34:52 -08:00
parent cf4ba5ccfa
commit 4fd3eb2bd8
3 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@
as CCash is very lightweight it can run on practically any device but here are some tips:
* single core machines should toggle `MULTI_THREADED` to `false`
* if your server is sufficiently active, such that each time save frequency is met, changes having been made is highly likely then `CONSERVATIVE_DISK_SAVE` should be toggled to `false`
* `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at ~203 bytes in memory and ~104 bytes in disk at default settings, so 5165 logs per Mb of RAM. Setting to 0 will disable logs
* `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at ~157 bytes in memory and ~43 bytes in disk at default settings, so 6678 logs per Mb of RAM. Setting to 0 will disable logs
* with no users memory usage is 8.47 Mb
* Saving frequency (a runtime argument) being set to 0 will disable frequency saving and only save on close
* make backups of your save files

View file

@ -21,4 +21,5 @@
| Market | a platform to buy and sell items. |
| Anonymous Payments | a service that allows for sending of funds annoymously, by first sending them to an intermediate account that is receiving and sending from many wallets as to obfuscate the fund's origin. |
| Gambling | physical or digital casino. |
| Shipping | the infastructure to quickly send items across long distances. |
| Shipping | the infastructure to quickly send items across long distances. |
| Mod | a server-side mod |

View file

@ -8,7 +8,7 @@ Capable of processing thousands of requests per second, with no slow down as use
#### Lightweight
<!-- specs -->
Low memory usage at 8 Mb baseline, and 203 bytes per new log.
Low memory usage at 8 Mb baseline, and 157 bytes per new log.
Anecdotally I typically expierenced <1% CPU usage.