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:

Tall Ships Races 2025 - Le Havre to Dunkirk


Welcome to the first of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . The course for this first race is between the French ports of Le Havre and Dunkirk; circa 125nm in Sailonline’s magnificent 90m Barque.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1923
INFO by brainaid.de
Barque 90m PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TS - SYC
Race starts: Jul 07th 16:00 Registration Open!
▶ Flash
GO TO RACE

Red Eye - Key Lime Pie-gatta 2025

Opposite the Bahamas at the tip of the Florida peninsula, we find the Florida Keys, a honky-tonk arpeggio of islands, where another SOL classic, the Key Lime Pie-gatta, so-called after the famous local condensed-milk-based tart speciality, awaits to be navigated once again. We’ll race its “Red Eye” 180nm in very-American Santa Cruz 52s, ignoring such artefacts as bridges, causeways and piers joining the keys one to the other and to the mainland!
Race #1846
INFOby brainaid.de
Santa Cruz 52 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC - RED
Race starts: Jul 02nd 12:00 Registration Open!
▶ Flash
GO TO RACE

Sail Around Turkey 2025


Welcome to the 11th running of one of Sailonline's most iconic races, where our fleet races the length of the Turkish coastline from Hopa (the easternmost harbour on Turkey’s Black Sea coast) to Iskenderun (the easternmost harbour on Turkey’s Mediterranean coast). It’s a 1,372nm race and aboard our classic, 1st decade of the 21st Century, version 2 IMOCA 60, you should be able to get around the course in less than a week. That is if, of course, once you get out of the Black Sea you don’t stop to enjoy the sights or a BBQ or two in the Golden Horn, or on the Marble Islands, now land-locked Troy or Gallipoli or any of the myriad Aegean islands, that you shall have to carefully navigate past.
Race #1930
INFOfrom brainaid.de
IMOCA 60 v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Jun 27th 15:00 Registration Open!
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member CriticalHippo
  2. Sailonline Yacht Club Member KaSToR
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member FreyjaUSA
  5. Sailonline Yacht Club Member rafa
  6. Sailonline Yacht Club Member Kipper1258
  7. Sailonline Yacht Club Member rumskib
  8. Sailonline Yacht Club Member BRENTGRAY
  9. Sailonline Yacht Club Member Patrick70119
  10. Sailonline Yacht Club Member CollegeFund

View full list

Series

Mobile Client

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

The mobile client