How to use GraphQL API in GraphQL backend server?

In addition, I would like to know whether the graphql api of dgraph reads and writes to the disk directly or through the DQL server?

It is:

client --> backend server  --> GraphQL API server  -->  disk

or ?:

client -->  backend server  --> GraphQL  API server-->  DQL server --> disk