- published 1.0.0 5 years ago
- published 1.0.0 4 years ago
- published 1.0.8 4 years ago
we can use threadpool in nodejs directly , thread-gate try to handle this by controlling thread number.
published 1.0.4 4 years ago- published 1.0.5 4 years ago
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等
published 1.0.1 3 years ago实现自己的应用层协议和解析器,可以使用于tcp,udp、unix域之上。
published 1.0.1 4 years agonodejs中的io_uring插件(Linux5.1后的版本支持,可以通过uname -a查看,目前支持读取、写入)<br/> npm:npm i nodejs_io_uring
published 1.0.10 8 months ago