RedisGraph/redisgraph-py

Support for batching of queries

narayanacharya6 opened this issue · 2 comments

This is more of a question than an issue. I was wondering if there is any way to batch my queries in order to gain some performance.

I tried to use UNWIND as suggested here - RedisGraph/RedisGraph#1293 (comment) but ran into a bug(?), reported here RedisGraph/RedisGraph#2057, with redis-server crashing.

Have you considered using multiple connections, splitting your queries among?
Although I would stick with the suggested UNWIND approach figuring out this issue you've encountered.

I'll take a look at having multiple connections.

What about using pipelines - https://redis.io/topics/pipelining? Please correct me if I am wrong but looking at the source code, I don't see we support using pipelines with redisgraph queries at the moment? Is this intentional?