cluster-computing

What is socket, core, threads, CPU? [closed]

心不动则不痛 提交于 2019-12-04 14:20:57
问题 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 2 years ago . I am currently volunteering to learn about linux servers and also I am interested in learning about cluster computing techniques. In this lab, they have a small cluster with one head node and two compute nodes. When I tried the lscpu command on head node, compute node1,node2. Click the link to view the details.

WebLogic load balancing

我的梦境 提交于 2019-12-04 14:01:10
问题 I'm currently developing a project supported on a WebLogic clustered environment. I've successfully set up the cluster, but now I want a load-balancing solution (currently, only for testing purposes, I'm using WebLogic's HttpClusterServlet with round-robin load-balancing). Is there any documentation that gives a clear comparison (with pros and cons) of the various ways of providing load-balancing for WebLogic? These are the main topics I want to cover: Performance (normal and on failover );

Setting up RabbitMQ cluster on Windows servers

本小妞迷上赌 提交于 2019-12-04 13:57:40
I am trying to set up a RabbitMQ cluster on Windows servers, and this requires using shared Erlang cookie file. According to the documentation, all I need to do is to ensure that the root directories on different machines contain the same .erlang.cookie file. So what I did is found these files on both machines and overwrote them with the same shared version. After that all rabbitmqctl commands failed on the machine with new file version with "unable to connect to node..." error message. I tried to restart RabbitMQ Windows service, but still rabbitmqctl complained. I even reinstalled RabbitMQ

Spring Singleton in Clustered Environment

强颜欢笑 提交于 2019-12-04 13:43:32
问题 As discussed in this post, it is not suitable to use singleton in clustered environment (because of multiple singleton objects in different JVMs), this must be true for singletons created by Spring framework. If that's correct, then we have to be a lot careful using Spring framework to use singleton classes. Can you please tell if this is correct understanding? 回答1: This is not necessarily the case. It is a problem to use singletons across separate JVMs if they share meaningful state . For

Is there a useDirtyFlag option for Tomcat 6 cluster configuration?

百般思念 提交于 2019-12-04 11:59:08
In Tomcat 5.0.x you had the ability to set useDirtyFlag="false" to force replication of the session after every request rather than checking for set/removeAttribute calls. <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" managerClassName="org.apache.catalina.cluster.session.SimpleTcpReplicationManager" expireSessionsOnShutdown="false" **useDirtyFlag="false"** doClusterLog="true" clusterLogName="clusterLog"> ... The comments in the server.xml stated this may be used to make the following work: <% HashMap map = (HashMap)session.getAttribute("map"); map.put("key","value"); %>

Difference between pool and cluster

北城以北 提交于 2019-12-04 10:48:55
问题 From a purest perspective, they kind of feel like identical concepts. Both manage sets of reosurces/nodes and control their access from or by external components. With a pool, you borrow and return these resources/nodes to and from the pool. With a cluster, you have a load balancer sitting in front of the resources/nodes and you hit the load balancer with a request. In both cases you have absolutely no control over which resource/node your request/borrow gets mapped to. So I pose the question

Creating a private MSMQ queue in a Microsoft Cluster via a script

前提是你 提交于 2019-12-04 10:01:15
We are migrating to Windows 2008 R2 Standard and will be using a Microsoft Clustering (active-passive) configuration. Our application is heavily dependent on MSMQ private queues and our install creates well over 100 private queues using the following C# code. MessageQueue.Create(".\private$\myqueue", false); Since the install is not running inside the context of the cluster, the queues are created on the local node and not in the cluster. We then tried changing the code to: MessageQueue.Create("MYCLUSTERNAME\private$\myqueue", false); However, you can't create private queues on a different

R, issue with a Hierarchical clustering after a Multiple correspondence analysis

血红的双手。 提交于 2019-12-04 08:19:12
I want to cluster a dataset (600000 observations), and for each cluster I want to get the principal components. My vectors are composed by one email and by 30 qualitative variables. Each quantitative variable has 4 classes: 0,1,2 and 3. So first thing I'm doing is to load the library FactoMineR and to load my data: library(FactoMineR) mydata = read.csv("/home/tom/Desktop/ACM/acm.csv") Then I'm setting my variables as qualitative (I'm excluding the variable 'email' though): for(n in 1:length(mydata)){mydata[[n]] <- factor(mydata[[n]])} I'm removing the emails from my vectors: mydata2 = mydata[2

Does Apache Mesos recognize GPU cores?

佐手、 提交于 2019-12-04 07:58:08
In slide 25 of this talk by Twitter's Head of Open Source office, the presenter says that Mesos allows one to track and manage even GPU (I assume he meant GPGPU) resources. But I cant find any information on this anywhere else. Can someone please help? Besides Mesos, are there other cluster managers that support GPGPU? Mesos does not yet provide direct support for (GP)GPUs, but does support custom resource types. If you specify --resources="gpu(*):8" when starting the mesos-slave, then this will become part of the resource offer to frameworks, which can launch tasks that claim to use these

How to cluster Node.js app in multiple machines

筅森魡賤 提交于 2019-12-04 07:54:25
问题 I am using Express js and Node-cluster for taking the advantage of clustering I am also using PM2 for process and memory management. For a single machine, it is working fine, but my machine having 2 cores and I want to make available more cores. So I decided to join 3 more machines and now all 4 machines are connected using LAN. I am able to access the other machines using IP address in web browser also. Now I want to connect all the machines and want to share their cores so that I will