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
3 answers
How to do long running job and not wait for the result with ASP.NET MVC?
How to do long running job and not wait for the result with ASP.NET MVC?
That job can be sending millions of emails, sending push notifications or any other long running job/process that we do not care for when that is being done, we just need to…

Lyubomir Velchev
- 962
- 2
- 11
- 30
0
votes
0 answers
Multiple Images Processing using Parallel and Task
I'm writing a C# windows form application that provide end-to-end image processing system. The system consists of many image processing blocks (i.e, scaler, noise reduction,...), each block is a algorithm that is written in C, and I've built the…

Nghiep Ly
- 11
- 2
0
votes
1 answer
the proper way to run a binary in a separate process without a return value
How can I execute an external binary from within my php code, without the page waiting for a return value before it is sent?
Let me clarify. I have a web application that needs to do some fairly cpu intensive tasks, like a lot of file IO amongst…

Sam Redway
- 7,605
- 2
- 27
- 41
0
votes
1 answer
.NET 4.5 Polling Progress Example Please
I want to run a long running process in a windows service asynchronously - and poll the process every 3 seconds and report back using SignalR. The code below will ( theoretically ) do this in an event based way , but I don't want to be firing of…

Martin Thompson
- 3,415
- 10
- 38
- 62
0
votes
1 answer
Executing long-running task from Tapestry using already existing EJB service
I have the following situation.
I have my web site written in Tapestry. On one of the pages, I'm required to generate a fairly large Excel or PDF document (around 20 MB). Now, since the entire process takes time, I'm asking my user to wait a…

ioreskovic
- 5,531
- 5
- 39
- 70
0
votes
1 answer
ASP.NET sync long process w/ Requirements
I am working with an e-commerce platform, and I have a task to synchronize with some remote accounting software. The task requires syncing orders, products, inventory...etc. With large amounts of data being synced,the process can take awhile. So, I…

user204588
- 1,613
- 4
- 31
- 50
0
votes
1 answer
Long script in PHP works but content is not sent to browser
I have a CakePHP controller action which can take up to 15 minutes to run.
I have set PHP's time_limit to accomodate that and the script runs OK.
The problem my client is facing is that the script does not provide any return, as it seems that the…

Pbal
- 185
- 14
0
votes
1 answer
WCF service library which hosts in Windows service for Long Running task
For doing long running task, is it a good approach to depending on WCF service library which hosts in Windows service?
These long running tasks are initiated from a website. Multiple users can login to the website and can initiate the task. But that…

Dev
- 309
- 1
- 8
- 24
0
votes
1 answer
Display loading message until complete SQL data retrieve
I'm using WeifenLuo dockpanel-suit.
I need to show some kind of splash form or loading message before SQL complets loading data.
What I've tried didn't work
public partial class frmPostventa : DockContent
{
private void…

Horaciux
- 6,322
- 2
- 22
- 41
0
votes
1 answer
Grand Central Dispatch restart long running process if required
I'm new to GCD, so hopefully I've got the right idea here, but need some advice....
I have an app which needs to do some render processing in the background to maintain performance. So I am using the following code.... ('ish)
dispatch_queue_t…

Fittoburst
- 2,215
- 2
- 21
- 33
0
votes
1 answer
What are the best ways to launch a very long backround process from a java web app?
When you want to launch scripts (.sh,jar,.py,.pl...) running more than some hours by a simple click on a user interface(for example a nice jsf page).
What are the best methods to throw process.
Running.exec() method , the use of Threads or…

ZheFrench
- 1,164
- 3
- 22
- 46
0
votes
2 answers
How to implement long-running tasks in asp.net
I am implementing a ASP.Net 4.0 Application in which on button click 1000 around rules will be evaluated.It is taking 10 minutes to evaluate all rules.
How to show progress in web page.
That should allow the user to do other tasks like cancellation…

Siva
- 109
- 1
- 6
0
votes
1 answer
Load DOM then manipulate during long-running operation
I'm writing a .aspx page that contains several different steps and in one of those steps is a long-running operation (syncing information with a web-service). So when the page starts to load that step it will obviously get hung during that operation…

Josh Braun
- 490
- 2
- 16
0
votes
1 answer
Objective-c Long Running Task Thread Confusion
My app needs to do some internet related operation then pop that view when I send the application to background. And then the root view controller fetches some data and updates the collection view. Do you have any idea how can I solve following…

user1433743
- 59
- 8
0
votes
2 answers
Intermittently echo out data with long-running PHP script
I have a PHP script that makes a bunch of cURL requests. After each cURL request, I want to echo out some data, but presently, data only gets echoed out after every 5-10 cURL requests.
I've tried using ob_flush and flush, but it doesn't seem to make…

HartleySan
- 7,404
- 14
- 66
- 119