Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for batching of queries #154

Open
narayanacharya6 opened this issue Dec 7, 2021 · 2 comments
Open

Support for batching of queries #154

narayanacharya6 opened this issue Dec 7, 2021 · 2 comments

Comments

@narayanacharya6
Copy link

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.

@swilly22
Copy link
Contributor

swilly22 commented Dec 7, 2021

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.

@narayanacharya6
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants