Lesson 1 of 8 · 2 min
Choose your stack
| Need | Start with | Move to when it hurts |
|---|---|---|
| Backend | FastAPI | Add a task queue (RQ or Celery) for slow jobs |
| Database | SQLite | Postgres, with pgvector for embeddings |
| Cache and limits | Memory in one process | Redis, once you run two copies |
| Models | Ollama on your machine | A hosted provider behind your own interface |
| Dashboard | Streamlit | Grafana on Prometheus metrics |
| Deployment | One Docker container | A platform with a GPU only if the model needs it |
