---
url: /developers/backend.md
---

# Backend

Open Library's backend is in a transition period. This page is a short overview of the core systems.

## Current Stack

* **API direction:** We are migrating API endpoints to [FastAPI](/projects/fastapi-migration.md).
* **How the local services fit together:** See [Local Development Architecture](/developers/backend/local-architecture.md) for a diagram of the Docker services and their connections.
* **Endpoint lookup during migration:** Use [Endpoints (Transition)](/developers/backend/endpoints.md) for current route/API pointers until FastAPI auto-docs are live.
* **Legacy framework:** Much of the current app still runs on [web.py](https://webpy.org/) via Infogami. See [Backend General Guide](/developers/backend/general.md) and [Understanding the Data Model](/developers/backend/understanding-the-data-model.md).
* **Caching:** We use **memcached** for performance and hot-path caching.
* **Database:** We use **PostgreSQL 18** (upgraded from 9.3 in [issue #5675](https://github.com/internetarchive/openlibrary/issues/5675)). New database code uses the async pool in `openlibrary/core/async_db.py`; see the [database guide](https://github.com/internetarchive/openlibrary/blob/master/docs/core/database.md) in the codebase.
* **Search:** We use **Apache Solr 10** for search indexing and query features. See [Solr/Search Tech Guide](/advanced/solr.md).
