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 Discussion » When is my command executed?

warning: I'll explain how serverjumps, commands and the client refresh rate work, but it's complicated and I cannot tell you yet how to take advantage of this knowledge (when rounding a mark for example)

Most of you know about server jumps. For rounding a mark, it's important to turn as early as possible, but absolutely not too early. This is made difficult by the server jumps, and client refresh rate, you rarely see your boat where it actually is. What you see is running a couple of seconds behind, in rare cases it could reach up to about 45 seconds.

So what is exactly happening. It's more than just the server jumps and the client update rate, but let's start with them anyway:

The server continuously checks all boats. For every boat that has not been moved by the server for at least 10 seconds, the server updates its position. This means, your boat will move every 10-12 seconds (when it's busy, it may take 2 seconds before the server notices it hasn't moved your boat yet).

When you haven't issued a command in the last 15 minutes or so, the server may skip you once or twice, and then do one big jump to catch up. This unloads the server a bit from boats that aren't actively steered.

useful tip: send a command 5-10 minutes before rounding a mark (setting a delayed command for 5-10 minutes before the mark also works). It'll make sure the server jumps for your boat are short when you reach the mark.

For the rest of this post, let's assume server jumps of 11 seconds: your boat is moved by the server every 11 seconds. I'm also assuming you have a fast internet connection.

The client polls the server every 15 seconds (roughly). Let's see what can happen with an example:
12:00:00 (jump) server moves your boat
12:00:00 (poll) client polls boat position, you see your boat at its current position (barely any delay!)
12:00:11 (jump)
12:00:15 (poll) your boat moves from its 12:00:00 position to its 12:00:11 position (running 4 second behind)
12:00:22 (jump)
12:00:30 (poll) your boat moves from its 12:00:11 position (19 seconds behind) to its 12:00:22 position (8 seconds behind).
12:00:33 (jump)
12:00:44 (jump)
12:00:45 (poll) your boat moves from its 12:00:22 position (23 seconds behind) to its 12:00:44 position (1 second behind). Note: the 12:00:33 position is not shown, it looks like you made one large jump.

A better understanding of how this works may not easily transfer into being able to steer your boat better. One useful tip is: when you see your boat make a large jump, you know two server jumps happened in the last 15 seconds, meaning the last jump happened less then 4 seconds ago. If you see a short jump, you know only 1 server jump happened in the last 15 seconds, meaning the last jump happened between 4 and 11 seconds ago.

Commands are executed independently from serverjumps. What does this mean? You might have seen your command execute at the start of a new server jump, or at the end. Both can happen. A command will never execute in the middle of a serverjump. All commands due to be executed (of every boat, in every race) are executed in one go, with 4 or 5 seconds between each go. So your command will generally be executed within 5 seconds after the time you set the command for. BUT your boat may still be at a position from 11 seconds ago. This means, your command will have an effect 11 seconds earlier than it was set to execute.

So now there are three things with an interval: the client polls ever 15 seconds, the server moves boats every 11 seconds and turns boats every 4 or 5 seconds. This is complicated, I can't tell you yet how to take advantage of this knowledge.
Up to now I've done one of two things for markroundings:
- wait until the client shows me clear to round, then send the command.
- when I expect a double jump to happen until the next client refresh, and I only need one more jump, I count, to 10. But 11 is probably safer.

Now I've researched how commands work, I might come up with a method that results in better roundings, without the risk of missing the mark. That will be something I'll post on solfans
One advantage I take of your very informative explanation is: Don’t tack (gybe) too short for rounding a waypoint/buoy. To set a tack command in advance may have the effect to round too early. Seems to be better to wait for the visible pass by of the waypoint – then tack or gybe or set new course.
(Apologies for bad english).
This is why roundings are missed even though DC Checker shows the mark as clear. DC Checker assumes that the DC is going to fire exactly at that time with no uncertainty. That is not the case in reality.

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Pantaenius Shetland Race 2022 - Leg 2
As always, we don't spend much time in Lerwick, Shetland and after some brief but excellent celebrations we are rapidly heading back to Bergen, Norway, for the second leg of the Pantaenius Shetland Race 2022. The North Sea always provides with some exciting racing and we are sure that this race will be no different!
Race #1581
INFO from brainaid.de
First 40.7 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING: SYC - SHE
Race starts: Jun 26th 09:00 Registration Open!

