-
Notifications
You must be signed in to change notification settings - Fork 76
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
After switching to Redis provider web app got very slow. #12
Comments
Hey @fenix2222, please check out the discussion in #9. Try and use the non-watch version as in the comments. Provide as much details as possible. If you don't see Redis hanging (use |
I don't know what non-watch version means... How do I use it? Is it in Redis conf file or in your provider? |
It's in this provider. Downgrade to version 1.0.0 and let me know how that works out. |
Thanks. Are there any culpits with using v1.0 as opposed to v1.1. Obviously On Sun, Feb 16, 2014 at 1:29 PM, Adrian Phinney [email protected]:
Kind Regards, Igor Goldobin |
Well, I implemented WATCH/UNWATCH with 054984e. It helps with concurrency issues. But it seems to be causing some issues for some people as seen in #9. Please give 1.0.0 a try and let me know how it goes! |
@fenix2222 I just released v1.2.0 which hopefully fixes this issue. Can you first give v1.0.0 a try, then try v1.1.0 and then try v1.2.0 to see if I've fixed it? Thanks! |
Thanks. I will try it later tonight ir tomorrow. It is not that easy to On Sunday, February 16, 2014, Adrian Phinney [email protected]
Kind Regards, Igor Goldobin |
Hi Adrian, If I have provider configured in web.config, do I still need it to be [image: Inline image 1] [image: Inline image 2] On Sun, Feb 16, 2014 at 4:29 PM, Igor Goldobin [email protected]:
Kind Regards, Igor Goldobin |
Hey - you just need to configure it in one place. The images didn't show up. Perhaps you can paste them directly on GitHub? The only reason you'd need to configure it in the Global.asax is if you want more control or if you're already using Redis in another part of your application. |
Hmm, that's weird. You can see the code that does this from that StackTrace. According to ServiceStack.Redis's test suite, this should be possible. I'm going to have to investigate more as to why the replay isn't working. Can you tell me a little bit about the load on your site (how many users, requests per-second etc)? |
Just me. I am only testing with one account... On Mon, Feb 17, 2014 at 11:38 AM, Adrian Phinney
Kind Regards, Igor Goldobin |
Really? Ok, that's weird. I'm going to have to try and figure this out tomorrow. For now, you can use 1.0.0 and you shouldn't have any troubles. |
This one was a pain to reproduce... eventually a hard refresh in the browser was able to reproduce it. I've released v1.3.0 that uses a distributed lock rather than watch/unwatch. Please update and let me know if this fixes your issues. Also update ServiceStack.Common, ServiceStack.Redis, and ServiceStack.Text to 3.9.71 (The dependencies are now >= 3.9 && < 4.0). |
Thanks. I will test it tonight. BTW are you from Sydney? On Tue, Feb 18, 2014 at 11:25 AM, Adrian Phinney
Kind Regards, Igor Goldobin |
Nope - I'm from eastern Canada. |
@fenix2222 Any luck with 1.3.0? |
I have it running, seems to be ok. It would be good to check once we get On Fri, Feb 28, 2014 at 9:00 AM, Adrian Phinney [email protected]:
Kind Regards, Igor Goldobin |
@fenix2222 Did you guys get more traffic? How has it been performing? |
Hi Support,
I have added your solution to my web app and evertyhing seemed to work fine, but now I am getting ocassional slow down of the site, some pages load for 1-2 minutes. As soon as I switch back to InProc session mode, everything is running very fast, then when I switch to Redis (in config), it is either fast as well or randomly slow. I wonder if there is anything I am missing. It is like it has issues writting to Redis database. I don't know. Any suggestions?
The text was updated successfully, but these errors were encountered: