Похожие чаты

Are threads a thing in node? When I was programming telegram

bots in Java I'll just create a Thread pool and assign heavy processing command to different Threads

There was still a bottleneck since all the petitions were first handled by the main and only thread but if a command was slow at least I could start processing the next one instead of making the user wait for the other to complete

I don't think it fixes anything but that's all I can say

1 ответов

11 просмотров

Not built in, but there are projects like node-threadpool that might work

Похожие вопросы

Обсуждают сегодня

Карта сайта