[{"data":1,"prerenderedAt":29},["ShallowReactive",2],{"page:portfolio-slug:en:spotfinder-data":3},{"componentName":4,"header":5,"contentShort":6,"contentShortHTML":7,"contentHTML":8,"publishDate":9,"dateChanged":9,"order":10,"noIndex":11,"postTopCategory":12,"postTexts":14,"files":25,"documents":26,"children":27,"uuid":28},"case-windtravel-daten","Aktuelle Daten, schnelle Antworten","Was oft gefragt wird, liegt im Arbeitsspeicher; was veraltet, wird im Hintergrund erneuert.","\u003Cp>Was oft gefragt wird, liegt im Arbeitsspeicher; was veraltet, wird im Hintergrund erneuert.\u003C\u002Fp>","\u003Ch4>Einmal laden, im Speicher halten\u003C\u002Fh4>\u003Cp>Eine Suche vergleicht über hundert Spots auf einmal. Damit das in Millisekunden geht, liegen die Spotliste und die fertig berechnete Statistik im Arbeitsspeicher des Servers. Geladen werden sie beim Start aus der Datenbank – und die Spotliste neu, sobald jemand einen Spot speichert. Nur die Beschreibung eines Spots wird bei jedem Aufruf frisch aus der Datenbank gelesen, damit eine Änderung sofort gilt.\u003C\u002Fp>\u003Ch4>Liefern und im Hintergrund erneuern\u003C\u002Fh4>\u003Cp>Messwerte und Vorhersagen werden nicht bei jeder Frage abgerufen. Jede Anfrage bekommt sofort die Kopie aus dem Speicher; ist sie zu alt, holt der Server im Hintergrund die neue, und die nächste Anfrage hat sie. Messstationen werden alle fünf bis zehn Minuten gelesen, Vorhersagen spätestens nach einer halben Stunde. Fällt eine Quelle aus, bleibt der letzte gültige Stand stehen und wird als solcher gekennzeichnet.\u003C\u002Fp>\u003Ch4>Hintergrund-Jobs\u003C\u002Fh4>\u003Cp>Was aufwendig ist, erledigen Jobs: Neue Läufe des Modells ICON-D2 und der Wellenvorhersage werden eingelesen, sobald sie erscheinen; die Fünf-Jahres-Statistik wird neu berechnet, wenn sie einen Monat alt ist, ein Jahr abgeschlossen ist oder ein Spot verschoben wurde – und als Ergebnis gespeichert, sodass ein Neustart nichts neu abrufen muss.\u003C\u002Fp>\u003Ch4>Der Bedarf steuert die Last\u003C\u002Fh4>\u003Cp>Ein Spot, nach dem jemand fragt, wird öfter erneuert als einer, den nur die Übersichtskarte zeigt. Vorhersagen werden komprimiert übertragen und nur, wenn sie sich geändert haben; von großen Modelldateien wird nur gelesen, was die Spots brauchen. Die Grenzen der Datenanbieter werden eingehalten.\u003C\u002Fp>\u003Ch4>Ein neuer Spot\u003C\u002Fh4>\u003Cp>Ein neu angelegter Spot steht sofort in der Liste und auf der Karte, seine Beschreibung wird beim Speichern automatisch in die Wissensbasis aufgenommen, und seine Statistik ist spätestens nach einer Stunde berechnet. Bis dahin nennt der Spotfinder ihn nicht als Empfehlung, sondern zählt ihn als „noch ohne Statistik“.\u003C\u002Fp>","2026-10-27T10:40:00Z",30,false,{"name":13},"portfolio",[15],{"locale":16,"header":17,"contentShort":18,"contentShortHTML":19,"contentHTML":20,"slug":21,"metaTitle":22,"metaDescription":23,"focusKeyword":24},"en","Current data, fast answers","What is asked often is held in memory; what grows stale is renewed in the background.","\u003Cp>What is asked often is held in memory; what grows stale is renewed in the background.\u003C\u002Fp>","\u003Ch4>Load once, keep in memory\u003C\u002Fh4>\u003Cp>A search compares more than a hundred spots at once. To do that in milliseconds, the spot list and the precomputed statistics are held in the server’s memory. They are loaded from the database at start-up – and the spot list again as soon as someone saves a spot. Only a spot’s description is read fresh from the database on every call, so a change applies at once.\u003C\u002Fp>\u003Ch4>Serve, then renew in the background\u003C\u002Fh4>\u003Cp>Measurements and forecasts are not fetched for every question. Every request gets the copy in memory at once; if it is too old, the server fetches the new one in the background and the next request has it. Measuring stations are read every five to ten minutes, forecasts after half an hour at the latest. If a source fails, the last valid state stays and is marked as such.\u003C\u002Fp>\u003Ch4>Background jobs\u003C\u002Fh4>\u003Cp>What takes effort is done by jobs: new runs of the ICON-D2 model and of the wave forecast are read as soon as they appear; the five-year statistics are recomputed when they are a month old, a year has closed or a spot was moved – and stored as a result, so a restart has nothing to fetch again.\u003C\u002Fp>\u003Ch4>Demand drives the load\u003C\u002Fh4>\u003Cp>A spot someone asks about is renewed more often than one only the overview map shows. Forecasts are transferred compressed and only when they changed; of large model files only what the spots need is read. The data providers’ limits are respected.\u003C\u002Fp>\u003Ch4>A new spot\u003C\u002Fh4>\u003Cp>A newly created spot is in the list and on the map at once, its description goes into the knowledge base automatically when it is saved, and its statistics are computed within an hour. Until then the Spotfinder does not recommend it but counts it as “not yet with statistics”.\u003C\u002Fp>","spotfinder-data","Spotfinder: current wind data held in memory","How the Spotfinder stays current and fast: spot data in memory, measurements and forecasts renewed in the background, jobs for the statistics.","wind data",[],[],[],"01a17cf2-7d48-77ee-8429-e2f8cc6f431c",1793100752656]