Category "message-queue"

What is the best mechanism to send data through queues in a multithreaded program?

I am making a multi-threaded application, where a main process sends messages to the appropriate thread through a queue. My doubt is in the part of the thread:

Main thread usage loop advise needed

Im building an app on Linux in C++, and I find it convenient to move all periodic tasks to other threads. This is my first multi-threaded Linux app(and basicall

How to delete or clear all the messages from the POSIX message queue in c?

I want to delete all the messages from the POSIX message queue. I searched on the internet but I didn't find any way to do it instead I found the way to delete

Message bus and Message queue understanding

I would like to know if my understanding of Message Bus and Message Queue workings is correct. First thing first, I need to clear the naming, a service bus is

Message bus and Message queue understanding

I would like to know if my understanding of Message Bus and Message Queue workings is correct. First thing first, I need to clear the naming, a service bus is

Sending messages to durable queue using Rabbit perf test tool

How can I send messages to a durable queue using the Rabbit Perf Test tool? I am getting this following error: Caused by: com.rabbitmq.client.ShutdownSignalExc

when is the callback passed to setTimeout put on the message queue?

setTimeout(callback, 1000) Is callback put on the message queue after 1000ms or is it put to the message queue immediately? If it is put to the message queue a

Please explain Amazon SQS (and queueing in general)

For my web app I will need a separate instance of EC2 to process CPU-intensive things, and things that can be queued so they don't encumber the web serving inst

How to backup all streams in JetStream server?

Problem: I have to backup all the streams of my JetStream server. I don't know what streams are there. I want to backup all the streams into a single snapshot.

How to do error handling with EasyNetQ / RabbitMQ

I'm using RabbitMQ in C# with the EasyNetQ library. I'm using a pub/sub pattern here. I still have a few issues that I hope anyone can help me with: When there

Azure.Messaging.ServiceBus Error when completing or abandoning message

Som I'm currently looking into updating our very simple service bus service to the latest version (Asure.Messaging.Servicebus) and I'm running into a smaller pr