Open Geod24 opened 3 years ago
This causes increasing memory allocations due to AddLogger
mixin in some modules.
Following figure shows a memory allocation trend in Agora caused by this.
First three peeks are caused due to AddLogger
mixin and spawned threads. The last hill is caused due to my node couldn't be able to request from the peer and retried over 50 times.
Vibe.d DNS resolution is the cause of hundreds of threads spawning and then dying, per second. This is expensive to us, as we're doing some allocations in module ctor, and overall it slows down the process quite a bit.