The RECAP project aims to develop an architecture for reliable capacity provisioning and enhanced remediation for distributed cloud/edge/fog applications. The architecture includes a feedback loop consisting of a collector, application modeler, workload modeler, optimizer, and simulator. The collector gathers metrics across the infrastructure. The modelers develop models of application behavior and workloads. The optimizer performs optimization tasks like application placement based on these models. The simulator assists the optimizer by simulating different deployments. The project will apply this architecture to use cases from partners in telecommunications, analytics, IoT, and infrastructure management.