reliability

Does Windows Azure offer static IP for VMs? [closed]

拥有回忆 提交于 2019-12-06 17:21:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have been trialling the Bizspark / Azure offer for my company. When we accidentally exceeded our free usage limit by 1c, Microsoft deleted our VMs and handed our IP addresses to other customers. This was done instantly, out of hours and without prior warning. It took three days for the DNS changes to propagate

Is activemq reliable?

馋奶兔 提交于 2019-12-06 07:58:04
We have put ActiveMQ on a fresh server. Configured it to use 'kahadb' (the preferred as we read) and set it to allow the file to expand to 2gb. Then when we put load on the queue (+- 500/sec), within a few minutes activemq crashes. When ActiveMQ tries to restart, it can't because the db is corrupt: 2010-11-29 13:00:50,359 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain java.io.EOFException at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383) at java.io.RandomAccessFile.readFully

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

帅比萌擦擦* 提交于 2019-12-06 06:38:27
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 running again. I'm OK if the whole device restarts. I just tested a working script using init.d , but am not sure how to recover from a failure? Have a cronjob check for the existence of a pid? I'd also like to check for integrity. That is, I'd like to make sure the script was not modified accidentally by some other process. I've heard of checking a

What will it take for Transactional Memory to be viable?

六月ゝ 毕业季﹏ 提交于 2019-12-06 05:22:51
问题 I've been doing some work on transactional memory and its viability for systems programming (databases, operating systems, servers, etc.). My own experience employing transactions, together with having seen how few communities use transactions in real code, has raised a question: What would convince you, a developer writing production code, to employ transactional memory in your work? Would it be general adoption? High speed? Improved reliability? By how much? For those that haven't seen them

How to test reliability of my own (small) embedded operating system?

血红的双手。 提交于 2019-12-05 08:14:28
I've written a small operating system for embedded project running on small to medium target. I added some automated unit test with a high test code coverage (>95%), but the scope is only the static part. I got some code metrics as complexity and readability. I'm testing my code with a rule checker with MiSRA support, and of course fixed all warnings. I'm testing the code with a static analyzer and again fixed all warnings. What can I do now to test - and improve - the reliability of my OS ? How about the dynamic part ? Try writing some unit tests for the dynamic part. Then run the tests on

Are sockets reliable?

杀马特。学长 韩版系。学妹 提交于 2019-12-05 05:31:05
Is it a good idea to use sockets to send data between two servers, or should I use something like MQ for moving data. My questions: are sockets reliable, if I need once only/assured delivery of the data? Are there any other solutions? Thanks. Sockets are an application level API for performing network communication. The reliability of sockets depends on the network protocol that you select when you create the socket. If you select TCP/IP, you will get "reliable" transfer ... up to a limit. If you select UDP/IP you will get "unreliable" transfer. As stated in other answers, TCP ensures that you

Does Windows Azure offer static IP for VMs? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-05 00:30:42
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have been trialling the Bizspark / Azure offer for my company. When we accidentally exceeded our free usage limit by 1c, Microsoft deleted our VMs and handed our IP addresses to other customers. This was done instantly, out of hours and without prior warning. It took three days for the DNS changes to propagate for our new IP address and during this time, anyone accessing our web sites saw the sites of random

Does Windows Azure have anything readily available against denial of service attacks?

主宰稳场 提交于 2019-12-04 20:13:05
问题 We're developing a web service hosted in Windows Azure. We expect that at some moments bad guys try to DDOS it. I Googled and didn't find anything new and definitive (this one is rather vague) about whether Windows Azure has some features against denial of service attacks. Do we need any special measures? What does Windows Azure offer to protect against denial of service attacks? 回答1: The Azure load balancer provides some protection, but the details of this are not published. 回答2: I reckon no

WCF Reliable session without transport security will not faulted event on time

佐手、 提交于 2019-12-04 12:01:46
问题 I have encountered a very interesting behavior of reliable session. I am using netTcp binding + duplex channel + reliable session. When I am trying to listen on channel.faulted , if there is security mode is set to transport , faulted event would fire immediately when client disconnects. However when I set binding's security mode to None or Message, faulted event no longer fires in the same situation. They will eventually get faulted half of ReciveTimeout on server side which I understands as

Two generals' agreement

旧城冷巷雨未停 提交于 2019-12-04 11:57:52
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 sends a message with sequence 1 When B receives seq 1 it continuously replies with sequence 2 At this point A receives seq 2 so it starts sending seq 3 ... My question. When can the two parties conclude that they can take the action ? Obviously I can't set a condition: " do it after receiving 10 messages " since the last sender won't have any