▶ Flash
GO TO RACE

Isla St George Sprint 2022
The Bass Islands, in western Lake Erie, are a mere couple of miles west of the southernmost boundary of Canada. In this 21nm PYOC sprint, we will set off from East Harbor in our RC 44s and leave North Bass Island (historically Isle St. George) to port before quickly returning to East Harbor.
Race #1584
INFOby brainaid.de
RC 44 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SPRQ2 - SPRCH - SUPSOL - SYC
Race starts: Jun 25th 18:00 Registration Open!

▶ Flash
GO TO RACE

Pantaenius Shetland Race 2022 - Leg 1
Welcome back to outer Korsfjorden, Norway, for the first leg of two in
Pantaenius Shetland Race 2022 from Norway to Shetland. Sailonline is extremely excited to be buddying-up for this amazing series which is a classic that Sailonline has had the honour of presenting to its community for some years now. We will be competing in our ever so exciting First 40.7’s which will in no doubt cater for some exciting racing. We look forward to seeing you at the start line!
Race #1580
INFO from brainaid.de
First 40.7 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING: SYC - SHE
Race starts: Jun 22nd 08:00 Registration Closed

▶ Flash
GO TO RACE

Newport Bermuda Race 2022


The 635-mile biennial Newport Bermuda Race is one of the oldest regularly scheduled ocean races, and with the Fastnet Race and the Sydney to Hobart Race, it is one of the three great classic races of the yachting world. Founded in 1906, this the 52nd running of the Bermuda Race can also be participated in online.
Entries are invited for one of the four divisions:
Double-Handed Division:
Jeanneau Sun Fast 3300
St. David's Lighthouse Division:
First 44.7 Asymmetric
Gibbs Hill Lighthouse Division:
Reichel Pugh 64
Finisterre Division:
Delphia 47
Details for each yacht are available in the ‘Particulars’ links below and be sure to register your online choice on the Bermuda Race Online link – there are some fine prizes to be won.
As in real life, you can only sail one boat in one division, so choose your virtual yacht carefully, and because of the unusual (for SOL) 4-division nature of the event, please note results will not count towards ANY Sailonline Rankings.
Race #1568
INFOby brainaid.de
Sun Fast 3300 PARTICULARS
First 44.7 A PARTICULARS
RP 64 PARTICULARS
Delphia 47 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: None
Sponsors:

RACE CLOSE: Saturday,
July 2 at 2300 UTC.
Race starts: Jun 17th 17:00 Registration Closed
▶ Flash
GO TO RACE

Geraldton to Cape Town 2022
A race in the Southern Indian Ocean is always entertaining, especially in a Riptide 50. Traditionally the course would be West to East, to take advantage of the prevailing winds, but this time the SRC is challenging us to an E-W course, from Geraldton in Western Australia to Cape Town in South Africa. A brief 4800nm!
PRIZE: SMPF
Race #1575
INFO by brainaid.de
Riptide 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ2 - OCCH - SUPSOL - SYC
Race starts: Jun 12th 05:00 Registration Closed

▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member rafa
  3. Sailonline Yacht Club Member Pit8008
  4. Sailonline Yacht Club Member GREATSKUA
  5. Sailonline Yacht Club Member Vida_Maldita
  6. Sailonline Yacht Club Member FreyjaUSA
  7. Sailonline Yacht Club Member Sax747
  8. Sailonline Yacht Club Member Satori
  9. Sailonline Yacht Club Member HappyHour
  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