clustering

Session Clustering a Grails app in Tomcat

Has any one done it yet? I am having class loader problems de-serializing the grails session object. Here is the error: WARN net.spy.memcached.transcoders.SerializingTranscoder: Caught CNFE decoding 1168 bytes of data [exec] java.lang.ClassNotFoundException: com.myapp.User [exec] at org.codehaus.groovy.tools.RootLoad...

Is it true that MyISAM engine is more preferable than InnoDB when we are building clustered storage? Why if it is so?

I heard this today during interview for java developer. I had to list some advantages of MyISAM over InnoDB and why it's still being widely used. And they were waiting to hear from me the answer as the title of this question. As I understand from their own answer: MyISAM doesn't have foreign keys and DB can be easily clustered (one tabl...

What is wrong in sql2k8 cluster ?? SMO is failing to get Network instances in cluster Machine...??

Hi I have created SQL Server 2008 cluster(TestMachine1-->Name of Computer).and i have written a c# program to retrieve all the n/w instances in the lan. When i run the exe from TestMachine1(where SQLCluster is installed ) i am not getting the instances.when i Debug i am getting Null to the data table rows. the same exe when i run from...

Common Issues in Developing Cluster Aware non-web-based Enterprise Applications

I've to move a Windows based multi-threaded application (which uses global variables as well as an RDBMS for storage) to an NLB (i.e., network load balancer) cluster. The common architectural issues that immediately come to mind are Global variables (which are both read/ written) will have to be moved to a shared storage. What are the ...

MATLAB: help needed with Self-Organizing Map (SOM) clustering

I'm trying to cluster some images depending on the angles between body parts. The features extracted from each image are: angle1 : torso - torso angle2 : torso - upper left arm .. angle10: torso - lower right foot Therefore the input data is a matrix of size 1057x10, where 1057 stands for the number of images, and 10 stands for angle...

Determining the best k for a k nearest neighbour

I have need to do some cluster analysis on a set of 2 dimensional data (I may add extra dimensions along the way). The analysis itself will form part of the data being fed into a visualisation, rather than the inputs into another process (e.g. Radial Basis Function Networks). To this end, I'd like to find a set of clusters which prim...

Microsoft SQL 2005 active cluster node has 100% CPU load after clustering

Before moving to the SQL Server 2005 cluster we had on avarage 60% CPU load. After moving to active/passive cluster (with the exactly same hardware), the load on active node CPU is becoming 100% and after a while time-outs are comming from our web application. Any ideas what could be a couse? Additional info: OS: Windows Server 2008 Ent...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from Win32? A registry setting maybe? Thanks for any insight. Doug ...

log4j logging to DB (in a cluster)

Hi, I have a Java application wich runs on two machines in a cluster and they both log to one mysql database. Everything works fine, but I would like to have an additional field in the database wich represents the IP where the requests is coming from. I solved this by having two different log4j.properties files, but I guess there is a ni...

fuzzy c means in matlab

I am clustering some data in matlab using the builtin fuzzy c means algorithm which returns C the cluster centers, U fuzzy partition matrix. So I know what the cluster centers are from C but how can I figure out which cluster center each data point belongs to? using the fuzzy partition matrix or some other way? ...

Can I inject new jobs into the Quartz JDBCJobStore without clustering enabled?

I have several web-servers and need them to use Quartz. The clustering feature of Quartz would be ideal, but it requires that the servers clocks are in complete sync. They have a very scary warning about this: Never run clustering on separate machines, unless their clocks are synchronized using some form of time-sync service (daemon)...

Clustering text in Python

I need to cluster some text documents and have been researching various options. It looks like LingPipe can cluster plain text without prior conversion (to vector space etc), but it's the only tool I've seen that explicitly claims to work on strings. Are there any Python tools that can cluster text directly? If not, what's the best wa...

How do I determine k when using k-means clustering?

I've been studying about k-means clustering, and one thing that's not clear is how you choose the value of k. Is it just a matter of trial and error, or is there more to it? ...

Caching in a clustered environment

Caching your data in your application code is generally a good idea for many reasons. We have being doing this for quiet some time in our shared environment which includes ColdFusion, .NET, and PHP. However, because we share this environment with many other development groups in our organization, there is significantly more downtime then...

Reverse Engineering File Formats using AI Techniques

This is to extend the question: Tools to help reverse engineer binary file formats Are there any tools that are publicly available that uses clustering and/or data mining techniques to reverse engineer file formats? For example, with the tool you would have a collection of files that have the same format and the output of the tool wou...

mahout lucene document clustering howto?

I'm reading that i can create mahout vectors from a lucene index that can be used to apply the mahout clustering algorithms. http://cwiki.apache.org/confluence/display/MAHOUT/Creating+Vectors+from+Text I would like to apply K-means clustering algorithm in the documents in my Lucene index, but it is not clear how can i apply this algorit...

SQL Server 2008 Failover Cluster on Cluster Shared Volumes?

Can anyone think of a reason a SQL Server 2008 failover cluster couldn't use Cluster Shared Volumes for databases and log files? It seems that using CSVs should reduce failover time and reduce the complexity of the cluster group configurations (the physical drive resources wouldn't need to "failover" anymore). ...

Discovery mechanics API for Java-based app

Hi! I currently participate in a project where we/the applicaition need to be able to discover other instances of the application with the same application name running on a LAN (henceforth called Node). Prerequisites: All Nodes know their own IP address and TCP port number All Nodes have a name All Nodes have access to the LAN What I...

Handling database queries that fail due to a server failover

In an environment with a SQL Server failover cluster or mirror, how do you prefer to handle errors? It seems like there are two options: Fail the entire current client request, and let the user retry Catch the error in your DAL, and retry there Each approach has its pros and cons. Most shops I've worked with do #1, but many of them...

Maximum load of my application or server

How to know the maximum load of my application or server. I need to know this to decide whether my application need to be cluster or not. If we have to do a test to know, so we need a lot of concurrent client to hit the server. But we can't simulate this like in the real world, how to simulate concurrent millions of people..? Maybe we ...