mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
worker file split, sending new questions to peers instantly
This commit is contained in:
parent
8c4e184741
commit
252826a081
25 changed files with 1016 additions and 705 deletions
|
@ -23,7 +23,7 @@ databases the pi might not be enough.
|
|||
The server utilizes multiple CPU cores, long running operations are ran in separate threads. Because
|
||||
of the implementation, the more cores a CPU has, the server uses more memory, but able to run more
|
||||
threads, and serve more requests at once. The used cores can be limited with environment variables
|
||||
(detailed below).
|
||||
(detailed below, `NS_THREAD_COUNT`).
|
||||
|
||||
## Terminology
|
||||
|
||||
|
@ -60,7 +60,7 @@ read them very carefully, you should know about what was created!**
|
|||
* By default the server redirects all HTTP traffic to HTTPS. To disable this use
|
||||
`NS_NO_HTTPS_FORCE`
|
||||
* The server launches a thread for each CPU core. This could be an overkill on 4+ cored CPU-s. Use
|
||||
`NS_THREAD_COUNT` to restrict the number of threads
|
||||
`NS_THREAD_COUNT` to restrict the number of threads, and potentially reduce memory usage of the server.
|
||||
* The setup script can be also used to update and rebuild all git modules if ran after the initial
|
||||
setup
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue