Best practices

This section provides several best practices that cover a variety of Fauna use cases.

  • Learn about best Database performance practices to keep in mind when designing your app, including the effect of counters and other frequently updated fields, data persistence, and the cardinality of indexed fields.

  • Learn Defensive query strategies for situations where fields or documents might be deleted and can no longer be referenced.

  • The HTTP timeouts best practices describes possible causes of timeout errors and how to recover from query timeout.

  • The Indexes best practice for using collection indexes compared to the Documents function.

  • Learn about Security best practices for key management and using ABAC roles to limit document access scope.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!