Implementing Real time Edge Intelligence in Industrial IoT