[DGraph Cluster] 600ms vs 6s: Query response times differ greatly based on the shard that is executing it

Is it possible to construct the query with multiple query blocks? Like this:

query q() {
	TENANT as var(func: eq(o.tenant, "TheOneAndOnly"))
	U001 as var(func: eq(o.uuid, "a"))
	U002 as var(func: eq(o.uuid, "b"))
	U003 as var(func: eq(o.uuid, "c"))
	...
	q(func: uid(U001,U002,U003)) @filter(uid(TENANT)) {
	    expand(_all_)
    }
}

Query blocks run in parallel afaik. I’m interested in the difference in performance, and if the same issue occurs.

1 Like