The benefits of streaming analytics on edge devices and microcontrollers