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

How to find the long running queries

MarkLogic 9.0.8.2 We would like to see the long running queries on MarkLogic App Server. We were looking at documentation and this link This knowledgeable talks about running "appserver-status.xqy" in qconsole to generate report on queries running…
Manish Joisar
  • 1,256
  • 3
  • 23
  • 47
0
votes
0 answers

Masstransit - turnout with a consumer

I have a long running PDF generation as part of a SAGA, so I read about the Turnout and I am trying to use it. However I have a complex consumer - several calls to DB, dependency on 3rd party service for generating the PDF and etc. I have troubles…
dnmitev
  • 71
  • 10
0
votes
0 answers

Long Running Task Issues

I want to Run my Api Mthod in background and using await task.whenall to long run my method. I want to run this method in background. Now when i run application api call from layout application using javascript and then run Tasks in background using…
0
votes
0 answers

how to distribute oracle transaction in java for long running query

I have below java code where i am trying to fetch data using select query and then import this data into json format. The problem is currently i am getting error ORA-02063: preceding line from ABSTP ; nested exception is…
Andrew
  • 3,632
  • 24
  • 64
  • 113
0
votes
1 answer

Best way to approach long running tasks (but not cpu, memory intensive) in GCP

We built a web application where we utilized firebase functions for lightweight works such as login, update profile etc. and we deployed 2 functions to App Engine with Nodejs. Function 1: Downloading an audio/video file from firebase storage and…
0
votes
0 answers

What is a practical solution to a long running program?

I have a .Net console application that is supposed to be long running and continous , basically 24 hours a day. It's for a rabbitmq consumer client. I am opening 30 channels on 1 connection, and each channel is responsible for 7 different queues.…
0
votes
1 answer

Message field and message window

On a WPF form I need two status messages in a text field while the program does some lengthy task: "Started" and "Finished" to keep it simple. The message is shown in a textblock bound to a property with OnPropertyChange in the setter of…
0
votes
1 answer

It is ok to have long running processes in NServiceBus with SQL Server transport?

I have long running process running in the message handler, I noticed that I can't read from the table while the task is in process. Is this ok? Or is there a better way to handle long running processes? My transport is SQL Server. Thanks in…
0
votes
2 answers

Spring, MVC, Java, making a singleton bean do an action every 5 seconds?

I have a Spring MVC app where I am using a singleton bean that stores a large hashmap object. I am using NeoDats object DB to persist this as it is a sort of search engine application and we are using it so that we can search through the hashmap…
Rick
  • 16,612
  • 34
  • 110
  • 163
0
votes
1 answer

Whats the TTL for a message if the message receiving mode is ReceiveAndDelete in Azure Service Bus?

I receive a message from Service Bus in ReceiveAndDelete mode and start running a very long computational process which after completion sends a mail. I have error logging in all my methods in my long running method. However the method runs for…
0
votes
0 answers

I have two queries to optimize which is long running in production. I have used all possible indexes present in the tables. Any suggestions?

First query to optimize, with table ODS_SAMPLE having 100 millions of records, and table B having hundreds of thousands of records. INSERT /*+APPEND */ INTO TEMP_SAMPLE_00 NOLOGGING (SELECT OBJEK, ATINN, ATZHL, MAFID, …
0
votes
0 answers

Android foreground service that can't be killed?

Though it may look odd but I am developing an application that will ran on a one specific device with Android 6.0.1 and I don't care about other devices. The app should accomplish a long (very long) running work without any user's interaction as a…
Kanarsky
  • 162
  • 1
  • 10
0
votes
0 answers

Have any chrome flags, that auto continue long running script?

For example I see popup message saying: script make your browser more slow and buttons stop script or continue script/wait script Can I use any chrome flag that chrome auto press "continue script" or not show me this message, and not break the…
0
votes
3 answers

Improve Performance for reading file line by line and processing

I have a piece of java code which does the following - Opens a file with data in format {A,B,C} and each file has approx. 5000000 lines. For each line in file, call a service that gives a column D and append it to {A,B,C} as {A,B,C,D}. Write this…
0
votes
2 answers

DB Connection in PHP Socket Server

I'm running a Yii2 console application which starts a websocket chat service. That all is working fine and as it's supposed to, but after some time of inactivity I get SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. I tried to…
Fussel
  • 1,740
  • 1
  • 8
  • 27