Laravel Horizon creates lots of redis client connections #47872
Unanswered
sts-ryan-holton
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Each process is a worker, which is a whole new instance of your laravel app. What happens if you set max processes to 1? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Setting |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using Laravel Horizon on a single-node Redis instance. I need to process hundreds if not thousands of jobs per minute. Right now, I have a standalone Redis instance containing 72,000 keys, memory usage of 313 total memory and 2,652 connected clients, I'll attach my horizon config.
When developing locally, despite slimming down my horizon config I'm still getting 60 clients connected through my set up and wondered how I can reduce this down, we're considering a multi-node redis cluster but not sure if this will work, here's my horizon config:
And for reference, here's my queue connections in my database file:
What can I do to get connections down?
Beta Was this translation helpful? Give feedback.
All reactions