Response type using curl


I’m using curl to query Dgraph (in R) where the response is formatted as a json. However, when sending larger queries (>10,000 of IDs returned) the parsing of this json is a bottleneck. Is it possible to have a response format (other than json) when using curl / http?



What kind of bottleneck?

With that many id’s and related information returned, the parsing of the json slows down the query substantially. I have worked on simplifying the query, but that didn’t improve speed a lot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.