Questions tagged [reliability]

Reliability is the ability of a system or component to perform its required functions under stated conditions for a specified period of time.

Reliability is the ability of a system or component to perform its required functions under stated conditions for a specified period of time.

305 questions
3
votes
1 answer

How to keep a script running all the time in linux?

I'm trying to run a simple python script all the time. I want it to start automatically on bootup and be able to recover from failures. That is, if there is a failure that causes the script to stop, I don't really care and just want it to start…
tarabyte
  • 17,837
  • 15
  • 76
  • 117
3
votes
1 answer

Are file mod times a reliable way to determine if a file has changed?

Assuming I want to recompile some files only if they've changed, is using the file modification time a reliable source? I know a lot of people use hashes, but is that really necessary? Does this depend on the OS or file system? If a file is…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
3
votes
3 answers

When running a shell script, how can you protect it from overwriting or truncating files?

If while an application is running one of the shared libraries it uses is written to or truncated, then the application will crash. Moving the file or removing it wholesale with 'rm' will not cause a crash, because the OS (Solaris in this case but I…
Joseph Garvin
  • 20,727
  • 18
  • 94
  • 165
3
votes
1 answer

ReliabilityContract and IComparer (or other injected code)

In writing some code to mimic an as-complete-as-possible emulation of System.Array, I have come across something that I find confusing and dangerous. With the following method signature: [ReliabilityContract(Consistency.WillNotCorruptState,…
danwyand
  • 684
  • 4
  • 14
3
votes
1 answer

Reliable data transfer over an UnReliable Channel

I have a data channel which can transfer some data over it, the channel is a wireless system implemented by myself with a low reliability 90% and very low bandwidth due to physical limitation. In order to overcome this, I'm planning to wrap the…
Kirill Kulakov
  • 10,035
  • 9
  • 50
  • 67
2
votes
1 answer

C# How can I make sure that required UDP data gets to the client/server?

I have been recently writing a UDP server for a 2D shooter game I am making in C# and XNA for PC, which will update and send world data, entity data, chat data .etc when required. A question recently sprinted into mind when I was creating a way for…
seandewar5
  • 299
  • 1
  • 3
  • 10
2
votes
2 answers

google protocol buffers - probability of bit errors and ways to reduce them

I transmit a fairly large amount of google protocol buffer msgs over a VPN over wireless over internet via TCP, and I feel like I get a relatively high error rate (e.g. a boolean field switching from false to true or sth similar). Something between…
Cookie
  • 12,004
  • 13
  • 54
  • 83
2
votes
3 answers

Calculating a correlation coefficient that includes missing values

I'm looking to calculate some form of correlation coefficient in R (or any common stats package actually) in which the value of the correlation is influenced by missing values. I am not sure if this is possible and am looking for a method. I do not…
user883210
  • 94
  • 2
  • 10
2
votes
1 answer

mixture copula in R

I want to use mixture copula for reliability analysis, now ,with the help of a friend ,I've already finished it ‘RVMs_fitted’ 。now i want to perform the probability integral transformation (PIT),but the function of RVINEPIT can’t use,because…
HIteWIng
  • 33
  • 5
2
votes
1 answer

OpenAPI Generator vs. CDC Testing with Pact

We're overhauling our frontend and backend service contract reliability and are investigating two tools/techniques that seem to conflict. Consumer and provider code generation from an OpenAPI Spec (OAS) with a tool like openapi generator vs.…
2
votes
1 answer

how do I measure error budget consumption for rolling windows?

I have a SLO for one application where 95% of service response times must be less than 450ms over a rolling 24 hour window. I sample once every 60 seconds. Typically my "current service level" is around 96-97%. If the service level falls below 95%…
Miked
  • 21
  • 1
2
votes
2 answers

Memory and some more information about JavaScript

How does the memory work in JavaScript? Is there a stack? A heap? How does memory management work? When does the binding between the varriable and its place in memory occurs? Before or during runtime? Is there modules or anything similar in…
2
votes
1 answer

Warning Message: In matrix(unlist(drop.item), ncol = 10, byrow = TRUE) : data length [16] is not a multiple of the number of columns [10] >?

I've been working on a data analysis with no hick-ups whatsoever. But when I try to find the Cronbach's alpha for certain(!) variable combinations - R insists that the data length is not a multiple of the number of columns. Here is one…
2
votes
2 answers

Using a loop to create table with results of ICC in r

I created a loop to calculate the icc between two raters. For each rater (R1, R2) I have a data frame of the 75 variables in columns and 125 observations. library(irr) for (i in 1:75) { icc <- icc(cbind.data.frame(R1[,i],R2[,i]), model="twoway",…
Miricy
  • 35
  • 6
2
votes
4 answers

How do I detect unexpected worker role failures and reprocess data in those cases?

I want to create a web service hosted in Windows Azure. The clients will upload files for processing, the cloud will process those files, produce resulting files, the client will download them. I guess I'll use web roles for handling HTTP requests…
sharptooth
  • 167,383
  • 100
  • 513
  • 979