Once you have determined that the Dgraph is the bottleneck using the techniques described in this guide, there are many things you can do to tune performance. In many cases, unnecessary complexity slows performance, so small changes can yield big returns.
It is best to begin making adjustments with a conservative strategy that you understand well. Do not modify too many features at once—it makes it difficult to assess the impact of any one change.
Details on tuning specific features can be found in the following sections. Where applicable, they discuss problematic feature interactions. Likewise, each section indicates whether the kind of data you are processing (for example, large text fields as opposed to many part numbers) significantly impacts a feature’s performance.
This chapter calls out only those aspects of a feature that affect application performance. For more general information about implementing these features, see the Platform Services Forge Guide and the MDEX Engine Developer's Guide.