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

There's still has Timeout Issue with the 2.0.601.3402 and .Net framework 4.6.1,SetMinThreads(300,300) #1219

Closed
qjzh124232 opened this issue Sep 3, 2019 · 3 comments

Comments

@qjzh124232
Copy link

Hi,
I still got this issue with 2.0.601 and had tried all the various ways to solve the issue,but failed.
image

1.Redis sentinel model with 3 nodes
2.Create 2 ConnectionMultiplexer objects.Use the master end point as the write connection and one of the slaves end point as the read connection.
3.Use the sync mode when the application read the redis and async mode when writing it.
4.Has set the ThreadPool.SetMinThreads(300,300)
5.Has upgraded all the reference libraries to the latest version by now.

And More:
This redis server is also using by some services with the JDK 8.0 and Lettuce Redis. When my service report the error ,their services are still work well.
So, please help.

@qjzh124232 qjzh124232 changed the title There's still has Timeout Issue with the 2.0.601.3402 and .Net framework 4.6.1 There's still has Timeout Issue with the 2.0.601.3402 and .Net framework 4.6.1,SetMinThreads(300,300) Sep 3, 2019
@qjzh124232
Copy link
Author

May be I found the reason.
I used Lazy to connect the redis sentine server. And used the sentine connection to get the master point and one slave point to create writing connection and reading connection to get or set redis data.

And now, afert I use Lazy to connect the redis sentine server, I use Lazy to connect the redis cluster again. Just create one connection. It seemed solve the problam.

So current version does not suppert sentine model, It can only use to monitor the switch-master command so we can use Lazy to reconnect the redis server. Am I right?

@tnachshon
Copy link

#1226 (comment)

@NickCraver
Copy link
Collaborator

Your solution is correct - keep an eye out for Sentinel functionality in #1067, working on testing approaches now to try and get that in :)

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

3 participants