This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TR1T0N_'s profile picture

cluster computing/cloud computing/super computing in computercraft

Started by TR1T0N_, 15 March 2014 - 08:09 PM
TR1T0N_ #1
Posted 15 March 2014 - 09:09 PM
Just a quick question for devs or any other people who may have some insight into this question
what effect would cluster / super computing/cloud computing have on a program. would it increase speed of execution of a program or would it decrease and what benefits or issues would it bring on implementation and is it worth it ??
Edited on 15 March 2014 - 08:12 PM
CometWolf #2
Posted 15 March 2014 - 09:18 PM
First off, no computercraft program has ever been or ever will be so demanding that such a thing would yield any benefit at all. Secondly, no there would be no benefit because of the way the computercraft mod works. You don't get additonal server resources per computer, they all run on the same thread.
TR1T0N_ #3
Posted 15 March 2014 - 09:31 PM
i was thinking of programs that replicate services like amazon ec2 instances and huge webservers, and vmware servers these i would have though would be quite intensive and going more extreme to password bruteforcing and applications like that but since computercraft runs on a single thread and doesnt allocate extra resources per computer this may be restricted also would having separate computers to share hdd space for programs that are exceptionally large in size like cloud storage and create extra redundancy
Edited on 15 March 2014 - 08:34 PM
sci4me #4
Posted 15 March 2014 - 09:47 PM
It is possible, and actually (if you ask me) incredibly easy to do. The thing is: it WONT give you any benefit. Its not like each computer has its own thread… :/
TR1T0N_ #5
Posted 15 March 2014 - 09:54 PM
also are hdd space limitations per computer still in place if so would something like software RAID be possible ? by using multiple computers
CometWolf #6
Posted 15 March 2014 - 09:58 PM
Bruteforcing a computercraft program would be retarded and utterly redundant, as would running a web server on a cc computer.
Extra hdd space would be an acheivable benefit actually, provided you don't have acess to the mod configs. Otherwise the hdd space allocation could just be changed there.
TR1T0N_ #7
Posted 15 March 2014 - 10:02 PM
yea i was just seeing if any of my ideas would actually be useful to persue. however the RAID software may make into a full release though implementation of it may be difficult
Edited on 15 March 2014 - 09:03 PM
oeed #8
Posted 15 March 2014 - 11:12 PM
Even not so intensive calculations do have a fairly large impact on performance. In OneOS the animations only manage about 5 FPS, while it's probably not 100% efficient it's fairly close. So, if you want to do it in Lua I'd say download a console version of Lua and run it in cmd or something.