Long running processes prevent other processes from responding as quickly as intended. Typically a problem in UI programming, long running processes can prevent the UI from responding to user input.
Questions tagged [long-running-processes]
289 questions
0
votes
1 answer
How to spawn long-running-processes in Twisted
Preface
I'm writing an web-server that gives to users an access to some program written on C (I'm using an Python wrapper over this C-program, it is PyCLIPS). To serve a lot of users, the web-server has to start a lot of copies of this C-program,…

Maksim Kolchin
- 517
- 1
- 7
- 17
0
votes
1 answer
Azure resource for long running process in python
I am trying to figure out the best way to run a python process typically taking 10-30 (max an hour ish) minutes on my local machine. The process will be manually triggered, and may not be triggered for ours or days.
I am a bit confused, because I…

bjornhartmann
- 31
- 4
0
votes
0 answers
Azure container apps - long running service
I have create an application in core net that should be a long running application, implemented as BackgroundService and the project is a Microsoft.NET.Sdk.Worker. In my worker class I delays my ExecuteAsync using the following code:
await…

aweis
- 5,350
- 4
- 30
- 46
0
votes
2 answers
Handle long-running request from Swift Client in Node.js
So I'm currently using socket.io for a loading screen and it just isn't working so I'm going to try a different solution. I need the following to happen: user opens up my app--this triggers a function on the server side (CPU intensive scraping…

nickcoding2
- 142
- 1
- 8
- 34
0
votes
1 answer
How do I make System.Net.HttpListener long running, or is there a better way?
Application
I’m working on an IIoT project. I need to be able to receive simple messages (json payload) on a piece of equipment whose HMI runs on Win7. We use 3rd party MQTT for this in some cases but for this situation I’m looking at HTTP,…

scottmwyant
- 305
- 1
- 2
- 9
0
votes
0 answers
Is ASP.NET Core MVC web project which is hosted inside IIS, suitable for running scheduled jobs and/or long running jobs
We are developing a web application using ASP.NET Core MVC hosted inside IIS, which implement some business scenarios for CRM. But we have couple of background jobs and long running jobs to do synchronization with external systems. So not sure if…

John John
- 1
- 72
- 238
- 501
0
votes
1 answer
What is the best way to execute long-running and high memory usage tasks on Azure?
I need to find the best way to preform long running tasks on Azure.
Scenario:
User picks the dataset and filters on the web app (Azure App Service)
Based on the requirements we create SQL query
Query is executed against one or more Azure SQL…

lijevosmetalo
- 75
- 10
0
votes
2 answers
Long running process in separate thread updating UI
I noticed a similar problem for dot NET, but my problem is for Android, so perhaps solution looks different.
The process is activated by clicking button. The process was running as part of UI thread and at the end it did updating UI. I have added…

Dmitriy R
- 613
- 1
- 5
- 12
0
votes
0 answers
Android Service destroyed despite using all solutions I found on stackoverflow&android developer
I know there are lots of solution for long life Android service on net,but none of them works for me on Android 9.So Any help you offer here is highly appreciated.
My serveice implements SensorEventListener and I want to monitor 3 sensors change of…

R1349
- 119
- 5
0
votes
0 answers
Should a long Running video processing task to be done client side or server side
I was creating an application in react for uploading video and using a REST API to send that to the server and store in S3. I also wanted the simple audio version of the video for some other tasks and I am confused as to what might be the better…

Ritwiz Sinha
- 39
- 4
0
votes
1 answer
Swift: How to put worker into separate thread, show results in main view?
I wonder if there is an easy way to do this: Put a long-running worker into a separate thread so as not to block the UI. And display the results in the main view. Under SwiftUI or UIKit. What I found on the web was all very complex. Or is there a…

mildspleen
- 25
- 5
0
votes
1 answer
How best to handle async response from google long running operation with cloud functions
I'm using Google Cloud Functions (python) to initiate an asset inventory export from GCP by calling the exportAssets() method here. The method returns an Operations object defined here which can be used to poll the operation until it is complete. …

Michael
- 1,428
- 3
- 15
- 34
0
votes
0 answers
ASP.NET MVC 5 and EF 6 : concurrency handling in a transacted long running process
I am working on an existing multi-user EF6 / SQL ASP.NET MVC 5 application (database first) that is having concurrency issues I need to address. The database contains a one-to-many relationship that is represented by a bridge table between the 'one'…

Serexx
- 1,232
- 1
- 15
- 32
0
votes
2 answers
Manage a long-running operation in MS Teams Bot
I am using the following sample / article to Manage a Long-running operation in MS Teams Bot.
https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-long-operations-guidance?view=azure-bot-service-4.0
In step 5, a DirectLineClient is…

Gags
- 827
- 2
- 13
- 29
0
votes
0 answers
Timeout a command in batch without unnecessary delay
I am essentially looking for this solution 'timeout a command in bash without unnecessary delay', but it must be for a script.bat file.
Given a cmd.exe terminal.
And we start "long-running" /path/to/long-running program.
And we set a timeout /t…

avanderw
- 675
- 1
- 7
- 22