jafayer / DinoDNS

https://dinodns.dev
2 stars 0 forks source link

Support multithreading via Nodejs's built-in cluster mode #32

Closed jafayer closed 2 days ago

jafayer commented 2 days ago

This pull request introduces the capability for the DefaultServer to run in a multithreaded cluster mode, enhancing its performance and scalability. The key changes involve adding cluster and OS modules, updating the server properties to include a multithreaded option, and modifying the server's start method to support clustering.

Enhancements to DefaultServer:

Example usage: