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 - Myth of Malham 2025

In 1947, Hugh McLean & Sons of Gourock, Scotland built a radical racing yacht for John Illingworth, soon-to-be Commodore of the RORC, to a design by Laurent Giles. With a masthead rig, giving her ‘free’ sail area per the rules of the time, and short overhangs reducing pitching, Myth of Malham went on to win The Fastnet that year and again in 1949, and to compete in numerous Admiral's Cups. In 1958, in honour of the yacht, the Myth of Malham race was conceived - a mini-Fastnet to the first lighthouse on a rock west of Cowes, Eddystone, rather than the second, to be held in non-Fastnet years. IRL this year it has been raced already, but this stops us not from “Red Eye” racing its online 230nm in Fareast 31Rs, leaving how to deal with the Isle of Wight open to your own discretion.
Race #1847
INFOby brainaid.de
Fareast 31R PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - RED
Race starts: Aug 25th 12:00 Registration Open!
▶ Flash
GO TO RACE

Africa by Sea 2025 - Maputo to Mogadishu


The fifth leg of our exploration of Africa By Sea takes us north along the length of the Continent’s succulent sub-tropical and tropical Indian Ocean coast. Much fought over by traders and colonists both well-before and after a Portuguese expedition under the command of Vasco da Gama first sailed there from Europe back in the 16th century, it is yet to be properly explored as a yachting destination. With plenty of islands off- and inshore, small and very large, there is much to interrupt your 1900nm voyage and visit in your Swan 65, from Maputo to Mogadishu! Race #1858
INFOby brainaid.de
Swan 65 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABS
Race starts: Aug 20th 17:00 Registration Open!
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member vida
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member KaSToR
  6. Sailonline Yacht Club Member Kipper1258
  7. Sailonline Yacht Club Member Sax747
  8. Sailonline Yacht Club Member BRENTGRAY
  9. Sailonline Yacht Club Member FreyjaUSA
  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