Regarding the fact that there are multiple servers in the LAN, can only one be used as a node
My configuration is as follows:
192.168.100.1
192.168.100.2
192.168.100.3
192.168.100.4
192.168.100.5
When creating a node, I created a node at 192.168.1.1 and started to synchronize, and then started drawing at 192.168.1.1
Then I started looking for 192.168.1.2 and found that if 192.168.1.2 also creates nodes, it will put pressure on the network
Is there a way to make the drawing of 2.3.4.5 directly connected to the node of 192.168.1.1, I found that it seems to be the port of 127.0.0.1:9944? Is there a way to change it to 192.168.1.1:9944?
To address your query about node/farmer configurations, you can indeed set up a farmer to connect to other nodes. Here’s a step-by-step guide on how to achieve this:
For your Node launch parameters, add --rpc-external & --rpc-methods unsafe parameters.
For your Farmer launch parameters, add --node-rpc-url ws://192.168.1.1:9944 parameter.
However, it’s crucial to highlight that even though this configuration is feasible, it’s not necessarily recommended. The primary concern is potential latency issues between the farmers. For optimal performance, the general practice is to have a dedicated node for each farmer. Nonetheless, feel free to experiment and share your findings with the community. We appreciate your insights!
For further insights, consider checking the docker compose commands. These commands are structured in a way that mirrors the connection of a node/farmer to a distinct computer. This is especially relevant since docker containers operate in isolation, making the principle consistent. Refer to the docker documentation here: Advanced CLI | Farm from Anywhere
If you feel this answers your question, please ensure to selectMark As Solutionat the bottom of my reply
When 5 devices are connected to the NODE, there is no problem. Finally, when I add 13 devices, this problem will probably occur. The bandwidth of the node is not abnormal and is within the tolerance range.
WebSocket connection from farmer to node was dropped. Is there a chance your LAN connection was dropped or node restarted? For large number of farmers you might want to increase number of RPC connections, but the default is 100, so should be fine for ~50 farmers.
The following error will occur at the same time
Is there any command that can increase these parameters?
I typed .\subspace-farmer-windows-x86_64-skylake-gemini-3f-2023-sep-05.exe --help and could not find all the additional parameters.
There are multiple commands there. It tells you the whole list. If you want to see options for farming, then you run subspace-farmer farm --help and it will tell you farming-specific options. The same works for node (it is on the node where you might need to increase number of RPC connections).