If you work in IT and particularly if you have knowledge of programming, you will know it’s best to be informed of data rather than repeatedly request changes.
Repeatedly requesting changes, called polling, wastes resources when there’s no data returned. It also doesn’t get the data as soon it is available as you have to wait for the next poll.
A feature of our BeaconServer™ and BeaconRTLS™ is that they offer change stream data on all database data. Change stream is a standard web (HTTP(S)) protocol that provides data to systems and apps as and when it becomes available. The client sets up a long running HTTP connection and then receives updates.
You can try this yourself in a normal web browser using our BeaconServer™ demo that is currently receiving data from a Minew beacon:
You should get something like:
First you get an ‘ok’ followed by data as and when it becomes available. The above only shows a generic iBeacon. When used with sensor beacons this also includes all decoded data such as movement, temperature, humidity, air pressure, light and magnetism (hall effect), proximity (short range IR and PIR) and fall detection.
BeaconServer™ and BeaconRTLS™ provide REST based insert, update, query and change stream on all data allowing external systems and apps to fully use the system. This can also be authenticated via HTTP header tokens to prevent unauthorised access.
An example of use of the change stream is BeaconRTLS™ itself. The web UI uses the change stream to asynchronously update the UI with no flicker or redraw. All data, including beacons, locations and alerts are obtained asynchronously from the server (image below not live at it needs login):