devicehive / IoT-framework

* DEPRECATED * DeviceHive GO Framework for IoT and M2M
http://devicehive.com
MIT License
40 stars 17 forks source link

Move throttling code from cloud-ble example to devicehive-cloud #1

Closed astaff closed 9 years ago

astaff commented 9 years ago

For Build2015 while testing on relatively slow connection with relatively high rate data, 20 notifications/second with SensorTag and in airplane wifi we've realized that throttling/QoS needs to be implemented. I've put together a quick priority queue where you can assign a priority to a notification and notifications will be weighted as priority * unixtime. This doesn't belong to cloud-ble example and should be moved to devicehive-cloud itself, where priority can be submitted with SendNotification call as a parameter.

mibori commented 9 years ago

Completed.

https://github.com/devicehive/IoT-framework/tree/master/devicehive-cloud/devicehive-test-priority