Questions tagged [cluster]
56 questions
20
votes
3 answers
Efficient graph clustering algorithm
I'm looking for an efficient algorithm to find clusters on a large graph (It has approximately 5000 vertices and 10000 edges).
So far I am using the Girvan–Newman algorithm implemented in the JUNG java library but it is quite slow when I try to…

mariosangiorgio
- 322
- 1
- 2
- 8
19
votes
5 answers
Algorithm to Find the Aggregate Mass of "Granola Bar"-Like Structures?
I'm a planetary science researcher and one project I'm working on is N-body simulations of Saturn's rings. The goal of this particular study is to watch as particles clump together under their own self-gravity and measure the aggregate mass of the…

Stuart Robbins
- 291
- 1
- 5
15
votes
3 answers
How to design highly scalable web services in Java?
I am creating some Web Services that would have 2000 concurrent users. The services are offered for free and are hence expected to get a large user base. In the future it may be required to scale up to 50,000 users.
There are already a few other…

Kshitiz Sharma
- 817
- 4
- 10
- 14
8
votes
2 answers
How does Elastic Search approach the problem of distributed membership and consensus?
I already understand that Elastic Search is supposed to be deployed in a distributed topology, in that you can have multiple nodes for a cluster of ES instances.
I like the API, and it looks promising. But I wonder how Elastic Search solves some…

Alan
- 201
- 2
- 8
8
votes
1 answer
What is the difference between a server and a mainframe?
To me, it seems as though "mainframe" is a somewhat dated term; is it simply an older synonym of "server," or does it server a purpose more similar to a cluster/supercomputer?

Jules
- 361
- 1
- 3
- 13
7
votes
1 answer
Nodejs cluster: are there any downsides?
I was reading a litte about clusters in nodejs, and in all cases it was trivial to clusterize the application. In fact, it was so easy that I began to wonder: are there any cases that I shoudn't use clustering?

julianomontini
- 183
- 6
6
votes
2 answers
Clustering Strings on the basis of Common Substrings
I have around 10000+ strings and have to identify and group all the strings which looks similar(I base the similarity on the number of common words between any two give strings). The more number of common words, more similar the strings would be.…

pk188
- 61
- 1
- 2
5
votes
1 answer
Grouping numbers to minimize group-means
I need to find a way or an algorithm that groups members of a given data set (of positive integers) so that the difference between group means is minimized (not maximized, as usual).
There are two constraints:
The number of groups should not…

samarasa
- 153
- 5
5
votes
2 answers
How to implement a lightweight clustered architecture for a distributed application
I currently have a distributed application that runs on multiple embedded PCs. The whole application is composed of one master server and several nodes. Each node is an embedded PC that runs Windows 7 Embedded and has a dual core CPU with 2GB of…

Alex
- 3,228
- 1
- 22
- 25
4
votes
1 answer
Clustering of points that minimizes overall average distance to given center
Given a situation like this:
where the position of the triangles is given (it does not need to be calculated by an algorithm). I would like to find clusters of circles around the triangles. Each cluster should contain a given number of circles (in…

Carlos Rodriguez
- 193
- 4
4
votes
2 answers
Master-Slave Cluster - How to make sure the master is really dead for the slave to take over?
I have a in-house messaging system, similar to a message broker. We have one master message broker and one slave message broker. A message broker just receives messages and sends them to all nodes. The slave is acting as a node, receiving messages…

Pika Sucar
- 49
- 5
4
votes
4 answers
Failover for High Frequency Jobs
I have a job that runs at a fairly high frequency (~1x every second).
This job needs to be executed constantly as long as the web app is running. However, I really only want 1 instance of the job running at a time.
Currently, I just fire up a thread…

Jerod Venema
- 141
- 5
4
votes
0 answers
How to deal with runtime changes to tenant-location in a clustered, multitenant web application with app-managed datasources?
I have a Java web application that supports multi-tenancy to keep customer data
separate.
Connection pools to each customer database are created at runtime. The
details of each customer shard (jdbc url, credentials, etc) are stored in a…

Jlaud
- 41
- 1
4
votes
1 answer
Custom .NET apps and clustering
So for a clustered environment - how would this work with your apps?
What about your own custom .NET apps? Would there be a special way to develop them? I know that you could create a simple Hello world app, and cluster that, but that wouldn't be…

Ahmed ilyas
- 143
- 1
- 6
3
votes
1 answer
How to Define the Bandwidth in Mean Shift Clustering?
I am making a program using Java todo colo quantization using mean shift clustering algorithm and the image is RGB with resolution of 512x512. I want to reduce the image file size by reducing the total color in the input image.
I have a problem with…

user10057710
- 73
- 1
- 3