failover

RabbitMQ Client connect to several hosts

我们两清 提交于 2019-12-08 02:53:41
问题 The main goal to have several hosts of RabbiMQ servers (clustering) Are there any best practices to implement having several RabbitMQ hosts, and reconnect to the next one in case previous connection closed. Tutorial says that: A client can connect as normal to any node within a cluster. If that node should fail, and the rest of the cluster survives, then the client should notice the closed connection, and should be able to reconnect to some surviving member of the cluster. Generally, it's not

Distributed Cache/Session where should I turn? [closed]

大憨熊 提交于 2019-12-07 19:10:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am currently looking at a distributed cache solution. If money was not an issue, which would you recommend? www.scaleoutsoftware.com

FOSS ASP.Net Session Replication Solution?

◇◆丶佛笑我妖孽 提交于 2019-12-07 04:21:46
问题 I've been searching (with little success) for a free/opensource session clustering and replication solution for asp.net. I've run across the usual suspects (indexus sharedcache, memcached), however, each has some limitations. Indexus - Very immature, stubbed session interface implementation. Its otherwise a great caching solution, though. Memcached - Little replication/failover support without going to a db backend. Several SF.Net projects - All aborted in the early stages... nothing that

RabbitMQ Client connect to several hosts

浪子不回头ぞ 提交于 2019-12-06 15:53:50
The main goal to have several hosts of RabbiMQ servers ( clustering ) Are there any best practices to implement having several RabbitMQ hosts, and reconnect to the next one in case previous connection closed. Tutorial says that: A client can connect as normal to any node within a cluster. If that node should fail, and the rest of the cluster survives, then the client should notice the closed connection, and should be able to reconnect to some surviving member of the cluster. Generally, it's not advisable to bake in node hostnames or IP addresses into client applications How it can be

How do I get pcp to automatically attach nodes to postgres pgpool?

僤鯓⒐⒋嵵緔 提交于 2019-12-06 13:39:19
问题 I'm using postgres 9.4.9, pgpool 3.5.4 on centos 6.8. I'm having a major hard time getting pgpool to automatically detect when nodes are up (it often detects the first node but rarely detects the secondary) but if I use pcp_attach_node to tell it what nodes are up, then everything is hunky dory. So I figured until I could properly sort the issue out, I would write a little script to check the status of the nodes and attach them as appropriate, but I'm having trouble with the password prompt.

CTDB Samba failover not highly available

大城市里の小女人 提交于 2019-12-06 12:21:36
问题 My Setup 3 nodes running ceph + cephfs 2 of these nodes running CTDB & Samba 1 client (not one of the 3 servers) It is a Lab setup, so only one nic per server=node, one subnet as well as all Ceph components plus Samba on the same servers. I'm aware, that this is not the way to go. The problem I want to host a clustered Samba file share on top of Ceph with ctdb. I followed the CTDB documentation (https://wiki.samba.org/index.php/CTDB_and_Clustered_Samba#Configuring_Clusters_with_CTDB) and

How to set a queue producer timeout?

好久不见. 提交于 2019-12-06 11:23:23
问题 I am testing WebLogic 10.3.1 JMS, but there has a problem. My Testing step: Start WebLogic Server Start JMS Client Client send a object to WebLogic JMS and server received the object. Stop WebLogic Server Send another object to WebLogic JMS. What I expect is a exception come out, but there have not anything appear and program hanged. Program stopped at: sender.send(objMsg); I have add some timeout settings, but still not working: ((WLProducerImpl) sender).setSendTimeout(1000); ((WLConnection)

Java outgoing TCP connection failover based on multiple DNS results

为君一笑 提交于 2019-12-06 04:34:55
问题 If I make a connection using new Socket("unit.domain.com", 100) and the unit.domain.com DNS record has multiple IP addresses in the A record.. In the event of a failed connection, Does Java automatically connect to one of the other addresses in the list like the browser does? or does that have to be implemented manually? 回答1: No! Creating a socket via new Socket(String, int) results in a resolving like that addr = InetAddress.getByName(hostname); which is a shortcut for return InetAddress

Failover loading of .js from sequence of servers?

别说谁变了你拦得住时间么 提交于 2019-12-06 04:10:14
问题 Let's imagine a web page page needing to load a javascript file (i.e. my.js ). Is it possible to organize the following fail-over loading sequence? If server A is up, load my.js from server A. Else, if server B is up, load my.js from server B. Else, if server C is up, load my.js from server C. ... If yes, how to proceed? Thanks. P.S.: I have just found yepnopejs. Does anyone recommend it? 回答1: I have seen this technique to allow a fallback if a CDN is down. If your js file has some testable

Distributed Cache/Session where should I turn? [closed]

穿精又带淫゛_ 提交于 2019-12-06 01:49:09
I am currently looking at a distributed cache solution. If money was not an issue, which would you recommend? www.scaleoutsoftware.com ncache memcacheddotnet MS Velocity Out of your selection I've only ever attempted to use memcached, and even then it wasn't the C#/.NET libraries. However memcached technology is fairly well proven, just look at the sites that use it : ...The system is used by several very large, well-known sites including YouTube , LiveJournal , Slashdot , Wikipedia , SourceForge , ShowClix, GameFAQs, Facebook , Digg , Twitter , Fotolog, BoardGameGeek, NYTimes.com, deviantART,