Running arbitrary binary program with cluster computers
0
votes
1
answer
52
views
I have 3 VPS. Let's say master, slave1, slave2.
Their specifications are identic.
* Processor: 1CPU
* Memory: 1GB
* Disk: 10GB
* Network: running on LAN each other
I expect any arbitrary binary program (process) that run on master VPS is seeing as one VPS. So that's mean the workload of master VPS will be shared to its slaves through network.
So what the program will see is, it's running on a computer with specification:
* Processor: 3CPU
* Memory: 3GB
* Disk: 30GB
The question is, any there protocol or service that can combine computing power like that?
To combining memory (RAM) or storage (SSD).
I was thinking to mount ramfs into a mountopoint for every slave. Then using NFS server for every slaves and make it available so that NFS client from master can mount it into local. In master, combining mountpoints into single mountpoint
/mnt/shm_from_slave1
and /mnt/shm_from_slave2
into single mountpoint /mnt/shm_combined
.
Then in the combined shared memory in master, I will create swapfile /mnt/shm_combined/swapfile
. Then configuring the master OS to make swapfile to use frequently. Note that, this is my plan to combine the memory. To combine processor power, I have no idea.
Asked by Muhammad Ikhwan Perwira
(319 rep)
Nov 2, 2023, 07:12 PM
Last activity: Nov 2, 2023, 09:33 PM
Last activity: Nov 2, 2023, 09:33 PM