Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » Technical Support » Keeping the client in synch

This is quite urgent with the upcoming Sprint Cup races.

I'm also not sure if you guys have the ability to change the client on short notice...

Anyway, boat position on the server is updated every 10s. The client queries boat.xml every 15.2s. This leaves us in the dark on the real position of our boats, critical for sharp roundings like Orno 1.

My suggestion is to add a "time to next update" field to the boat.xml, and change the client query timing accordingly.
You can have two clients open at the same time, if you time it right, they'll poll the server every 7 or 8 seconds so you'll never skip a jump.

I don't know the server or client code, but from what I've heard it's probably harder than it seems to sync them. It's almost always harder than it seems with software development ;)
How often the server updates the boats depends on the server load, so when the position is updated it is not known when the next update happens.

With the new server the load has been fortunately mostly low, so the updates happen mostly every 10 seconds but there is no guarantee on that.

I don't think this issue is really worth of updating the client. When we are starting to sync requests by the second also the possible network lag should be taken into account so doing this "properly" would not really be that easy.

The current client is same for all and it is something everyone is familiar by now. However, this can be taken into account when planning client updates or new clients in the future. Especially ability to also tell the client to update less frequently during bigger server load could be useful.
A dedicated racer can work around the issue, casual and new users are a different matter. For example I could imagine a NNYC member signing up for Lake Winnebago and being frustrated by the client.

While exact position doesn't matter in open water SOL has entirely too many coastal and round the buoys races to call it irrelevant.

Regarding prediction, last interval + 2s should be reliable enough, unless load spikes are really extreme. You would also get some savings from less active boats (30s update interval).

Lastly you should consider incentives, having players run two clients seems undesirable etc. (And reloading to force the new wx, on what is probably the maximum load period to begin with...)
If anyone volunteers to change the client code, we might consider how to handle this issue.
bump.

I unfortunately have zero experience with flash, that said I could give it a spin if no one else will.
This is relevant, if not imminent, issue.
My understanding is that "next" client version is not likely to be in flash environment, but maybe HTML5 or something else - not my field really:)

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Red Eye - Melville Island PYOC 2026

Melville Island is the largest of the Tivi group opposite the port of Darwin in the Timor Sea. Tropically forested and thinly populated, not a lot goes on there, but let’s race around it anyway, lar- or starboard round, it’s a little more than 120nm, so, no matter where you are navigating from on the planet, you will be hard-pressed to complete the course aboard your J-80 in daylight hours!
Race #2003
INFOby brainaid.de
J-80 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: RED - SYC
Race starts: Mar 24th 12:00 Registration Open!
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Guam to Ouvéa


The third race of our series of ocean voyages across the World’s convergence zones takes us southeastward now down the Pacific, from Guam’s Apra Harbour at 13.5 degrees North, back across the Equator to the glorious New Caledonian resort island of Ouvéa, on the edge of the Tropic of Capricorn at 20.5 degrees South. It’s 2400nm, and there’s more than a few other islands in the way, so mind where you go in your Ocean 50s. Race #1981
INFOby brainaid.de
Ocean 50PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Mar 20th 18:00 Registration Open!
▶ Flash
GO TO RACE

Lake Victoria TIMED Race 2026

This month’s TIMED race takes us inland to Lake Victoria in the heart of Africa. Starting at Rosebery Channel in Uganda sail the AC72v2 on a 196nm course around Bugala Island on the way to the finish line in Tanzania’s Speke Gulf. This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have 13 days and 11 hours to test your skill and decision making after the race opens.
Race #2018
INFOby brainaid.de
AC72v2 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ1 - TRCH - SYC
RACE CLOSE: Saturday,
28 March at 23:00 UTC
Race starts: Mar 15th 12:00 Registration Open!
▶ Flash
GO TO RACE

Iceland to the Falklands 2026

Welcome to an all-new route, the first of three Round the 'Old World' of Europe, Africa, Australia and Asia. To give each leg of the ROW a bit of length we'll try to hug the coasts as little as possible, so starting in Iceland our first leg of the series, which will also be the final leg of our Quarter 1 Ocean Championships takes us 7200nm to the Falklands, the full length of the Atlantic end to end. To make sure we'll get it done within the month we'll be sailing our Maxi Trimaran.
Race #2010
INFO by brainaid.de
Maxi Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ1 - ROW - OCCH - SYC
RACE CLOSE: Tuesday,
March 24 at 2300 UTC.
Race starts: Mar 02nd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member rafa
  4. Sailonline Yacht Club Member rumskib
  5. Sailonline Yacht Club Member Sax747
  6. Sailonline Yacht Club Member CriticalHippo
  7. Sailonline Yacht Club Member vida
  8. Sailonline Yacht Club Member CollegeFund
  9. Sailonline Yacht Club Member Panpyc
  10. Sailonline Yacht Club Member sassy63

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client