Replies: 6 comments 6 replies
-
Thanks for moving this over--I appreciate it! Let me try to address your questions in order:
|
Beta Was this translation helpful? Give feedback.
-
I can also cause it to hang with the load tester set to, concurrency: 10
iterations: 500 |
Beta Was this translation helpful? Give feedback.
-
I've not been able to reproduce with I ran the load test about ten times and consistently see the same results. Here's a sample output: https://gist.github.com/maxcountryman/62efaff1c1c7dbfeeb9529f8289be410 Note that I tried this on bb06fd2 ( |
Beta Was this translation helpful? Give feedback.
-
It seems like the latest release may have addressed an issue someone else was having with Redis (and other stores). Does updating to 0.6.0 fix this for you? |
Beta Was this translation helpful? Give feedback.
-
@maxcountryman Wow, yes, that fixes my problem. I was even able to update the load testing benchmark settings to 1000 concurrent requests for 100,000 requests and it won't hang. Thank you for following up about this. I'm curious to know so that I can learn – what was the cause before? The only thing outstanding is that this is the type of report I get from Drill:
I don't know why there are any failed requests |
Beta Was this translation helpful? Give feedback.
-
I believe this is resolved as of a few releases ago. If not, please let us know. |
Beta Was this translation helpful? Give feedback.
-
Hi @maxcountryman, I've moved this question over from Issues as requested. So, my Axum app is hanging in a deadlock, no panic once there are enough concurrent requests, which doesn't need to be a lot. You have already mentioned that this is expected behaviour when instantiating a
RedisStore
without specifying aReconnectPolicy
. I have two somewhat related questions.ReconnectPolicy
, though I am not confident about which settings to use. My REST API gets bursts of traffic. It's for an event with thousands of people actively poking around in the app for a while each day for a month, making many requests per user.tower_sessions::fred::RedisClient
uses; aReconnectPolicy
. I found that the mobc-redis client wasn't compatible with tower-sessions so now I have two different redis client crates. Which one is better and can you recommend a direction for refactoring to just one of them?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions