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:

Kamchatsky to Tromsoe 2024

Just before the light failed entirely in Antarctica, Skip Novak managed to get his Pelagic 77 out of the ice and north up the Pacific to Kamchatsky. The sun is shining (24/7) and not a penguin to be seen, and Skip believes the Norh East Passage is ice-free (sufficiently) to attempt it, so all aboard for a c 4250nm voyage from east to west across the top of Siberia, Russia and Norway to Tromsoe!
Race #1779
INFOby brainaid.de
Pelagic 77 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: HLAT - SYC
Race starts: Jul 18th 19:00 Registration Open!
▶ Flash
GO TO RACE

Cowes to St Malo TIMED Race 2024

Organized by the Royal Ocean Racing Club since 1929, the Cowes to St Malo Race is a true RORC Classic. Starting from the Royal Yacht Squadron Line, Cowes, IOW, a magnificent spectacle can be watched from The Parade, Cowes. The Cowes to St Malo Race is part of the RORC Season’s Points Championship, the world’s largest offshore racing series. Dating back to 1906, the Cowes to St Malo Race precedes all of the world’s famous races including the Fastnet Race. This is a TIMEDrace, so you may RE-REGISTER HERE to try again, after finishing a run. You will have 13 days and 11 hours to show your skill and decision making after the race opens.
Race #1828
INFOby brainaid.de
TP-52 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
27 July at 23:00 UTC
Race starts: Jul 14th 12:00 Registration Open!

▶ Flash
GO TO RACE

Lake Ontario 300 Challenge 2024

Lake Ontario Offshore Racing (LOOR) welcomes Sailonline to a second race of their annual series, this time as hosts of the virtual LO300. As the name implies, the LO300 is a 300nm offshore race across the length and breadth of Lake Ontario, from and back to Port Credit YC. Once again, as is our wont on Lake Ontario, a fleet of Beneteau First 36.7s is being made available to virtual racers. There is an overall prize for the SOLer who best bosses Lake Ontario over the two races hosted on SOL, this 300 and the Susan Hood raced back in May; so let the competition be fierce!
Race #1805
INFOby brainaid.de
First 36.7 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: LOOR - SYC
Race starts: Jul 13th 15:10 Registration Open!

▶ Flash
GO TO RACE

SSANZ Triple Series 2024 - Race 1


Welcome once again to our online buddied Short-handed Sailing Association of New Zealand brilliant long-standing SSANZ Triple Series for two-handed yachts on the waters of the Hauraki Gulf, sponsored this year by Lewmar Marine. Commencing with a c 46nm quick dash out to Motuora Island via The Haystack and home, we will as always compete in virtual Young88s, against the real-life fleet of the members of the ever-Young 88 Association!!
Race #1823
INFO by brainaid.de
Young 88 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SSANZ - SYC
Race starts: Jul 12th 21:15 Registration Closed
▶ Flash
GO TO RACE

Tall Ships Races 2024 - Tallinn to Turku


Welcome to the second of three virtual Tall Ships Races on the Baltic Sea which are concurrently being organized in-real-life Sail Training International . This second race is from Tallinn, Estonia to Turku, Finland; circa 150nm in Sailonline’s stately Full Rigger.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes.
Race #1812
INFO by brainaid.de
Full Rigger PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TS - SYC
RACE CLOSE: Friday,
July 19 at 2300 UTC.
Race starts: Jul 11th 14:00 Registration Closed
▶ Flash
GO TO RACE

Southampton to Punta del Este 2024

Sailonline is delighted to offer our sailors a 'reversed' Atlantic ocean race. As the RTW championship Atlantic part takes a detour to the Bahamas, we will offer you a reversed course as we will not do the 'usual' leg this year either. It is the July edition of this year's Ocean Championship. Our boat is the OD_65v3.
PRIZE: SMPF
Race# 1820
INFO from brainaid.de
OD65 PARTICULARS
WX updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - OCCH - SUPSOL - SYC
Race starts: Jul 01st 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member FreyjaUSA
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member Vida_Maldita
  5. Sailonline Yacht Club Member rafa
  6. Sailonline Yacht Club Member TarassBoulba
  7. Sailonline Yacht Club Member Flamingo
  8. Sailonline Yacht Club Member CollegeFund
  9. Sailonline Yacht Club Member Sax747
  10. Sailonline Yacht Club Member bonknhoot

View full list

Series

Mobile Client

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

The mobile client