long-running-processes Questions

2

Solved

I have a "High-Precision" timer class that I need to be able to be start, stop & pause / resume. To do this, I'm tying together a couple of different examples I found on the internet, but I'm n...

5

I have some long running process which I want to run even if application goes in background. I am calling application's beginBackgroundTaskWithExpirationHandler: method and in the expirationBlock I...
Josefajosefina asked 28/4, 2015 at 12:29

4

We are using a long running PowerShell script to perform a lot of small operations that can take an extremely long amount of time. After about 30 minutes the scripts froze. We were able to get the ...
Quito asked 8/7, 2010 at 14:8

0

Consider a nodejs cpu-bound program that generate primes numbers: // generatePrimes.js // long running / CPU-bound calculation function generatePrimes(start, range) { const primes = [] let isP...
Manvell asked 22/4, 2021 at 10:13

5

What is an appropriate solution for long running computations in Azure App Service and .NET Core 3.1 in an application that has no need for a database and no IO to anything outside of this applicat...

2

I've got a Google Cloud PubSub topic which at times has thousands of messages and at times zero messages coming in. These messages represent tasks which can take upwards of an hour each. Preferably...

4

Solved

.net 4.5, asp.net mvc: What is the best way to run long-lasting process (1-2 minutes) from ASP.NET application giving it should be run in a single-threaded environment, I mean the process is initia...
Lustrous asked 23/10, 2012 at 20:34

2

Solved

I need a controller action that: Authorizes the call Validates it Returns the 202 Accepted status Continues processing the request Makes a call to external API with the results of previously acc...

1

Solved

I have this scenario where I have a WebApi and an endpoint that when triggered does a lot of work (around 2-5min). It is a POST endpoint with side effects and I would like to limit the execution so...

4

Solved

I'm looking for a way to limit the max running time of a query on mysql server. I figured this could be done through the my.cnf configuration file, but couldn't find anything relevant in the docs. ...
Kamerman asked 25/1, 2011 at 14:39

2

Solved

At my work, I needed to build a new join table in a postgresql database that involved doing a lot of computations on two existing tables. The process was supposed to take a long time so I set it up...
Vesta asked 28/2, 2016 at 17:6

1

Solved

We are implementing a REST API, which will kick off multiple long running backend tasks. I have been reading the RESTful Web Services Cookbook and the recommendation is to return HTTP 202 / Accepte...

2

Solved

I want to execute a stored proc by clicking on a button developed in JSF and Java. The proc takes roughly around 30 minutes in execution. When the user clicks on this button, s/he should get a def...
Bitchy asked 7/8, 2015 at 7:55

1

Solved

NodeJS server with a Mongo DB - one feature will generate a report JSON file from the DB, which can take a while (60 seconds up - has to process hundreds of thousands of entries). We want to run ...

3

Solved

We have a .NET Windows service that shovels a lot of highly critical data from A to B in a transactional manner. We also need to make sure that all external compontents used in the service are una...
Khalilahkhalin asked 16/9, 2011 at 6:42

2

I have a WCF service set to PerCall I would like to know how I can send a Start call from the client to start a long running process, and send a Cancel command to cancel it My WCF service looks s...
Bootle asked 10/3, 2013 at 17:6

2

Solved

I have an application A that I would like to be able to invoke arbitrary other processes as specified by a user in a configuration file. Batch script B is one such process a user would like to be ...
Kindling asked 21/9, 2009 at 9:1

2

Solved

I have to do some long work in my Flask app. And I want to do it async. Just start working, and then check status from javascript. I'm trying to do something like: @app.route('/sync') def sync()...
Hamrick asked 7/9, 2012 at 11:59

3

Solved

I need to write some data to database every 50 seconds or so. It's similar to a Windows service that's running on background and silently doing its job. Starting and stopping is not an option in my...

4

We would like to do some automated integration testing of a process that requires sending data to an external source and then validating that the data has been correctly displayed on their website....

2

Solved

I have a .NET function that does some complex calculation. Depending on the parameters that are passed in, the function: Takes anywhere from several minutes to several hours to run Uses 100% of a...
Ygerne asked 12/11, 2010 at 9:47

1

Solved

I have a javascript that takes about 2 seconds to execute (complex optimization algorithm). I want to set certain span to "working..." at the beginning of the function. I observe that the span does...
Ogdan asked 23/10, 2010 at 17:1

4

Solved

I have a python web application that needs to launch a long running process. The catch is I don't want it to wait around for the process to finish. Just launch and finish. I'm running on windows X...
Whack asked 3/6, 2010 at 21:52

3

Solved

I have an asp.net (mvc) web site. As the part of the functions I will have to support some long running operations, for example: Initiated from user: User can upload (xml) file to the server. On t...

4

Solved

I know there's a bunch of APIs out there that do this, but I also know that the hosting environment (being ASP.NET) puts restrictions on what you can reliably do in a separate thread. I could be c...
Swashbuckling asked 25/3, 2010 at 22:4

© 2022 - 2024 — McMap. All rights reserved.