From 66bcef251157fb02f242c1d803a1ec69dfb9a6a0 Mon Sep 17 00:00:00 2001 From: Isaac Adewumi Date: Sat, 15 Jun 2024 19:53:32 +0100 Subject: [PATCH] fix typo in graphql query docs (#938) --- docs/pages/docs/query/graphql.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/docs/query/graphql.mdx b/docs/pages/docs/query/graphql.mdx index 0c3268877..4a0b0059b 100644 --- a/docs/pages/docs/query/graphql.mdx +++ b/docs/pages/docs/query/graphql.mdx @@ -484,7 +484,7 @@ type Person { Here are a few tips for speeding up slow queries. 1. **Create database indexes**: Create indexes to speed up filters, joins, and sort conditions. [Read more](/docs/schema#indexes). -2. **Enable horizontal scaling**: If the GraphQL API is struggling to keep up with reqeust volume, consider spreading the load across multiple instances. [Read more](/docs/production/horizontal-scaling). +2. **Enable horizontal scaling**: If the GraphQL API is struggling to keep up with request volume, consider spreading the load across multiple instances. [Read more](/docs/production/horizontal-scaling). 3. **Limit query depth**: Each layer of depth in a GraphQL query introduces at least one additional sequential database query. Avoid queries that are more than 2 layers deep. 3. **Use pagination**: Use cursor-based pagination to fetch records in smaller, more manageable chunks. This can help reduce the load on the database.