Best Practices for Real-Time Machine Automation Performance in IoT & Industry 4.0