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

(Pipelining) Is there a method for pipelining a group of operations such as updates #316

Open
badrobit opened this issue Jul 20, 2022 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@badrobit
Copy link

badrobit commented Jul 20, 2022

If I have a set of redis-om defined objects (inherits from HashModel) is there an easy way for me to group my operations together to improve my performance when working with redis/redis-om? I would imagine it would be built around the Redis Pipeline Concept.

@sav-norem
Copy link

Hi - yes you can use pipelines in OM. When using the OM library you also have access to all the core Redis features - you can start a pipeline the same way, include OM commands inside it, then execute!

@simonprickett this should probably also be a documentation issue

@simonprickett simonprickett added the documentation Improvements or additions to documentation label Sep 7, 2022
@simonprickett
Copy link
Contributor

Added documentation label.

@dadwin
Copy link

dadwin commented Jan 17, 2023

some examples can be found in the code, e.g. https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L798

@KarinaAbd
Copy link

Hey there! May I inquire, is it planned to pass pipeine argument to update methods of JasonModel and HashModel to use it in save? Almost like it is implemented in the update method of FindQuery.
Thanks for the info/help.

@disooqi
Copy link

disooqi commented Aug 24, 2024

Hi guys, any update on the documentation about using pipeline?

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

No branches or pull requests

6 participants