L1VM - worker client
L1VM - worker client
I did write a worker client demo. You can copy the “run-worker” program on multiple PCs.
It should be run at PC start by a cron job (on Linux) or something like this.
The “run-worker” program connects to my “l1vmgodata” data base and checks for it’s worker-id.
If it found it then it downloads the program set in the id value. You can put your own web server IP in to the download script.
With this you can run a worker program on multiple machines. And save/load data in my data base to exchange data between workers.
The example connects to my blogs L1VM repo. And downloads my “hello-worker” program. The program puts “Hello world!” into the data base. You can do much more complex stuff with this!