Skip to content

Commit

Permalink
Added "Increase memory limits for query request for performance boost…
Browse files Browse the repository at this point in the history
…" to Production Best Practices Guide
  • Loading branch information
syntxerror committed Jul 27, 2020
1 parent 7047454 commit 8936bd9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion site/content/en/docs/Guides/Production/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,17 @@ helm install my-release -n open-match open-match/open-match -f values-production
```

## Use Envoy or other load balancing solution if you plan to connect to Open Match via an out-of-cluster client
The above load balancing solution is sufficient if you have both the client and the server deployment within the same cluster. However, some game architectures may requires connecting to Open Match services from an out-of-cluster client. We recommend [Envoy](https://www.envoyproxy.io/) as a solution. Alternatives like Kubernetes Ingress or platform specific L7 Load Balancer can also work.
The above load balancing solution is sufficient if you have both the client and the server deployment within the same cluster. However, some game architectures may requires connecting to Open Match services from an out-of-cluster client. We recommend [Envoy](https://www.envoyproxy.io/) as a solution. Alternatives like Kubernetes Ingress or platform specific L7 Load Balancer can also work.

## Increase memory limits for query request for performance boost
When querying Tickets in Open Match, there is a possibility of requests being larger or smaller than configured. Open Match comes default with the following configuration:
```yaml
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
```
We recommend increasing the limit for memory to accomodate larger than expected query requests. For more information on Kubernetes Best Practices, please consult the following [Blog Post](https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-resource-requests-and-limits) as a reference.

0 comments on commit 8936bd9

Please sign in to comment.