failover

Cluster Failover

无人久伴 提交于 2019-11-29 15:44:21
I know I'm asking something very obvious about cluster failover. I read on redis.io that, if any master cluster node fails it will affect to other master nodes until slave come to take in charge. In my structure, I'm not defining any slave and just working with 3 masters. I'm thinking to modify the redis-trib.rb file, which will remove the defected server and will start the cluster with other 2 nodes. I'm confused about a couple of things, 1) Resharding Could not possible until failed server goes live 2) Minimum 3 node limitation for create cluster As per bit understanding, redis-trib.rb not

A use case for a manual GC invocation?

拈花ヽ惹草 提交于 2019-11-28 14:37:47
I've read why is it bad practice to call System.gc() , and many others, e.g. this one describing a really disastrous misuse of System.gc() . However, there are cases when the GC takes too long and avoiding long pauses, e.g., by avoiding garbage is not exactly trivial and makes the code harder to maintain. IMHO calling GC manually is fine in the following common scenario: There are multiple interchangeable webserves with a failover in front of them. Every server uses a few gigabytes of heap and the STW pauses take much longer than an average request. The failover has no idea when GC is going to

Cluster Failover

十年热恋 提交于 2019-11-28 09:45:37
问题 I know I'm asking something very obvious about cluster failover. I read on redis.io that, if any master cluster node fails it will affect to other master nodes until slave come to take in charge. In my structure, I'm not defining any slave and just working with 3 masters. I'm thinking to modify the redis-trib.rb file, which will remove the defected server and will start the cluster with other 2 nodes. I'm confused about a couple of things, 1) Resharding Could not possible until failed server

How does the Azure Web Apps architecture look like?

我与影子孤独终老i 提交于 2019-11-28 01:26:34
I've had a few outages of 10 to 15 minutes, because apparently Microsoft had a 'blip' on their storages. They told me that it is because of a shared file system between the instances (making it a single point of failure?) I didn't understand it and asked how file share is involved , because I would assume a really dumb stateless IIS app that communicates with SQL Azure for it's data. I would assume the situation below: This is their reply to my question (I didn't include the drawing) The file shares are not necessarily for your web app to communicate to another resources but they are on our

A use case for a manual GC invocation?

邮差的信 提交于 2019-11-27 09:01:41
问题 I've read why is it bad practice to call System.gc(), and many others, e.g. this one describing a really disastrous misuse of System.gc() . However, there are cases when the GC takes too long and avoiding long pauses, e.g., by avoiding garbage is not exactly trivial and makes the code harder to maintain. IMHO calling GC manually is fine in the following common scenario: There are multiple interchangeable webserves with a failover in front of them. Every server uses a few gigabytes of heap and

What is a database transaction?

你说的曾经没有我的故事 提交于 2019-11-27 05:53:37
Can someone provide a straightforward (but not simpler than possible) explanation of a transaction as applied to computing (even if copied from Wikipedia)? Vilx- A transaction is a unit of work that you want to treat as "a whole." It has to either happen in full or not at all. A classical example is transferring money from one bank account to another. To do that you have first to withdraw the amount from the source account, and then deposit it to the destination account. The operation has to succeed in full. If you stop halfway, the money will be lost, and that is Very Bad. In modern databases

How does the Azure Web Apps architecture look like?

℡╲_俬逩灬. 提交于 2019-11-26 21:56:46
问题 I've had a few outages of 10 to 15 minutes, because apparently Microsoft had a 'blip' on their storages. They told me that it is because of a shared file system between the instances (making it a single point of failure?) I didn't understand it and asked how file share is involved , because I would assume a really dumb stateless IIS app that communicates with SQL Azure for it's data. I would assume the situation below: This is their reply to my question (I didn't include the drawing) The file

What is a database transaction?

拈花ヽ惹草 提交于 2019-11-26 10:08:16
问题 Can someone provide a straightforward (but not simpler than possible) explanation of a transaction as applied to computing (even if copied from Wikipedia)? 回答1: A transaction is a unit of work that you want to treat as "a whole." It has to either happen in full or not at all. A classical example is transferring money from one bank account to another. To do that you have first to withdraw the amount from the source account, and then deposit it to the destination account. The operation has to

How does Hadoop Namenode failover process works?

半腔热情 提交于 2019-11-26 03:56:30
问题 Hadoop defintive guide says - Each Namenode runs a lightweight failover controller process whose job it is to monitor its Namenode for failures (using a simple heartbeat mechanism) and trigger a failover should a namenode fail. How come a namenode can run something to detect its own failure? Who sends heartbeat to whom? Where this process runs? How it detects namenode failure? To whom it notify for the transition? 回答1: From Apache docs The ZKFailoverController (ZKFC) is a new component which