
Exporting
- If the Web Server gets the command to connect an exporter it first opens a TCP connection to the Sports Event Server and creates a trigger for that exporter. Now the Sports Event Server will send all new incoming data to the Web Server on that connection that fits the criteria set up for that exporter.
- The Web Server then opens a connection to the exporter target and forwards the incoming trigger data to it. Depending on the connection type there is a more permanent connection (TCP), single HTTP Calls or very short-lived File-Handles. If an exporter connection breaks it is just reopened.
- Data that could not be sent is put back on the stack and retried later with exponential backoff. After ~24 hours the Web Server will stop retrying. If it is restarted (e.g. locally) retrying stops as well.