Questions tagged [cluster-computing]

A computer cluster is a set of connected systems that work together so that in many respects they can be viewed as a single system.

A computer cluster consists of a set of loosely connected computers that work together so that in many respects they can be viewed as a single system. Cluster management is centralized as opposed to a grid's non-central approach. (wikipedia).

5527 questions
24
votes
4 answers

What is the difference between a Cluster and MPP supercomputer architecture?

What is the difference between a Cluster and MPP supercomputer architecture?
Jimwalks
  • 315
  • 1
  • 2
  • 9
24
votes
3 answers

What are the scenarios for using mirroring, log shipping, replication and clustering in SQL Server

As far as i know SQL Server provides 4 techniques for better availability. I think these are the primary usage scenarios, in summary :- 1) Replication would be primarily suited for online-offline data synchronization scenarios (laptop , mobile…
Chakra
  • 2,525
  • 8
  • 43
  • 82
24
votes
4 answers

How to make two Kubernetes Services talk to each other?

Currently, I have working K8s API pods in a K8s service that connects to a K8s Redis service, with K8s pods of it's own. The problem is, I am using NodePort meaning BOTH are exposed to the public. I only want the API accessable to the public. The…
Will Parzybok
  • 2,764
  • 4
  • 12
  • 18
24
votes
1 answer

What is the dIfference between a distributed system and a clustered system?

Both are defined to be a set of computers that work together and give the end users a perception of a single computer running behind it. So what is the difference here?
batman
  • 5,022
  • 11
  • 52
  • 82
24
votes
3 answers

Clustering words based on Distance Matrix

My objective is to cluster words based on how similar they are with respect to a corpus of text documents. I have computed Jaccard Similarity between every pair of words. In other words, I have a sparse distance matrix available with me. Can anyone…
23
votes
1 answer

When is better using clustering or worker_threads?

I have been reading about multi-processing on NodeJS to get the best understanding and try to get a good performance in heavy environments with my code. Although I understand the basic purpose and concept for the different ways to take profit of the…
jaume
  • 493
  • 1
  • 7
  • 17
22
votes
3 answers

How to gracefully restart a NodeJS server?

Currently, my prod environment for a side project is a git repo, where I pull in some code, manually kill the server with Ctrl-C, and restart it manually. I realize there are a lot of things wrong with this. For instance, what if a user is still in…
user1159470
  • 289
  • 1
  • 2
  • 5
22
votes
5 answers

How to start node.js app with pm2 in cluster mode?

We are trying to start our app with pm2 0.12.8 on ubuntu 14.04 with octa core proccessor. The read me on the git hub has a very straight forward command for running node app in cluster mode. # Cluster mode $ pm2 start app.js -i 0 **# Will…
Hitu Bansal
  • 2,917
  • 10
  • 52
  • 87
21
votes
3 answers

How to run code in a debugging session from VS code on a remote using an interactive session?

I am using a cluster (similar to slurm but using condor) and I wanted to run my code using VS code (its debugger specially) and it's remote sync extension. I tried running it using my debugger in VS code but it didn't quite work as expected. First…
Charlie Parker
  • 5,884
  • 57
  • 198
  • 323
21
votes
1 answer

Bad local forwarding specification while connecting to cluster

I am connecting to a data cluster and following these steps: (I obviously have my .ssh/config file set up properly) Open the tunnel SSH into the cluster Try to bind a port to the server so I can use a Jupyter notebook through this command: ssh -N…
PL-RL
  • 427
  • 2
  • 7
  • 13
21
votes
4 answers

Share Sessions between tomcat instances (without using Sticky Sessions)

I'm going to have 3 Tomcat servers and a Load Balancer that dispatches the requests without using 'sticky sessions'. I want to share sessions' data between the servers and I'm thinking in persisting them in DB. I'd like to use memcached as a layer…
mickthompson
  • 5,442
  • 11
  • 47
  • 59
21
votes
3 answers

Elasticsearch in Docker container cluster

I want to run 2 instances of Elasticsearch on 2 different hosts. I have built my own Docker image based on Ubuntu 14.04 and the 1.3.2 version of Elasticsearch. If I run 2 ES containers on 1 host, each instance can see and communicate with the other;…
rival lucas
  • 211
  • 1
  • 2
  • 4
21
votes
6 answers

Tomcat's Clustering / Session Replication not replicating properly

I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase. Setup I have two identical tomcat servers in sibling directories running on different ports. I have httpd listening on two…
nvioli
  • 4,137
  • 3
  • 22
  • 38
20
votes
2 answers

Running TensorFlow on a Slurm Cluster?

I could get access to a computing cluster, specifically one node with two 12-Core CPUs, which is running with Slurm Workload Manager. I would like to run TensorFlow on that system but unfortunately I were not able to find any information about how…
daniel451
  • 10,626
  • 19
  • 67
  • 125
20
votes
4 answers

Spark - How to run a standalone cluster locally

Is there the possibility to run the Spark standalone cluster locally on just one machine (which is basically different from just developing jobs locally (i.e., local[*]))?. So far I am running 2 different VMs to build a cluster, what if I could run…
luke
  • 375
  • 1
  • 2
  • 12