Electrum Server Speed Test



Summary:

This article presents a quantitative analysis of Electrum server software's performance under load. The Electrum wallet has distributed servers that are hosted by volunteers without budget. The servers require a fully indexed Bitcoin Core daemon running, and produce sizable external indexes to allow SPV clients to retrieve their history quickly. The author uses logs from the Electrum-server console to determine that it takes this server approximately 3.7 minutes per megabyte of block to process into the index. This trend is consistent through the ten or so blocks the author has in their scroll buffer, indicating that the processing load is approximately the same across blocks. Using the current inter-block time of 9.8 minutes, an Electrum-server instance running on a modest-high end dedicated server can support up to 2.64 MB block sizes before permanently falling behind the chain. The data also shows the size of various files generated during the process, with "electrum" being the largest at 24G, followed by "hist" at 19G, and "utxo" at 3.9G. These figures provide insight into the resources required for operating an Electrum server.


Updated on: 2023-06-10T03:48:23.079037+00:00