Lag Survival Guide

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Fri Jan 11, 2008 2:59 pm

2137-2.30: You get attacked by a mountain goat, and you lose 0 percent strength. You saved 26 percent using your chitin shield.

= 8:55pm (20:55pm)
Hamsters is nice. ~Kaylee, Firefly
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Lag Survival Guide

Postby Doug R. » Tue Jan 22, 2008 9:50 pm

Doug R. wrote:All,

I've decided to post this in hopes that it will help all the players cope better with the lag. This list is not complete, but is a starting point based on my personal observations of the lag and firsthand knowledge of when certain processes are running.

I define lag here as a character page refresh lasting 5 seconds or longer.

The below times (EST) are times you may want to avoid, with an explanation given. Eventually, I'd like to get lag ratings associated with these times (periods given may be shorter during periods of low player activity):

6:40-7:45am (Boat Travel, Land Travel, Project Incrementation)
8am (Unknown cause, but a time of consistent lag)
9:40-10:45 am (Boat Travel, Land Travel, Project Incrementation)
12:40-1:45pm (Boat Travel, Land Travel, Project Incrementation)
2:00pm (Character Eating)
3:40-4:45pm (Boat Travel, Land Travel, Project Incrementation)
6:40-7:45pm (Boat Travel, Land Travel, Project Incrementation)
8pm (Unknown cause, but a time of consistent lag)
9:40-10:45pm (Boat Travel, Land Travel, Project Incrementation)
12:40-1:45am (Boat Travel, Land Travel, Project Incrementation)
3:40-4:45am (Boat Travel, Land Travel, Project Incrementation)


Animal attack processing:

2131-4.35: = 3:20am EST
2129-6.30: = 8:55am EST
2133-0.35: = 3:20 pm EST
2137-2.30: = 8:55pm EST

I can tell you right off that here is one lag problem: The 3:20/15:20 animal processing most likely overlap with ship movement, which begins at 3:40/15:40
Hamsters is nice. ~Kaylee, Firefly
User avatar
formerly known as hf
Posts: 4120
Joined: Wed Aug 04, 2004 2:58 pm
Location: UK

Postby formerly known as hf » Tue Jan 22, 2008 10:14 pm

Would it not be possible / helpful just to shut off the server to outside connections during those processes - most of them are only 5 or so minutes long.

?
Rossato
Posts: 519
Joined: Sun May 06, 2007 2:10 pm

Postby Rossato » Tue Jan 22, 2008 11:21 pm

I believe too that shutdown server access during some minutes to process tasks is a better idea. The game is almost unplayable during these tasks if there is above x player on. So, a very good idea, would be a page like:


----------------------------------------------------------------


Cantr Server is Working, please wait. We'll be back in:

10:23*

----------------------------------------------------------------

* Regressive counting clock, to inform how many time approximately it will last, and avoid repeatedly page refresh.
Não vai dar tempo!!
User avatar
sammigurl61190
Posts: 1537
Joined: Wed Oct 08, 2003 10:33 pm
Location: Aurora, ON, Canada
Contact:

Postby sammigurl61190 » Fri Jan 25, 2008 9:08 am

I remember what it was like to be a Cantr addict, a horrible one at that. From around September of '03 to April of '04 was Cantr for me, and that's it. Being without internet for a week while moving across the country broke me of the "must have my bi-hourly Cantr fix" phase, so I know what it's like.

However, I do believe the lag isn't as bad as some people make it out to be. Maybe it's just when I play, or I'm tolerant, or something--but I really don't think it's that horrible.

Just take a deep breath, and breathe.

IN,
OUT.
IN,
OUT.

There, you feel a little better now. :D
User avatar
mtm21
Posts: 474
Joined: Sat Feb 18, 2006 8:24 am
Location: Australia

Postby mtm21 » Fri Jan 25, 2008 9:38 am

sammigurl61190 wrote:I remember what it was like to be a Cantr addict, a horrible one at that. From around September of '03 to April of '04 was Cantr for me, and that's it. Being without internet for a week while moving across the country broke me of the "must have my bi-hourly Cantr fix" phase, so I know what it's like.

However, I do believe the lag isn't as bad as some people make it out to be. Maybe it's just when I play, or I'm tolerant, or something--but I really don't think it's that horrible.

Just take a deep breath, and breathe.

IN,
OUT.
IN,
OUT.

There, you feel a little better now. :D



Yeah...

