Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new Community Transport option to the list: Worker Thread based async Console Transport #2140

Conversation

arpad1337
Copy link
Contributor

@arpad1337 arpad1337 commented May 27, 2022

The new ConsoleTransportInWorker extension on top of winston.transports.Console is leveraging the power of NodeJS v16's worker_threads module to offload expensive & blocking write operations to a separate thread with its own Event Loop while keeping the main thread high performant and its Event Loop non-blocked.

Code on GitHub
NPM Package

@arpad1337 arpad1337 force-pushed the transports/worker-thread-based-async-console-transport branch from 57d9e74 to 7993314 Compare May 27, 2022 04:02
@arpad1337 arpad1337 changed the title Added a new Community Transport option to the list Added a new Community Transport option to the list: Worker Thread based async Console Transport May 27, 2022
@wbt wbt merged commit 440babc into winstonjs:master Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants