Skip to main content

Running OpenFGA in Production

The following list outlines some guidelines and best-practices for running OpenFGA in a production environment:

Database Recommendations

To ensure good performance for OpenFGA, it is recommended that the database be:

  • Used exclusively for OpenFGA and not shared with other applications. This allows scaling the OpenFGA database independently and avoiding contention with your application database.
  • Bootstrapped and managed with the openfga migrate tool. This will ensure the appropriate indexes are created for any specific version of OpenFGA.
Data and API Best Practices

Learn the best practices for managing data and invoking APIs in production environment

Migrating Relations

Learn how to migrate relations in a production environment

Migrating Schema 1.1

Learn how to migrate to model schema 1.1