intfiction.org

The Interactive Fiction Community Forum
It is currently Fri Dec 19, 2014 10:05 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Fri Jan 13, 2012 7:59 am 
Offline
User avatar

Joined: Sat Dec 22, 2007 6:00 pm
Posts: 522
Location: Western Australia
bcressey wrote:
Emerald wrote:
Correct here, too: Asia/Pacific (east).


The ap-west and ap-east links above point to Singapore and Tokyo respectively. Can you let me know which one is better for Australia?

Can't speak for Australia as a whole, but here in WA ap-west is definitely more responsive than ap-east. ap-west has about a second of lag, ap-east more like 2 seconds.

_________________
Emily Boegheim


Top
 Profile Send private message  
 
PostPosted: Fri Jan 13, 2012 10:52 am 
Offline
User avatar

Joined: Mon Oct 04, 2010 11:35 am
Posts: 855
Location: Toronto
bcressey wrote:
OK, new test.

Launch Return to Ditch Day and let me know if:

1) The interface feels responsive, and
2) You prefer one of the other servers instead.

Servers:

(na-east and na-west are each backed by two servers, so your results may differ slightly between trials.)

NA-East was fastest for me. Unexpectedly, EU-West was nearly as fast (hard to tell the difference) whereas NA-West was a bit noticeably laggy. But AP-East was *very* laggy and AP-West was the worst of all. (I only tested NA-East and NA-West once each.)

P.


Top
 Profile Send private message  
 
PostPosted: Fri Jan 13, 2012 1:49 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 801
Thanks for the feedback, everyone! I plan to wind down the infrastructure over the weekend; I'll bring the servers back up once the IFDB bits are in place.

tomasb wrote:
From central Europe the typical timings of each HTTP request is as follows (please note that typical game turn consists of 4 requests so you must multiply by 4 to get an actual response time)


Great data point, thanks! I wasn't aware of the 4x multiplier. That certainly explains why it's so sensitive to latency.

Europe would really benefit from a more centrally located server. I have this running through Amazon's AWS infrastructure and unfortunately their only EU endpoint is in Ireland.

George wrote:
Averaging about two seconds, so decent. It felt a lot better than when Nikos had his test server in Greece.


That experience was the motivation for this project. Given the latency factor it's better to have a lot of local servers rather than one or two central ones. But it's also important to have a single URL that authors can use to publish their content. tads.io is meant to address both concerns.

It's distinct from IFDB because not everyone will want the game's IFDB page to be the jumping off point for new players. The tads.io game servers will be linked into the IFDB network, and players that come via IFDB will be able to take advantage of the session-sharing and file storage features, but it's entirely optional.

Jim Aikin wrote:
Reasonably responsive with my default server, which I guess is na-west. Output arrives in 1 second or so.


1 second is more or less my standard for acceptable performance. Ideally it would be under 250 ms but that's a hard target to hit without more edge servers.

I get near-local speeds from Seattle to the data center in Oregon, around 250 miles away (400 km). A rough guideline is that you see about 1s of UI lag for every 1000 miles between you and the server. (Like any good rule of thumb, this ignores virtually every technical factor involved.)

Emerald wrote:
Can't speak for Australia as a whole, but here in WA ap-west is definitely more responsive than ap-east. ap-west has about a second of lag, ap-east more like 2 seconds.


Thanks! My guess is that EA would split the difference, so I'll probably go with Singapore until AWS adds an Australian data center.

Laroquod wrote:
NA-East was fastest for me. Unexpectedly, EU-West was nearly as fast (hard to tell the difference) whereas NA-West was a bit noticeably laggy.


That is really surprising and interesting. I wonder how far west into Canada that holds true? Given equal latency, it would be better to divert the traffic to EU-West for load-balancing reasons.


Top
 Profile Send private message  
 
PostPosted: Fri Jan 13, 2012 6:46 pm 
Offline
User avatar

Joined: Mon Oct 04, 2010 11:35 am
Posts: 855
Location: Toronto
bcressey wrote:
Laroquod wrote:
NA-East was fastest for me. Unexpectedly, EU-West was nearly as fast (hard to tell the difference) whereas NA-West was a bit noticeably laggy.

That is really surprising and interesting. I wonder how far west into Canada that holds true? Given equal latency, it would be better to divert the traffic to EU-West for load-balancing reasons.

Since it's that surprising I redid the first three just to be sure. This time, EU-West and NA-West felt about equivalent -- about a 1 second delay in either case. NA-East was the clear winner this time around -- the lag felt more like a half-second. NA-East is probably the only one I would not find too frustrating.


Top
 Profile Send private message  
 
PostPosted: Fri Jan 13, 2012 6:50 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 801
Great, thanks! That's good to know.


Top
 Profile Send private message  
 
PostPosted: Thu Feb 16, 2012 7:34 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 801
After spending a few days tuning performance, I'm much more comfortable with the server speed now. Average response times from my nearest server have gone from 250ms to 25ms; even with the 4x multiplier it still feels quite fast.

Please give Return to Ditch Day another try.

If you were secretly dismayed by the performance before, you should find it to be far more responsive now.


Top
 Profile Send private message  
 
PostPosted: Thu Feb 16, 2012 7:50 pm 
Offline
User avatar

Joined: Fri Jan 27, 2012 2:34 pm
Posts: 271
Location: Boston
From Boston, I get responses after a long second. (Maybe over 1; definitely less than two.)

However, I should say --

I'm able to run this game in Chrome, but not in explorer. Explorer gives me no cursor, nor does clicking start the game have any effect.

Conrad.

_________________
http://tiltedcandle.wordpress.com


Top
 Profile Send private message  
 
PostPosted: Thu Feb 16, 2012 8:04 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 801
I checked and noticed the same thing at first, though it seems to have gotten itself unstuck now.

A full second between turns is definitely on the long side. Can you try again and see if the results are any better?


Top
 Profile Send private message  
 
PostPosted: Thu Feb 16, 2012 8:18 pm 
Offline

Joined: Sat Dec 22, 2007 11:52 pm
Posts: 970
bcressey wrote:
Please give Return to Ditch Day another try.


Nice work Ben, this is much better than before. For standard commands it's indistinguishable from desktop play, feels great.


Top
 Profile Send private message  
 
PostPosted: Thu Feb 16, 2012 8:35 pm 
Offline
User avatar

Joined: Fri Jan 27, 2012 2:34 pm
Posts: 271
Location: Boston
bcressey wrote:
I checked and noticed the same thing at first, though it seems to have gotten itself unstuck now.

A full second between turns is definitely on the long side. Can you try again and see if the results are any better?


I get a full second turn-around; generally less than two (although the first move *did* take 2-3).

Doesn't feel like a terrible outcome to me. I feel it plays smooth enough.

Still not getting anything with Explorer, though.


Conrad.

_________________
http://tiltedcandle.wordpress.com


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group