Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
98 views

Problem summary: Each person in line has tickets[i] tickets to buy. Every second The person at the front buys one ticket. If they still need more tickets, they move to the end of the queue. We need ...
Hercules's user avatar
0 votes
0 answers
91 views

I hope you’re all doing well. I’m reaching out because I’m facing an issue with my setup. I have a .NET application and a Laravel system integrated via API. The .NET application sends payloads to the ...
minhaj ur rehman's user avatar
1 vote
1 answer
45 views

I am learning about queue data structure in python. I learnt the implementation of a queue using list in python and the issue of memory wastage when we dequeue a few elements from the front. We use a ...
dataminer's user avatar
2 votes
0 answers
119 views

I have a fresh Laravel 10 app and I'm trying to test queues. I created a job with php artisan make:job TestJob. routes/web.php Route::get('/test-job', function () { \App\Jobs\TestJob::dispatch(); ...
S. Narthanan's user avatar
3 votes
1 answer
73 views

I’m running Celery with Django and Celery Beat. Celery Beat triggers an outer task every 30 minutes, and inside that task I enqueue another task per item. Both tasks are decorated to use the same ...
Mosy Mosy's user avatar
0 votes
0 answers
53 views

I have a background service that periodically reads (not peeks) a message from an Azure storage queue and call an API to get values (that could returns 204 and will be retired), and then once gets ...
Reza Shirazi's user avatar
2 votes
1 answer
141 views

This MPSC Queue (Multi Producer Single Consumer Queue) keeps on waiting in the consumer side sometimes although I have used CAS operations. I have added CAS operation for the enqueue function. Since I ...
Dinushan Vishwajith's user avatar
-1 votes
2 answers
170 views

I'm building a multi-threaded system where: One thread connects to a WebSocket, processes live kline data, and queues symbol-interval keys for processing. Another thread runs multiple async workers ...
N Ib's user avatar
  • 1
0 votes
4 answers
173 views

I'm trying to understand the time complexities associated with standard data structures. For a queue, we know that enqueue() and dequeue() operations are typically O(1) in implementations like using a ...
Aditya Barmola's user avatar
1 vote
1 answer
157 views

I'm working on a Nuxt project that uses NuxtHub and Cloudflare Queues. ✅ I can successfully publish messages to the queue like this: const { cloudflare } = event.context; console.log("Publishing ...
Maxime VANDROMME's user avatar
2 votes
1 answer
75 views

Hi I'm observing a strange behaviour with python multiprocessing Queue object. My environment: OS: Windows 10 python: 3.13.1 but I observed the same with: OS: Windows 10 python: 3.12.7 and: OS: ...
Alberto B's user avatar
  • 650
0 votes
2 answers
96 views

I am learning multiprocessing in Python and am trying to incorporate a worker pool for managing downloads. I have deduced my queue issue down to something with OOP, but I don't know what it is. The ...
Tom Smith's user avatar
0 votes
1 answer
61 views

I have a system where I am trying to achieve a single point of action for writing to a database. For this I am using Queues, I fetch a record from a queue and add to a list. Once I have a required ...
mraabhijit's user avatar
1 vote
1 answer
133 views

I have used the queue job in my Laravel project to send emails to multiple users. My code is working perfectly on the local system, but on the production server, when I run the queue:work command, it ...
Bhola Seema's user avatar
0 votes
1 answer
60 views

I am developing a program to simulate a P2P network using the multiprocessing package. Specifically, I have created a Node class that inherits from multiprocessing.Process and contains all the basic ...
Mattia Campana's user avatar
1 vote
0 answers
140 views

I want to implement out callout authentication on NATS. I have created a console application that listens to the $SYS.REQ.USER.AUTH topic. Based on the received username and password, I generate a JWT ...
Yusuf UZUN's user avatar
0 votes
1 answer
78 views

Laravel ^11.0 Octane ^2.2 Server FrankenPHP RabbitMQ I have a backend using laravel octane, then I change the database connection ip. To get the new database data it has been detected. However, I ...
ikhsan kurniawan's user avatar
-1 votes
1 answer
125 views

I am planning to develop a Java application and deploy it in K8s containers where the minimum containers are 3. My requirement is to maintain a common queue for the 3+ containers and run a scheduler ...
Sangram Anand's user avatar
1 vote
1 answer
80 views

I'm trying to implement a queue and for dequeue I've purposely done with an int procedure. What would be possible drawbacks for using an int? int dequeue(queue *q) { int res = 0; // list not empty ...
Ysw's user avatar
  • 21
1 vote
0 answers
25 views

I'm studying lock free MPMC queues, and I read some papers mainly about common practices and/or designs. I found myself reading about tantrum queues, that are lock free data structures that emulate an ...
Mattia Piras's user avatar
0 votes
1 answer
87 views

Currently I have a service which read events from a queue in SQS and process the found messages. I have a concurrency with 2 threads reading at the same time the queue to process the messages. The ...
Allanh's user avatar
  • 545
1 vote
1 answer
41 views

I have a class called "IterQueue which is an iter queue: IterQueue.py from multiprocessing import Process, Queue, Pool import queue class IterQueue(queue.Queue): def __init__(self): self....
Mohammed Baashar's user avatar
0 votes
0 answers
207 views

I’m prototyping a project using BullMQ and Redis, and so far, everything seems to be working fine. Jobs are being added to the queue successfully. However, when I process the jobs using a worker and ...
John Philip's user avatar
0 votes
1 answer
56 views

I have an app in vapor and I have a long running job lets say UpdateSomething and I want this job to be on one queue only, I don't want it to run concurrently. class UpdateSomething implements ...
aceraven777's user avatar
  • 4,586
0 votes
0 answers
25 views

I’m using Ambengers\QueryFilter\AbstractQueryFilter (Git Repository) in a project. I need to perform a database search and generate a PDF of student logs, but I want to handle this with a job. When I ...
Lorenzo Pilati's user avatar

1
2 3 4 5
225