Questions tagged [long-running-processes]

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.

289 questions
0
votes
1 answer

Service that survives Task Killers like Pandora / How do Services actually work?

First off, this is not aimed at perpetuating bloatware and other bad practices. I know many will say "don't do that" but I promise to respect users. I am building an app where I would like a service to run indefinitely. A couple questions: Are…
paulpooch
  • 651
  • 1
  • 7
  • 15
0
votes
1 answer

ASP.NET CQRS and long running tasks hosted in external process

I have a web application where users can enqueue tasks to export some data. The process can take up to 2-3 hours but can complete in seconds depending what was requested. The export process will be handled like that: public class…
Coffka
  • 749
  • 1
  • 8
  • 23
0
votes
1 answer

Keep background service running after killing an application

I have developed an android application which runs background service, I need the service to stay alive even if the application is killed by user or for some reason. I have implemented the service and add return START_STICKY in onStartCommand method…
Omar Taha
  • 97
  • 1
  • 11
0
votes
0 answers

How to run a long running process in JSF without facing "Connection Failed" error in browser

I have a process which takes more than five minutes, after those minutes internet explorer throws a "Connection Failed" error, but internally it keeps running, the view throws the error. I increased the lifetime of the managed bean as…
AAbello
  • 1
  • 3
0
votes
0 answers

NodeJS process each record of a very large mongodb collection blocks event loop

I have a mongodb database with several collections: Collection1: holds records of books. Collection2: holds records of authors. Collection3: holds records of Owner. Collection3 has approximately 500 MB. I need to loop over the Owner collection and…
0
votes
2 answers

How to check in Python if Windows process is running when its service has stopped?

Some Windows processes keep running for a few minutes after their service has stopped. Is there a way in Python to detect that?
R01k
  • 735
  • 3
  • 12
  • 26
0
votes
1 answer

Akka Daemon Services

Most of the beginner's Akka examples seem to advocate calling the actor system's stop() and shutdown() methods like so: object Main extends App { // create the ActorSystem val system = ActorSystem("HelloSystem") // put your actors to…
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
1 answer

aws codedeploy long-running process

Aws codedeploy is being applied. The appspec file is shown below. version: 0.0 os: linux files: - source: script/install-file.sh destination: /home/ hooks: AfterInstall: - location: script/install-file.sh timeout: 120 runas:…
0
votes
2 answers

why query is taking too long

I have a query that should return around 10000 rows. The db itself is very large. I have run a simple query and it returned a result in less than 3 seconds. But when a more complex code it takes way too long. In my code I have done a nested select…
ana
  • 21
  • 9
0
votes
1 answer

NodeJS Dynamic Service Loader & Runner

Context: I'm trying to build a few slack hooks / notification services for a channel I'm active on, being the cheap-skate finance savvy person that I am, I'd like to make use of a free service as such (trail Heroku accounts, or similar products),…
Rohan Büchner
  • 5,333
  • 4
  • 62
  • 106
0
votes
1 answer

Long Running task from asp.net web application (Only on user action)

I need to run a long running task like report export, report import feature which will take few minutes to hour to complete the task. I want to start the task as soon as user gives command from the asp.net mvc view. I found various web portals, but…
0
votes
1 answer

iOS: Long-Running task

This is the example from developer.apple.com Finite-Length Tasks Starting a background task at quit time - (void)applicationDidEnterBackground:(UIApplication *)application { bgTask = [application beginBackgroundTaskWithName:@"MyTask"…
stkvtflw
  • 12,092
  • 26
  • 78
  • 155
0
votes
1 answer

Asp.net - how to know when a thread dies

I'm building a web application in Asp.net. I have long-running tasks that may or may not get finished, as IIS tends to kill long running tasks. Problem? Nope. I use quartz to periodically restart tasks that die (as changes get saved in the DB, so…
Scuba Steve
  • 1,541
  • 1
  • 19
  • 47
0
votes
3 answers

http REST consumer timeout

I implemented a https/REST provider in node.js using express. The function is calling a webservice, transforming/enhancing data and returning transformed data as csv using response. Execution time of one get request is between 4 minutes 30 seconds…
WehPehDat
  • 1
  • 2
0
votes
0 answers

LoadingScreen drawing issue without Application.DoEvents Why?

I have a mainform with a simple button to test my loading screen. public partial class MainForm : Form { public MainForm() { InitializeComponent(); } private void loadingscreenTest(object sender, EventArgs e) { …