Help with RabbitMQ and the amount of queues created #2382
Unanswered
maxacarvalho
asked this question in
Help wanted
Replies: 2 comments 3 replies
-
That's not correct. Shlink will create one queue per short URL and a global one, so that you can subscribe to visits globally or per short URL. So you'll end up with as many queues as short urls you create. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I have created an issue to track a potential improvement for this #2387 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Shlink version
v4.4.4
PHP version
8.4.4
How do you serve Shlink
Docker image
Database engine
MySQL
Database version
8.4.3
Summary
Hi,
I have the need to use the RabbitMQ integration so I can process visits to the short ulrs.
One thing that's bothering me is the amount of queues that are going to be created.
Although I see the use for queues pointing to specific
short_code
, I generally only need the "global" one,https://shlink.io/new-visit
.The fact that every click creates a new queue on Rabbit means that during a month's period I'm going to end up having hundreds of thousands of queues, I don't think that it will scale well enough.
I wonder if there's an alternative to that approach, a way to only create the main
https://shlink.io/new-visit
queue?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions