| 1 | Network traffic
|
|---|
| 2 | |
|
|---|
| 3 | This interface is optimized for slow network connection and low network
|
|---|
| 4 | traffic. It is not advisable to reload the pages manually because you
|
|---|
| 5 | would just reload the JavaScript. The traffic should be <B>less than
|
|---|
| 6 | 1kB/s</B> and hence suitable also for mobile connections. The layout is
|
|---|
| 7 | optimized for small windows and mobile phones.
|
|---|
| 8 |
|
|---|
| 9 | The data displayed is refreshed once every three seconds, <I>i.e.</I>
|
|---|
| 10 | the file is reloaded from the server. The graphics display is refreshed
|
|---|
| 11 | once every five seconds. A new refresh is only started if the old one
|
|---|
| 12 | has been finished, either successfully for with an error or timeout,
|
|---|
| 13 | <I>i.e.</I> that slow or faulty network connection can significanly
|
|---|
| 14 | increase the refresh time. Whenever a refresh was performed, the color
|
|---|
| 15 | of the dots around the title is changed (one for the data and one for
|
|---|
| 16 | the graphics) to indicate that the JavaScript is still running and
|
|---|
| 17 | requesting data from the server. Also the time stamp at the footer is
|
|---|
| 18 | updated. The time-stamp of the retrieved data is displayed at the top.
|
|---|
| 19 | If no updated could be performed within sixty seconds or the data is
|
|---|
| 20 | older than sixty seconds the time stamp is displayed in red. If the
|
|---|
| 21 | time-stamp of the graphics is older than sixty seconds the graphics is
|
|---|
| 22 | grayed.
|
|---|
| 23 |
|
|---|
| 24 | In case of errors or broken connections, the time interval for
|
|---|
| 25 | retrieval is increased to ten seconds, and decreased again if valid
|
|---|
| 26 | data was received.
|
|---|
| 27 |
|
|---|
| 28 | The timer is not newly started if a new page is loaded, hence, it might
|
|---|
| 29 | take a few seconds before the values will be displayed.
|
|---|
| 30 |
|
|---|
| 31 | The typical size of a camera display is about 350 bytes, the typical
|
|---|
| 32 | size of the ascii data is about 100 bytes. Adding the HTML header
|
|---|
| 33 | which is in the order of 200 bytes, this yields an average transmission
|
|---|
| 34 | rate of aprroximately 200 bytes per second. This is less than one
|
|---|
| 35 | mega-byte in one hour, plus the data loaded for each page switch.
|
|---|
| 36 | |
|
|---|