long-running

Giving user feedback during long-running process and user-interface/business-logic separation

When a long-running process is being executed, it is a good practice to provide feedback to the user, for example, updating a progress bar. Some FAQs for GUI libraries suggest something like this: function long_running_progress() do_some_work() update_progress_bar() while finish do_some_work() update_progres...

PHP Daemon/worker environment

Problem: I want to implement several php-worker processes who are listening on a MQ-server queue for asynchronous jobs. The problem now is that simply running this processes as daemons on a server doesn't really give me any level of control over the instances (Load, Status, locked up)...except maybe for dumping ps -aux. Because of that I...

Dealing with a longer running process in WCF

In the app I'm currently working on we are using a couple of WCF services with a lot of methods. Until now, all methods are very short running, often just getting some data. I've just added a method that takes a way longer time to run. I do not want to raise the timeout in the config, because 1 minute is long enough for all other metho...

How do you manage versions in Workflow Foundation?

How do you manage versions of workflows in WF when you have long running workflows and you might have two or three versions in the persistence store at the same time and have to be able to access them all? ...

(Win/C#/.Net) Applet needs to poll at hourly interval - recommendations on best method?

Applet needs to poll for existence of a directory, say, every 1-4 hours, and send a couple emails/NET SENDs if it is not found. Not sure on exact interval yet, but it will definitely not be shorter than 1 hour. The overall "job" will be permanent and continuously-running for the foreseeable future. Applet will be running on a Win2k3 S...

Long-running transactions structured approach

I'm looking for a structured approach to long-running (hours or more) transactions. As mentioned here, these type of interactions are usually handled by optimistic locking and manual merge strategies. It would be very handy to have some more structured approach to this type of problem using standard transactions. Various long-running i...

long running http connection never gets response back

I am making an http request which ends up taking more than 8 mins. For me, this long running request work fine. I am able to get a response back to my browser without any issues. (I am located on the same network as the server). However, for some users, the browser never returns any response. (Note: When the same http request executes i...

asp.net ThreadPool - long running operation.

My application is a asp.net 3.5 running on iis 6 (windows 2003) This application is serving 1000's of users daily (100-500 users online). I want to send an email newsletter to customers weekly. Around 200,000 emails every time. This is the code im using: ThreadPool.QueueUserWorkItem(new WaitCallback(AsyncProcessMailerQueue), null);...

long running process behind .NET service

I would like advice from the architecturally minded on the best framework or method for the following: server: a windows service in .NET client: any mainstream language, a combination of .NET app/web app, and also some clients that are Ruby on Linux. One idea I had was to have the Windows Service expose itself as a Web Service, and su...

Communication framework recommendation

I have two applications, and one is keeping sending live images to the other and it need to be long-running. WCF - is it suitable? TCP/IP directly? Service bus, NServiceBus? Is there any better alternative for this communication? ...

Is there something like a "long running offline transaction" for NHibernate or any other ORM?

In essence this is a followup of this question. I'm beginning to feel that I should give up the whole idea, but I'll give it one more shot. What I want is pretty much like a DB transaction. It should track my changes to the DB and then in the end allow me to either commit or rollback them. If I insert an object, I should get it back in ...

Can I get the IE debugger to break into long-running javascript

I have a page that has a byzantine amount of javascript running. In IE only, and only version 8, I get a long-script warning that I can reliably reproduce. I suspect it is event handlers triggering themselves in an infinite loop. The Developer Tools are limping horribly under the weight of the script running, but I do seem to be able ...

WCF for long-running big data stream communication?

I want to use WCF to send live images from one app to a remote app, and the communication maybe last months, is WCF suitable for this scenario? thanks. ...

PHP: Coding long-running scripts when servers impose an execution time limit

FastCGI servers, for example, impose an execution time limit on PHP scripts which cannot be altered using set_time_limit() in PHP. IIS does this too I believe. I wrote an import script for a PHP application that works well under mod_php but fails under FastCGI (mod_fcgid) because the script is killed after a certain number of seconds. ...

WCF Duplex timeout problem

Hi, I've been searching the web for the last two days, but by no means, I can get my WCF Duplex service working. I've created a demo project which can be download from skydrive: WCFDuplexDemo.zip For the purpose of minimizing the number of possible error causes, I've decided to just return a short string in the callback handler becaus...