3. Another important component for CI/CD is the integration of tools like Airflow in order to schedule and monitor workflows. This helps us in deploying newly trained models.
a. ECS on AWS
b. Kubernetes
c. Docker Swarm
d. custom orchestration tool
2. If your ML model is a simpler with a small (enough) model size, then using Lambdas on AWS would also work. This can provide high throughput and low cost per request if your computation time isn't very high. i. Have the memory flush in the code after the service is used so that there is no memory leak.
ii. You can use tools such as htop to understand the memory usage.
iii. Regarding system performance, you can use prometheus to gather stats along with grafana dashboard to view them.
I consider CI/CD essential for achieving a seamless workflow for a data scientist, and after having faced the same problems ourselves, our team and I have been working on Datmo, a tool to help companies more easily and cost-effectively deploy + manage their models in production.