NuBot is currently only working for MLPs (e.g. NuLagoon; soonTM maybe my NuBot on hitBTC).
PyBot is currently only working for ALPs.
NuBot has been soundly developed ever since development was started.
PyBot is hacked together code (correct me if I’m wrong) that acts as a proof of concept for an ingenious concept, invented by @creon: the automated liquidity pools (formerly known as TLLP - trustless liquidity pools).
NuBot requires a lot of CPU power.
[edit] But as I found out a few minutes ago: only if being run in server mode; without server mode CPU load looks like thison my RaspberryPi 2 (4 CPU cores):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22483 pi 20 0 321m 60m 10m S 101.8 6.2 9:14.09 java
2337 pi 20 0 680m 559m 32m S 32.7 57.5 5357:27 nud
If you don’t need the server mode (maybe because you run it on a headless RaspberryPi…), NuBot is more CPU friendly than with server mode and can run very well on RaspberryPi 2,maybe even on a RaspberryPi 1 (although that’s close to the limit of it)!
[/edit]
PyBot doesn’t require much CPU power.
Exactly that - with an adjusted server.py that’s called fc_server.py.
@woolly_sammoth is working on a solution that will integrate NuBot into the ALP client:
That should give ALP clients the same features NuBot has.
If you intend to run NuBot on a RaspberrPi, I recommend to get a RaspberryPi 2. The CPU load NuBot causes is at average on 75% on a RaspberryPi 2.That means 3 of 4 cores are constantly busy.
Here’s output from top
:
top - 06:53:04 up 8 days, 9:26, 2 users, load average: 5.16, 5.21, 5.14
Tasks: 91 total, 1 running, 90 sleeping, 0 stopped, 0 zombie
%Cpu(s): 67.0 us, 3.1 sy, 6.6 ni, 21.7 id, 1.4 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem: 996848 total, 982224 used, 14624 free, 52212 buffers
KiB Swap: 102396 total, 1540 used, 100856 free, 191224 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2929 pi 20 0 338m 132m 11m S 277.4 13.6 2245:14 java
2337 pi 20 0 680m 564m 37m S 28.0 58.0 4120:01 nud
You could move nud to a different machine to reduce some CPU load (nud is required for broadcasting liquidity information into the network).
PyBot on the other hand causes single digit CPU loads:
top - 06:49:33 up 26 days, 14:26, 2 users, load average: 1,64, 1,41, 1,42
Tasks: 7 total, 0 running, 7 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4,2 us, 2,8 sy, 1,8 ni, 91,0 id, 0,0 wa, 0,0 hi, 0,3 si, 0,0 st
KiB Mem: 998176 total, 974844 used, 23332 free, 17308 buffers
KiB Swap: 102396 total, 7028 used, 95368 free, 145900 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26259 pi 20 0 64036 10m 5912 S 4,7 1,1 125:46.88 python
22490 pi 20 0 63832 10m 5968 S 4,0 1,1 18:00.29 python