IN, (Let's play cantr! Yay!)
OUT, (stupid cantr isn't available)
IN, (Let's go to IRC to tell off staff)
OUT, (Yay! Cantr is working again, nvm. Time to play for another 5 minutes or so.)
IN, (lets start that procedure again and start praying it works again. :wink: )


There, now I feel better now. :twisted: :D
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Fri Jan 25, 2008 1:38 pm

sammigurl61190 wrote:However, I do believe the lag isn't as bad as some people make it out to be. Maybe it's just when I play, or I'm tolerant, or something--but I really don't think it's that horrible.


I thought that way too, until recently. The lag comes and goes in odd spurts with no discernible pattern. It sucks when I take a one minute break from my two-year old to check my charries, and he's calling me back again before I can even get logged in :(

Generally it's not "bad," but when you need it to be fast, it'll always crawl (needy toddlers, the middle of battle, trying to prove to your spouse that you do indeed just play "casually," etc.) When I'm at work, in front of my desk, speed is irrelevant, so it doesn't bother me there.

Marol said in the programming forum that using radio repeater networks can lock up the objects and locations tables for up to 20 seconds at a time per repeater, so bursts of radio traffic could be responsible for the "odd spurts with no discernible pattern," especially if that's coupled with routine server processes.
Hamsters is nice. ~Kaylee, Firefly
User avatar
psymann
Posts: 270
Joined: Thu Oct 12, 2006 4:53 pm
Location: Yorkshire, UK

Postby psymann » Sun Jan 27, 2008 5:25 pm

Doug R. wrote:trying to prove to your spouse that you do indeed just play "casually,"


That's my biggest annoyance, yes!

"Yes, dear, I'm all ready to go, just need to give this cotton to the guy I'm trading with before we go out for the weekend, won't take a second..."

[five minutes pass, and all I've done is log in, and get to the inventory page...]

psymann
Retired from www.warofempires.com
(psymann, psydkik, psyborg, psyanide on chronicles of the ages v2-v6) and now seeking a peaceful life in Cantr.

Run out of Cantr minutes? Try www.battlemaster.org for more roleplaying fun.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Wed Jan 30, 2008 12:47 am

Here's the list of the most "popular" game background processes. This is not a complete list - there are much more game internal processes.

Image
(SRVPRC)
Image
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Wed Jan 30, 2008 12:59 am

Thanks Marol, this list is appreciated.
Hamsters is nice. ~Kaylee, Firefly
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Wed Jan 30, 2008 1:03 am

Though I'm concerned it doesn't match your observations. In next few days I'm going to make more accurate timing measurement to determine when processes exactly start, how long do they run and if they overlap.
(SRVPRC)

Image
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Wed Jan 30, 2008 1:17 am

They match my observations fairly closely. There are two additional processes I'll list here:

server.turn.finish @ 8:15/20:15 server time.
server.cleanup @ 8:20/20:20 server time.

These two processes can take a few minutes, but on one occasion turn finish lasted >1.5 hours, and cleanup locked the game (or the game locked when cleanup was running; there's no way to determine cause or effect). I have no idea what they are, though.

Also, disease processing runs tandem with one of the project processes, but I didn't notice any significant lag, and the disease process only lasted 2 minutes.
Hamsters is nice. ~Kaylee, Firefly
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Wed Jan 30, 2008 9:03 am

Doug R. wrote:They match my observations fairly closely. There are two additional processes I'll list here:

server.turn.finish @ 8:15/20:15 server time.
server.cleanup @ 8:20/20:20 server time.
server.turn.finish occurs every cantr turn and makes simple cleaning, but once a day it also performs daily internal processing, like departament reports, accounts idling out etc. server.cleanup makes what its name says - cleanup of some small things.

Server time is EST, but it's about 20 minutes early.
(SRVPRC)

Image
User avatar
Chris
Posts: 856
Joined: Sat May 05, 2007 1:03 pm

Postby Chris » Sat Feb 23, 2008 5:59 am

marol, I just noticed the dynamic image in your new signature, which tells how soon the next process is. That's great! Can you put that at the top of the Cantr home page? Or on every Cantr page would be even better.
User avatar
Miri
Posts: 1272
Joined: Wed May 16, 2007 3:32 pm

Postby Miri » Sat Feb 23, 2008 12:49 pm

Marol, there's something wrong with the table...
I'm at UTC+1, it's 13.30 and I've just got the projects uptade (in table sheduled for 14.25), and I had the sailing about 45-30min ago.

The sign in your signature is working perfectly, though :wink:

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest