deroproject / derohe

DERO Homomorphic Encryption Blockchain Protocol
Other
209 stars 82 forks source link

Extremely slow TXs with a lot of transfers #103

Open jon4hz opened 2 years ago

jon4hz commented 2 years ago

As mentioned in #102, TXs with a lot of transfers often fail. However this isn't the only problem we encountered with high batch sizes. The following graph shows the request duration of transactions with at most 10 transfers. As you can see, some of these calls took more than 1.33 min(!).

image

The yellow lines you see here are all from the transfer calls. According to the legend DERO.GetBlockTemplate is also yellow, however these calls usually took ~8ms.