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

WebClient memory usage in long running process

I have a service that I am writing that will poll a web service approx once every second to see if data is available for the client. The reason the polling frequency is so frequent is that the data get's sent to the client workstation that the…
0
votes
1 answer

Android Continuous Data Usage Monitoring

In our application we need to maintain logs for calls,sms and internet. In case of Internet we want to know the data usage of each application on daily, weekly or monthly basis. We are able to figure out running applications' names through…
user2011302
  • 391
  • 1
  • 4
  • 22
0
votes
2 answers

How to cancel a long running job in a SWT UI

I have a long running operation such as copying a large zip file to a temp directory, extracting it and then copying it's contents to a destination path. I also show a progress bar while the operation is in progress. I am supposed to implement this…
Abbas
  • 3,144
  • 2
  • 25
  • 45
0
votes
1 answer

Workflow Foundation - Pending Timers on Server Restart

I have a workflow built in a way that it has delay activity which causes it to persist, and after delay has expired, a notification is sent. Workflow is exposed via Workflow Services. This works perfect except for the scenarios when the server…
0
votes
1 answer

Programme which stops without errors or warnings before entering the function

Please help! After I run my programme, it does neither breaks, nor any errors or warnings appear and debugger stops in exactly the same moment, before it should approach function - "stworz_inaczej". What's wrong with that? Code below: #include…
thinktanker
  • 129
  • 2
  • 12
0
votes
3 answers

Work managers threads constraint and page cannot be displayed

We have a memory intensive processing for certain functionality and we would like to limit the number of parallel requests to this processing. We are able to configure by using "Work Managers" in WebLogic and putting a limit on the number of threads…
user175698
0
votes
0 answers

long running sql procedure hangs website

I have an MVC 4 web application that calls the business layer which calls a data layer method ExecuteSP asynchronously. The data layer method ExecuteSP calls a long running stored procedure like this: public class MainDataLayer { private…
user20358
  • 14,182
  • 36
  • 114
  • 186
0
votes
4 answers

Performance impact of long running stored procedure

I have a requirement to call a stored procedure which can take up to 15 minutes for each call on SQL Server 2008 database. Will it cause performance impact on other systems accessing the same database / database server? If so, how can I minimise…
0
votes
0 answers

Php - listening on a port - but run on demand

I am not sure on any of the technical terms, but I think I am describing this in an understandable way. I am going to write a php script which will listen on a port, and send out data as necessary, i.e. a basic game listening process. There are many…
Rewind
  • 2,554
  • 3
  • 30
  • 56
0
votes
3 answers

Node.js reloading module bug

I'm reloading a module this way: require('./module.js'); // require the module delete require.cache('/module.js'); // delete module from cache require('/module.js'); // re-require the module But there is a problem if the…
Adam Halasz
  • 57,421
  • 66
  • 149
  • 213
0
votes
1 answer

Independent thread in Asp.net 4.5

protected void Button1_OnClick(object sender, EventArgs e) { FineTuneDB();// Long Task running in db SendSMStoAllClients();// Using Twolio API to send sms to all client long task lblText.Text = "Button click is completed our system…
SOF User
  • 7,590
  • 22
  • 75
  • 121
0
votes
2 answers

how to prevent server to block execution on long time running script

i have a big script written in php, which should import a lot of informations in a prestashop installation, using webservices, this script is written in "sections" I mean, there is a function that import the categories, another one that import…
Matteo Bononi 'peorthyr'
  • 2,170
  • 8
  • 46
  • 95
0
votes
1 answer

Application that uses own queues as holders of long-term process operations

I want to make a long-term process handler and use for it NServiceBus. The role of NServiceBus is to hold an operations of that process (some kind of batch process) The problem is that I have more than one type of long-term processes and each of…
Tim Gim
  • 174
  • 1
  • 1
  • 10
0
votes
2 answers

How to fire off and poll a windows service from asp.net page

client wants an asp.net page that has a button to fire off a database update from an external source with hundreds of records. This process takes a long time. He also wants status update as the process runs, like "processing 10 out of 1000 records".…
0
votes
1 answer

Long Running WF 4 Pattern

I am trying to achieve the following: Start a workflow that may go running for a long time which includes custom activities; These custom activities will follow the pattern of creating a bookmark and waiting for its resume; Return the started…
Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74