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
javascript subscribe to callback function after instanciation
I have a Javascript Object made this way:
function App(callback){
// Call some "long running functions meant for initialization
callback(this);
}
In my main Template page (_Layout.cshtml on ASP MVC) I instanciate it like this:
_Layout.cshtml
var…

l.raimondi
- 389
- 2
- 14
0
votes
2 answers
How can I pause a long running loop?
I have a question about pausing / resuming a long running program. I'll use Python in this example, but it could be for any programming language really.
Let's say I want to sum up all the numbers to a billion for example
results = []
for i in…

user1610950
- 1,837
- 5
- 33
- 49
0
votes
1 answer
PHP long running process in browser
Situation: I've got an php script which runs a lot of requests to the Google Pagespeed API. These requests take a while. I've programmed a script which run perfectly while I'm in my local development enviorement (no max_execution_time is set). Well,…

Jan Andrè Schlösser
- 45
- 1
- 2
- 7
0
votes
1 answer
Correct handling of long-running HTTP processes
I am building a REST-style Back End web service which serves up pre-generated blobs of data to a Front End site. The blobs themselves are not large and can easily be satisfied in a single HTTP response/request. The Back End is written in PHP.
It…

David Christie
- 201
- 2
- 6
0
votes
1 answer
Long running requests on iOS
I'm working on an app whose requests to the server can end up lasting quite some time, think 10 - 30 minutes. I think it's pretty safe to say that undoubtably, the user will go into the background during the request's execution.
I've got this to…

D6mi
- 611
- 7
- 16
0
votes
1 answer
javascript dynamic content with select long running script
Basically been trying to figure out some javascript stuff, so was making a couple of divs, and a select, so depending on the selected option, depends on what div is shown/hidden.
It seems to work ok, hiding all but the first div after loading, then…

wsjlisseter
- 99
- 1
- 1
- 10
0
votes
0 answers
AWS Lambda Send Get Request without Callback
I want to call a get service without receiving its response. Basically that service is a long running process that takes around a minute to respond. To save the Lambda cost I am looking to call it and terminate the function immediately.
Following…

Sadiq Khoja
- 522
- 1
- 5
- 23
0
votes
1 answer
StartActivity code line not actually ran before thread start
I have an overlay activity that starts before my app executes long running operations and closes it after ending that operation.
The operation works fine, but the overlay activity doesn't show up.
btnVerify.Enabled = false;
Intent i = new…

Mohsen.Sharify
- 259
- 4
- 11
0
votes
1 answer
C# -> Windows service -> WCF ServiceHost -> ? How to implement long running process
I'm developing a service, which is to run 24/7 and is to be controlled over MVC web-site, but it's not that important.
What does matter though, is that What I have now is (for windows service):
protected override void OnStart(string[] args)
…

Anatolyevich
- 671
- 5
- 14
0
votes
1 answer
Can php.exe run for applications that run for weeks or months together, continuously, without crashing?
Can php.exe run for applications that run for weeks or months together, continuously, without crashing?
Ex: A UDP or a HTTP/TCP server (or Network) application. I hear it has not been developed for long running applications all the time. I believe…

Gary
- 2,293
- 2
- 25
- 47
0
votes
1 answer
Long-Running processes and hosting providers?
I have a python data analysis script that runs for many hours, and while it was running on my desktop, with fans blazing I realized I could just run it on a hosting account remotely in bkgnd and let it rip.
But I'm wondering - is this generally…

RossGK
- 515
- 2
- 7
- 19
0
votes
1 answer
Long-running background tasks with progress notifications
I have an ASP.NET website with a a number of long-running (5 mins to 2 hours) user-initiated tasks. I want each user to be able to see the progress of there own jobs, and be able to close their browser and return at a later time.
Current plan is to…

Simon
- 5,373
- 1
- 34
- 46
0
votes
2 answers
execute long lasting php code with connection to database
I have to execute a PHP code just one time to make some changes in my database to have better tables. The code is too heavy and send more than 190000 queries to database (both select and insert).
Now the problem is when I execute it on the browser,…

shekoufeh
- 559
- 2
- 5
- 11
0
votes
1 answer
Processed number of rows for an ongoing SQL statement
We copy big tables from one Oracle database and merge them to another database. Thus we have very long running insert statements.
I would like to know have many rows have already been processed. I know this can be done with Oracle, since…

Franz
- 119
- 3
- 8
0
votes
1 answer
Asp.net long running process using asynch page
I have a report that takes about 2 or 3 minutes to pull all the data
So I am trying to use ASP.net Asynch pages to prevent a timeout. But can't get it to work
Here's what I am doing :
private delegate List…

ChrisCa
- 10,876
- 22
- 81
- 118