Vadict interview question

How would you design a solution for decreasing latency in realtime sensor reading for predictive analytics.