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

Multiple connections? #81

Closed
Stratus3D opened this issue Jan 16, 2019 · 2 comments
Closed

Multiple connections? #81

Stratus3D opened this issue Jan 16, 2019 · 2 comments

Comments

@Stratus3D
Copy link

Is it possible to open multiple separate connections with this library? Right now I've got some code that runs a transaction for a HTTP request, but during the time the transaction is open other requests execute Redis commands and they also get queued in the transaction. Is there a way I can open up multiple connections?

@artemeff
Copy link
Owner

artemeff commented Jan 17, 2019

@Stratus3D you can start as many exredis clients as you want, but I would recommend you to use Redix with poolboy (redix_pool) or just follow the instructions here.

Also you can take my new library Redis for redis commands (just take a look!) :)

I have some ideas about redis clients adapter inside Redis library, where I can implement connection pooling too, but that thing on very early stage #79

@Stratus3D
Copy link
Author

Thanks @artemeff, I'll give those a try.

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