Last post in the Ollama production series: test your FastAPI wrapper without a model, run the tests in CI, add health checks, watch the right status codes, and rotate keys and upgrade without downtime.
Follow-up to the Ollama security post: cap simultaneous requests, share one rate limit across workers with Redis, survive a Redis outage, and encrypt the hop between your load balancer and workers. Tested with a local Redis and Nginx.
Part three of the Ollama production series: keep Ollama private, add API key authentication and TLS, cap what clients can send, and stop leaking errors. Tested FastAPI code included.
Notes from benchmarking ML.NET against scikit-learn, XGBoost and LightGBM on open clinical datasets: three setup problems that will save you some debugging.
This follow-up post builds on the previous article about creating a FastAPI wrapper for Ollama models. It explores what’s needed to move from a dev-friendly API to a more production-grade service, including API authentication, rate limiting, request validation, load balancing, and monitoring. FastAPI performance a concern? Read on to find out more!