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
5
votes
3 answers

Reliable(durable) distributed logging engine

Trying to find a commercial logging framework for distributed systems. This framework must allow .NET applications on a Remote Server to log messages which can then be collected in a Central Location. If possible the Central Location should store…
5
votes
1 answer

Reliability of localStorage and alternatives. (PhoneGap for iOS, Android, WP7, WP8 and BlackBerry)

I am working on PhoneGap mobile application and I am looking into Data Storage options. My requirements: 1) small data needs (will never exceed or get even close to 5Mb limit) 2) able to port application to all major platforms with minimal tweaks…
bobetko
  • 5,019
  • 14
  • 58
  • 85
5
votes
1 answer

Modifying a built-in .NET collection int.MaxValue times and more - potential overflow error

Back in time when .NET Reflector was free I used it to gasp into the .NET framework code. It came to my attention that most collections in .NET 2.0 (I believe this is applicable for current versions too) use the following mechanism to recognize…
Ivaylo Slavov
  • 8,839
  • 12
  • 65
  • 108
4
votes
2 answers

Two generals' agreement

I am trying to figure an agreement protocol on an unreliable channel. Basically two parties (A and B) have to agree to do something, so it's the two generals' problem. Since there is no bullet-proof solution, I am trying to do this. A continuously…
4
votes
1 answer

Can SqlException.LineNumber be used to identify whether an exception is related to connectivity?

I looked though Transient Fault Handling Framework code trying to address temporary loss of connectivity to SQL Server. There's one key point there: SqlException is thrown both when there's an SQL-related problem (like syntax error) and something…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
4
votes
1 answer

Apache Camel smtp component hangs the whole bus if mailserver is down

I have what I think is a very common scenario. I have an invoice system that is managed via Apache Camel. When something goes wrong I would like to have an email alert sent to the administrator. After reading about Camel exception handling I came up…
kazanaki
  • 7,988
  • 8
  • 52
  • 79
4
votes
1 answer

Postgres setting upper limit per query resource usage

I am wondering if, when issuing queries to a postgres database, it is possible to set an upper bound on the various system resources it may consume. For example, "X Query may use up to, but no more than, 40% CPU at any point in its…
Pat Marx
  • 319
  • 2
  • 12
4
votes
4 answers

Firebird for cloud application?

I will start a POS (point of sale) system that will begin as a regular intranet system (in his initial-beta stage) but I want to scale later to a cloud offering. I will offer it as a hybrid solution. I want it to use firebird, because the easier…
mamcx
  • 15,916
  • 26
  • 101
  • 189
4
votes
0 answers

Using a Constrained Execution Region to Handle StackOverflowExceptions

Having read this article (and others) on .NET reliability features, I am led to believe that the following code should handle StackOverflowExceptions: class Program { private static int s_exitCode = -1; static int Main(string[] args) { …
Chris Ward
  • 708
  • 7
  • 19
4
votes
3 answers

Benefits of using MS Queue

How can using something like MSMQ help with scalability and reliability? In the scenario of one web server to one database server does it help at all? Any comments or links would be greatly appreciated. Thanks EDIT: The web server will be running…
Iain Hoult
  • 3,889
  • 5
  • 25
  • 39
4
votes
1 answer

Ingesting a log file into HDFS using Flume while it is being written

What is the best way to ingest a log file into HDFS while it is being written ? I am trying to configure Apache Flume, and am trying to configure sources that can offer me data reliability as well. I was trying to configure "exec" and later also…
sgsi
  • 382
  • 1
  • 8
  • 18
4
votes
3 answers

Adding Custom WCF header to Endpoint Programatically for Reliable Sessions

I'm building a WCF router and my client uses Reliable Sessions. In this scenario when the client opens a channel a message is sent (establishing a Reliable Session?). Its contents is as follows:
John K
  • 830
  • 1
  • 7
  • 18
4
votes
4 answers

Is using enum for integer bit oriented operations in C++ reliable/safe?

Consider the following (simplified) code: enum eTestMode { TM_BASIC = 1, // 1 << 0 TM_ADV_1 = 1 << 1, TM_ADV_2 = 1 << 2 }; ... int m_iTestMode; // a "bit field" bool isSet( eTestMode tsm ) { return (…
PeterK
  • 6,287
  • 5
  • 50
  • 86
4
votes
3 answers

Force memcached to write to all servers in pool

I have thought a bit on how to make sure that a particular key is distributed to ALL memcached servers in a pool. My current, untested solution is to make another instance of memcached, something like this: $cluster[] = array('host' =>…
Industrial
  • 41,400
  • 69
  • 194
  • 289
4
votes
1 answer

Sorting with a lie

The Question: Consider the problem of sorting n items, where the comparison oracle, in the execution of an algorithm, is allowed to lie at most once. Complexity is measured in terms of the number of comparisons (oracle consultations) used. Show how…