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

Does it support mass insertion? #432

Closed
Nanyan opened this issue Jun 28, 2016 · 1 comment
Closed

Does it support mass insertion? #432

Nanyan opened this issue Jun 28, 2016 · 1 comment

Comments

@Nanyan
Copy link

Nanyan commented Jun 28, 2016

As the title, does StackExchange.Redis support mass insertion, which supported by Redis via redis-cli's pipe mode?
Thanks a lot.

@NickCraver
Copy link
Collaborator

The library itself behaves in pipeline mode by default, so you can get very rapid insertion speed. It's not identical to what redis-cli is doing but you should get very good performance (especially with async) and proper error handling on the inserts. Both are calling the protocol in rapid pipeline order. We see behavior of 250,000 ops/sec under load at Stack Overflow and that's from a single client and thread.

Depending on your specific scenario, you may want to increase timeouts.

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

No branches or pull requests

2 participants