This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-11-04 17:16:33

Chainmanner
Scratcher
Registered: 2012-07-03
Posts: 13

How long does it take for Cloud Variables and Lists to update?

This question is crucial since I wanna make (something like) an MMORPG.

Offline

 

#2 2012-11-04 17:47:23

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

From what I've seen, about 2 seconds, so multiplayers will be possible.

Offline

 

#3 2012-11-04 23:11:21

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

2 seconds.

Offline

 

#4 2012-11-05 13:16:57

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

TorbyFork234 wrote:

From what I've seen, about 2 seconds, so multiplayers will be possible.

Of course, no one's using the 2.0 system yet.  So, who knows what the real performance is once people start using it?  We don't know.

*and, by "no one" I really mean only a handful of alpha testers.

Last edited by BoltBait (2012-11-05 13:17:17)


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#5 2012-11-07 11:39:00

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

About a second for me, using Linux. It used to be 2 seconds on Windows, but i think there were some recent speed improvements.

Offline

 

#6 2012-11-07 11:40:08

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

scimonster wrote:

About a second for me, using Linux. It used to be 2 seconds on Windows, but i think there were some recent speed improvements.

YES!

Only problem is, if there is a fighting game...
2 second lag where you can whack people.  tongue


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#7 2012-11-07 14:03:50

prokohtu
Scratcher
Registered: 2008-06-19
Posts: 100+

Re: How long does it take for Cloud Variables and Lists to update?

yes, for some games 2 seconds may not be enough.but still it's nice


Scratch's most realistic F1 simulator
https://lh6.googleusercontent.com/-qIdF-SzbTzw/UU29tK-FYvI/AAAAAAAAAOs/vRFKr1Iwldc/s225/logo.jpg

Offline

 

#8 2012-11-07 21:41:54

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

It's definitely not enough for anything that isn't turn-based (RTS, fighting, the list goes on). But hey, it's a service provided free of charge, you can't expect much.  tongue

I think it'd be cool if you could use your own servers for this kind of stuff. I don't know exactly how online play works, but I suppose opening and listening to sockets as an hidden advanced feature would work for this purpose.

You could then program the server in any other language that supports sockets - even Scratch itself in the rare case it does. c: Any unauthorized socket request would be caught by the firewall in most cases.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#9 2012-12-03 22:56:43

Chainmanner
Scratcher
Registered: 2012-07-03
Posts: 13

Re: How long does it take for Cloud Variables and Lists to update?

Two seconds is rather too little. Is there any way in improving this?

Offline

 

#10 2012-12-03 23:53:31

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

BoltBait wrote:

TorbyFork234 wrote:

From what I've seen, about 2 seconds, so multiplayers will be possible.

Of course, no one's using the 2.0 system yet.  So, who knows what the real performance is once people start using it?  We don't know.

*and, by "no one" I really mean only a handful of alpha testers.

And anyone who was on scratch during scratch day  hmm

technoguyx wrote:

It's definitely not enough for anything that isn't turn-based (RTS, fighting, the list goes on). But hey, it's a service provided free of charge, you can't expect much.   

I think it'd be cool if you could use your own servers for this kind of stuff. I don't know exactly how online play works, but I suppose opening and listening to sockets as an hidden advanced feature would work for this purpose.

You could then program the server in any other language that supports sockets - even Scratch itself in the rare case it does. c: Any unauthorized socket request would be caught by the firewall in most cases.

Actually, for practically anything I've done via a server (FPS, minecraft, gmail chat, etc...), it's about 1-4 seconds delay. You can still make the multiplayer games and have them not be turn based. Just whenever you have something done, also post the time with the nifty new Scratch-time block (from what I've heard from other scratchers, and possibly the ST, i forget who), and whoever did it earlier gets right of action.

Chainmanner wrote:

Two seconds is rather too little. Is there any way in improving this?

Too little? You'd rather it be larger, to be 5 seconds ?  tongue

I don't really understand why you would need it to be faster. No information can travel instantaneously between computers.

Offline

 

#11 2012-12-04 00:16:42

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

My question is, what is the system behind the variables. Is is a socket/server based thing, or a HTTP request for every update? If it's polling, I'll really be disappointed.  neutral


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#12 2012-12-04 00:37:12

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

I'm testing. It looks like it is very fast, even when our internet is slow for some time (0.1 mbps up) it takes 0.5 secs, less if the up is normal. (6mbps+)


Edit: do note there are like 100 testers as of now, so it will be slower when finished unless more servers are added.

Last edited by Laternenpfahl (2012-12-04 00:38:23)


http://i46.tinypic.com/6yd4c0.png

Offline

 

#13 2012-12-04 00:38:35

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

MathWizz wrote:

My question is, what is the system behind the variables. Is is a socket/server based thing, or a HTTP request for every update? If it's polling, I'll really be disappointed.  neutral

I think it's HTTP, but I'm not 100% sure on that.


Posts: 20000 - Show all posts

Offline

 

#14 2012-12-04 09:06:30

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

veggieman001 wrote:

MathWizz wrote:

My question is, what is the system behind the variables. Is is a socket/server based thing, or a HTTP request for every update? If it's polling, I'll really be disappointed.  neutral

I think it's HTTP, but I'm not 100% sure on that.

Whhhhhhyyy???


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#15 2012-12-04 15:53:59

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: How long does it take for Cloud Variables and Lists to update?

It uses sockets by default, but it has an HTTP fallback.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer