You need to create an architecture for serving asynchronous predictions to detect potential failures in a mission-critical machine part. Your system collects data from various sensors on the machine. The goal is to build a model that can predict a failure occurring within the next N minutes based on the average sensor data over the past 12 hours. How should you go about designing this architecture?