Revert "Revert "Вдойная буферизация""

This reverts commit 5d83cd4234a7fa0267d872fba4de5110f63ce0fb.