I'm wrote my code using combination of stack & queue data structures. My code is working, but I have a problem in the main() method. I'm using a loop to rea
Today... I used the following command: with subprocess.PIPE and subprocess.Popen in python 3: ffmpeg -i udp://{address_of_camera} \ -vf select='if(eq(pict_typ
std::queue<double> some_q; std::mutex mu_q; /* an update function may be an event observer */ void UpdateFunc() { /* some other processing */ std
So guys, I'm using RabbitMQ and when I send the same message more than once per second of difference, I notice that some are not arriving. Does anyone know if R
For the RabbitMq message broker system that I will use in my project that I developed in the .Net 5 environment; I have 10000 messages and I want each queue to
I'm using MusicKit to build an iOS app that manages the queue of Apple Music. I am able to get the current item in the queue by: SystemMusicPlayer.shared.queue.
I'm using python queue to insert data packets from mqtt listeners But I'm not sure when this queue will be loaded by Mqtt packet. Can we put a listener on to th
I have Redis and php-redis extension installed but whenever I wanna use a queue in Laravel I just get the error below RedisException php_network_getaddresses: g
My Code ↓ Some macros defined by #include <stdio.h> #include <malloc.h> #define ElementType int #define ERROR 0 // 队列ஷ
I am running Laravel 8, horizon 5.4 After I initiate the job, it processes successfully as it should, but in the Horizon dashboard it stays pending list, it doe
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:
I have the following code: std::queue< nlohmann::json > outgoingMessages; void session::do_write( void ) { if ( outgoingMessages.size() > 0 ) {
I'm currently dealing with a queue that has a couple thousand entries in it. To save on RAM usage I'm currently using the TrimExcess() method built in to the qu
I was trying to set up a dashboard so that I could monitor the number of messages within certain queues. The problem is that in order to create a suitable alert
From graphlib.TopologicalSorter, I can process nodes from a graph in parallel via: topological_sorter = TopologicalSorter() topological_sorter.prepare() while
I'm studying about circular queue in data structure . As you can see from the code below, I try to delete a specific data and insert data on Circular queue. How
I am using this code in for loop: my purpose was to once I get response of 1st request then only it should execute second request then 3rd and so on. queueSche
I followed the official Laravel doc to start queue in the background using supervisor in Centos 7. But whene I run this command sudo supervisorctl start larave
I’m using Beanstalkd queues in Laravel, controlled by Supervisord. Laravel v7.30.6 Beanstalkd v1.10 Supervisord v3.3.1 Ubuntu 18.04.6 LTS (125G RAM) PHP 7
It is first time I play with parallel computing seriously. I am using multiprocessing module in python and I am running into this problem: A queue consumer run