В России ответили на имитирующие высадку на Украине учения НАТО18:04
Pre-allocate everything
。同城约会对此有专业解读
BYOB (bring your own buffer) reads were designed to let developers reuse memory buffers when reading from streams, an important optimization intended for high-throughput scenarios. The idea is sound: instead of allocating new buffers for each chunk, you provide your own buffer and the stream fills it.
stories.tamu.edu