source: branches/FACT++_lidctrl_usb/www/smartfact/struct/help-traffic.page@ 20115

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