1,280 questions
0
votes
1
answer
51
views
deploying a worker applcation using openshift [closed]
I'm very new to OpenShift and I'll soon be switching to it as my employer looks to consolidate our deploy processes to one tool.
The application I work on is unique to the rest of the other apps we ...
1
vote
0
answers
41
views
Track number of in-use vs. idle workers in Matlab with fmincon
I'm currently in Matlab doing a set of fixed point iterations using fmincon. I use parfor multithreading to do so. However, one of my iterations in the parfor loop goes particularly slow just because ...
0
votes
0
answers
82
views
Multiple workers worked the same task and reserved task count when moving from Celery 4.3 to Celery 5.4
When moving from Celery 4.3 to Celery 5.4, we saw to unexpected results and rolled back until more research could be made to understand what happened.
Three thing occurred:
We have several nodes pick ...
0
votes
0
answers
15
views
How to Handle Worker Thread File with an importScripts file with a Reference to window? [duplicate]
I have a worker thread file worker.js which is used when setting up the worker:
myWorker = new Worker("worker.js");
The file has at the top:
importScripts("general.js");
where ...
0
votes
0
answers
32
views
Handling Database Failures in a Distributed System with RabbitMQ Workers
I have a worker that processes tasks from RabbitMQ and inserts data into a database. The system operates at high scale, handling thousands of messages per second, which makes proper failure handling ...
-3
votes
1
answer
96
views
Alarm Manager Behavior Doesn't Match Logs
I'm trying to write an app that keeps track of multiple lists of perishable goods from internal storage. I'm storing and reading serialized .json files to edit and save lists etc., but I've been ...
0
votes
2
answers
91
views
Laravel Queue Database Connection Slow Job Retrieval
I'm using Laravel's database queue connection to process frequent robot heartbeat data. Each second, robots send data that the Laravel server processes by updating the respective robot entries. The ...
0
votes
0
answers
62
views
nodejs worker is not getting called
My nodejs server dir structure is as following:
./src/rest/api/longJob.js
This file contains following method for long running operation, which I want to handover to worker:
const { Worker } = require(...
5
votes
2
answers
723
views
Typescript error TP1001 when creating a Web Worker in Next.js 15.0.2 with Stockfish chess engine
I'm working on a Next.js 15.0.2 project with turbopack using TypeScript, and I'm integrating the Stockfish chess engine to create a Web Worker on the client side.
The Stockfish library is stored in ...
0
votes
1
answer
856
views
Using Otel in .Net 8 Console/Worker Application
Fellows,
Using otel in Api application works and the setup is easy.
But i would like to use otel in console application and get metrics from the application like CPU usage, memory, heap and etc..
...
-2
votes
1
answer
168
views
Difference between job and worker in rails [closed]
In an interview I was asked this and I was unable to describe this. Could anyone help me with this.
I have tried to found out answers from stack overflow but did not get a complete explanation.
0
votes
0
answers
48
views
How to send stream response to http request from node worker thread
I am doing expensive server-side rendering in nodejs worker thread. After all computations are finished I want to stream response to http response. Is there any way except sending chunks via messages?
...
2
votes
0
answers
2k
views
PostgreSQL Connection Issues: "remaining connection slots are reserved" & "Queue is bound to a different event loop" in Async Celery Task
Body:
I'm working on a project using PostgreSQL as the database and SQLAlchemy as the ORM. Recently, I've been encountering two issues related to database connections, particularly while running an ...
1
vote
0
answers
397
views
cloudflare worker locally not starting problem while starting with cloudflare
PS D:\web\javascript\backend\hc\New folder\my-app> npm run dev
> [email protected] dev
> wrangler dev
⛅️ wrangler 3.65.0
-------------------
⎔ Starting local server...
╭─────────────────────────...
0
votes
1
answer
124
views
androidx.work.Worker.doWork() stopped working
androidx.work.Worker.doWork() stopped working 3-4 days ago. It has been working 2-3 years before that without any errors.
Before the problem occurred the method was called every 30 minutes.
But now it ...
0
votes
1
answer
32
views
Heroku Java Spring Boot web app project -> extend it to include one-off processes within it
We've an up and running Spring Boot java project working in Heroku using web dynos.
Business requirement is to include background processes to sync some master data grabbed from external system by ...
0
votes
0
answers
110
views
Cannot access file using fetch api, 403 forbidden error
I have created an ec2 windows instance where I have installed IIS. I have created a Cloudflare worker to download files using fetch api. But when I use await fetch('http://54.235.2.69/a.pdf', {cf:{...
2
votes
1
answer
812
views
ServicebusTrigger not recognised after upgrade wizard to .net ver 8
In the following code the keyword ServicebusTrigger is not recognised. To my understanding webjobs packages are not used for worker isolated, so am reluctant to install. How do I refactor for worker ...
0
votes
0
answers
120
views
Python Celery route task using hostname
I'm currently utilizing Celery for task management within my application, and I'm facing a challenge regarding task distribution to specific workers based on their unique hostnames. In my use case, I'...
3
votes
2
answers
7k
views
Issues with FastAPI Uvicorn workers | Only one worker is handling the request
I have a sample FastAPI application, with a single endpoint which returns the result a after a delay of 5 seconds.
Please find the code below.
from fastapi import FastAPI
import uvicorn, os, time
app =...
1
vote
0
answers
51
views
How can I catch the ServiceBusTrigger message
I need a middleware to catch the ServiceBusTrigger message. My wish is save the ServiceBusMessage on meu log storage.
The Middleware seems the best options to do that, in order to share it with other ...
4
votes
1
answer
2k
views
Using Autofac with HostApplicationBuilder
I am building a new .net 8 worker service and microsoft has modified the generic host. MSDN
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<...
2
votes
0
answers
598
views
Temporal Workflow Issue in python: Workflow is not running in background, Unable to Trigger New Workflow Unit Until Current One Finishes
I've created a workflow with 4 activity which runs one after another
using temporalio, When my one workflow starts it is not running in background,
Unable to trigger new workflow until the
current ...
1
vote
1
answer
105
views
How to read proxies from file 1 by 1 and then repeat them in same natural order in JS?
I have this worker.js script where proxies are read from index.js and using Math.floor to randomize the order of the proxies and then use puppeteer to visit a URL.
in index.js:
const proxies = fs....
3
votes
1
answer
2k
views
SecurityException on a running foreground service when permission revoked
I have a long-running worker that gets the user's location in the background.
Before starting the worker, I check all the needed location permissions.
I also added these lines of code to the Manifest. ...