Questions tagged [Message queues] (157)

2
answers

The re-launch of Laravel s job. How to overcome?

There is a script that runs about 5-8 minutes on the local computer everything works fine but on the server the script is run 3 times with an interval of 90 seconds. My queue settings: 'redis' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'retry_after' => 900, 'block_for' =...
Parker_Kreig asked April 7th 20 at 11:35
0
answer

How do I force the queue to empty Queue in Yii2 without getting the error?

I would like to implement the ability to clear the force. There is a console command queue/clear and the opportunity to do the same in your application code Yii::$app->queue->clear() However, after that the worker "falls". Probably, the supervisor will raise it back automatically, but why still this is happening. I...
ted.McGlynn asked April 7th 20 at 09:41
2
answers

What if the RabbitMq server was not available?

Hello! Advise solutions to this problem: Suppose a user creates a post, while it is saved on the server, I generate a message to the RabbitMq message queue that you created a new post, and therefore need to generate all notifications (Push, Email, etc.) But for some reason the RabbitMq server was not running or it is not re...
Courtney_Kovacek asked April 7th 20 at 09:34
2
answers

How to wrap HTTP requests in a message queue?

We have the following infrastructure: deployed multiple instances of the server mobile applications, they turn to another internal service through the SOAP Protocol, internal service, too few instances, every instance can run at the same time a certain number of requests, to distribute the load among services is now used ng...
Jordyn37 asked April 7th 20 at 09:05
2
answers

How to handle task groups?

Hello! I just started learning RabbitMq and many do not understand, therefore I ask not to kick. Let's say I have 100 users who need to send push notifications, for example when I added an event, well, the post is added to the end (just for example). And so, the system flies post, so I need to add to the queue the task, whi...
rosalyn_Eichman asked April 4th 20 at 13:33
1
answer

What architecture is needed to build a simple named message queue for machine-to-machine interaction?

Reformulate your question As to organize the exchange of messages between processes according to the principle mailbox? I need to organize the interaction between the server and multiple workere. For this I want to have a named message queue that will live independently from the process of consuming it. Ie first Wake up the...
elody.Kilback asked April 4th 20 at 13:04
2
answers

How to organize the exchange of messages between processes according to the principle mailbox?

There are several processes on several machines. We need a system of exchange of messages through a mailbox. One process sent a message to another (say, all the processes named) and went to do their business. The message lay in the box, the second process woke up, checked the box, yeah - I message, read, complied with what ...
Lois_Wolff asked April 4th 20 at 13:01
3
answers

What is needed next?

There is an array of resource-intensive tasks. There are two tools - the master (one who issues challenges) and service by these problems. About any task knows SERVIS-master (it stores the task queue in its memory) and asynchronously generates tasks to perform demanding tasks and gets answers. This system works. The questio...
2
answers

How relevant PgQ in 2020?

There is a project that will use Postgres 12 and he needs a place, I heard about PgQ, but it is very poorly documented, have not updated and not supported, so the question is - does it make sense to use PgQ, or is there a more recent, supported, broker queue on top of postgres (performance not as important), or do not want ...
Anabel_McDermo asked April 4th 20 at 00:18
1
answer

How to make a PARSER in Symfony?

Good afternoon. I recently started working with Symfony. And there was a task to write your own XML parser. ie XML order file weighing 200 MB with more than 40 thousand records. Parsing such a file takes a certain amount of time. I mean the loop iterates over all lines of the file, etc. And the essence of the question is wh...
Lawrence_Goldner asked April 3rd 20 at 18:05