Jump to content




Cloud Computing?


  • You cannot reply to this topic
14 replies to this topic

#1 martin509

  • Members
  • 53 posts

Posted 02 March 2013 - 04:45 PM

Title: Is cloud computing (multiple computers processing data for one program) possible in CC via rednet?

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 02 March 2013 - 05:09 PM

Probably. Could have some sort of parallel running in the background that uploads files in a certain directory to a server every couple seconds, just like how dropbox works, but with more abstraction.

#3 Kryptanyte

  • Members
  • 95 posts
  • LocationNew Zealand

Posted 02 March 2013 - 05:12 PM

could you give more of an example of what you mean?

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 March 2013 - 05:12 PM

Yes, this is possible, but actually would give you worse performance and take longer to do the same amount of computations.

#5 martin509

  • Members
  • 53 posts

Posted 02 March 2013 - 05:20 PM

Could you explain?

#6 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 March 2013 - 05:34 PM

All the computers run in coroutines. Only one computer is ever executing code at a time, so there is no benefit to having a different computer do the work. Passing the work off adds a bit of complexity and time, so you come out having spent more time to do the same amount of work.

#7 Kryptanyte

  • Members
  • 95 posts
  • LocationNew Zealand

Posted 02 March 2013 - 05:41 PM

Well, technically if you have one computer executing a code the whole time, then it receives messages that can relate to the program, for example.

Say you have a door that only some people can access, instead of having said computer handle the passwords and say a sensor, you have basically a server with the passwords, then a sensor under the door so that even if someone else gets your password for the door, they do not have access because it has to be the person who is related to that login/pass.

Having the sensor on a different computer is really better as you can have it running checks for a player instead of having to work through a parallel on the door computer.

At least, I think its better that way.

#8 martin509

  • Members
  • 53 posts

Posted 02 March 2013 - 05:45 PM

View PostLyqyd, on 02 March 2013 - 05:34 PM, said:

All the computers run in coroutines. Only one computer is ever executing code at a time, so there is no benefit to having a different computer do the work. Passing the work off adds a bit of complexity and time, so you come out having spent more time to do the same amount of work.
Oh. Thanks for clearing that up!

#9 3ydney

  • Members
  • 53 posts
  • LocationAdelaide, Australia.

Posted 02 March 2013 - 09:34 PM

I'm trying to make it using one server... (One computer as file host)

Its a big project....


It is going to be called CSS Cloud Storage System

#10 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 03 March 2013 - 05:02 AM

What good would it do? CC computers have as many resources as they need.

#11 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 03 March 2013 - 08:45 AM

View PostKryptanyte, on 02 March 2013 - 05:41 PM, said:

Well, technically if you have one computer executing a code the whole time, then it receives messages that can relate to the program, for example.

Say you have a door that only some people can access, instead of having said computer handle the passwords and say a sensor, you have basically a server with the passwords, then a sensor under the door so that even if someone else gets your password for the door, they do not have access because it has to be the person who is related to that login/pass.

Having the sensor on a different computer is really better as you can have it running checks for a player instead of having to work through a parallel on the door computer.

At least, I think its better that way.

Neither the other computer nor a parallel call are necessary. One computer running one program in a single coroutine can easily handle your posted example.

#12 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 03 March 2013 - 04:48 PM

View PostLyqyd, on 03 March 2013 - 08:45 AM, said:

View PostKryptanyte, on 02 March 2013 - 05:41 PM, said:

Say you have a door that only some people can access, instead of having said computer handle the passwords and say a sensor, you have basically a server with the passwords, then a sensor under the door so that even if someone else gets your password for the door, they do not have access because it has to be the person who is related to that login/pass.

Having the sensor on a different computer is really better as you can have it running checks for a player instead of having to work through a parallel on the door computer.

Neither the other computer nor a parallel call are necessary. One computer running one program in a single coroutine can easily handle your posted example.

Unless you wanted many doors to access the same database for passwords so that you would not have to worry about keeping it all in sync. May be even set up privileges to that players with different ranks can open only certain doors.

#13 Kryptanyte

  • Members
  • 95 posts
  • LocationNew Zealand

Posted 03 March 2013 - 06:01 PM

^ What he said.

#14 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 04 March 2013 - 07:20 AM

yes this is possible


nitrogenfingers crested an email server that uses multiple computers to send an email a distance
it is on youtube

#15 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 04 March 2013 - 07:29 PM

View PostLuaEclipser, on 04 March 2013 - 07:20 AM, said:

yes this is possible


nitrogenfingers crested an email server that uses multiple computers to send an email a distance
it is on youtube

This was not the question.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users