Actually we’re trying to asses both HTTP and gRPC functionalities in dgraph for our use case.
We’re running FASTApi application on 0.0.0.0:8000. This application first tries to connect with Dgraph database by creating a client to localhost:9080
Then this client queries Dgraph database using the following method from the Pydgraph library.
client.txn(read_only=True).query(query, variables=variables)