distributed

Connecting to an RMI object without registry

I think I need to connect to a remote RMI object without going through the registry, but I don't know how. My situation is this: I'm implementing a simple job distribution service which consists of one distributor and multiple workers. The distributor has a registered RMI object to which clients connect to send jobs, and workers connec...

JavaScript distributed computing project

I made a website that does absolutely nothing, and I've proven to myself that people like to stay there - I've already logged 11+ hours worth of cumulative time on the page. My question is whether it would be possible (or practical) to use the website as a distributed computing site. My first impulse was to find out if there were any J...

JPA in distributed Java EE configuration

Hello, I'm developing a JEE application to run on Glassfish: Database (javaDB, MS SQL, MySQL or Oracle) EJB layer with JPA (Toplink essentials - from Glassfish) for database access JSF/Icefaces based web UI accessing the EJB layer The application will have a lot of concurrent web client, so I want to run it on different physi...

Hudson CI node distribution / prebuild task in multi-configuration project

Hello, i'm currently setting up a small grid of hudson nodes to utilize them for distributed testing different runtime configurations of our products. Is there a way to trigger the startup of a node when a job is invoked? The build phase of the 'multi-configuration project' that i use already wants to run within the active node. Perh...

Slow Complex Builds & Hudson vs. Electric Cloud

Is hudson the right tool for complex C++ builds? I have a C++ build that takes about 4 hours. Compile and packaging take about 1/2 the time and testing consumes the other half. Presently, we are using a home grown system but there's some move to go to hudson since we use it for all of our java builds. My problem is that continuous in...

memcached-like key/value cache that uses both RAM and disk

I have a java web app that makes back-end use of a third-party web service. Calling the web service creates latency, which is important to avoid whenever possible. Also, my app is only allowed to make a certain number of web service calls per day, so it's best not to make a web service call unless absolutely needed. My current solutio...

what is meant by distributed environment related to DBMS?

i know the general and the dictionary meaning of it, what does it mean when it said with respect to website and database designing? like let say make this and that for distributed environment, what events, what criteria should be used, coding method guidelines please thank you if this question is not in accordance to the rules ...

What happens when Dan change text into 'aB' and John to 'abc'?

Imagine a very simple textdocument (text.txt) with as content just the letters 'ab'. This file has been check-in in a canonical (remote) repository. Two people have a local close of this repository and thus this file and start editing it. Dan changes the content to 'aB' (note the capital B) and John edits his version to 'abc'. Dan does ...

Calculating the probability of system failure in a distributed network

I am trying to build a mathematical model of the availability of a file in a distributed file-system. I posted this question at MathOverflow but this might as well be classified as a CS-question so I give it a shot here as well. The system works like this: a node stores a file (encoed using erasure codes) at r*b remotes nodes, where r ...

Book Request: Distributed algorithms

Hey guys. I wanna learn sth about distributed algorithms, so I'm looking for any recommendation for books. I'm more interested in theoretical books, because implementation is just the matter of taste (I will use probably erlang (or c#)). But on the other hand i don't want raw, mathematican analyse of algorithms. Just the idea how sth wor...

Emulating network disconnects to locally test distributed app partitioning

I have several instances of a distributed application running on the localhost; every instance communicate with others through certain ports, all instances together make an ensemble. (I'm actually talking about ZooKeeper, running on Linux) Now I want to write unit tests to emulate ensemble partitioning. E.g. I have 5 instances, and I wa...

Need a storage solution that is scalable, distributed and can read data extremely fast and works with .NET

I currently have a data solution in RDBMS. The load on the server will grow by 10x, and I do not believe it will scale. I believe what I need is a data store that can provide fault tolerant, scalable and that can retrieve data extremely fast. The Stats Records: 200 million Total Data Size (not including indexes): 381 GB ...

Library for task distribution in MPI (or other)?

I'm looking to implement 'branch and bound' over a cluster (like Amazon's say), as I want it to be horizontally scalable, not limited to a single CPU. There's a paper "Task Pool Teams: A Hybrid Programming Environment for Irregular Algorithms on SMP Clusters" by Judith Hippold and Gudula Runger. It's basically a bottom-up, task-stealing ...

JMeter - Loopback address error when launching jmeter-server on Linux.

Hey all, I'm trying to set up a distributed load testing environment using JMeter. I need to set up the remote clients using something portable like a Linux Live CD, but whenever I attempt to launch jmeter-server in Linux, I receive the following error... Created remote object: UnicastServerRef [liveRef: [endpoint:[127.0.0.1:49018](lo...

Testing distributed system

Are there any java-based frameworks for testing distributed systems with JUnit or TestNG? For instance I have a shared resource R and two clients (CA, CB) each connected to dedicated server (SA, SB). R can be used exclusively (one client at a time). I want to make a test that checks simple scenario: SA starts up. SB starts up. CA log...

Parallelising Cholesky decomposition for use in training a machine learning algorithm

I am trying to work out if I can parallelise the training aspect of a machine learning algorithm. The computationally expensive part of the training involves Cholesky decomposing a positive-definite matrix (covariance matrix). I'll try and frame the question purely in terms of the matrix algebra. Let me know if you need any more info. L...

MapReduce Distributed Cache

Hi, I am adding a file to distributed cache of Hadoop using Configuration cng=new Configuration(); JobConf conf = new JobConf(cng, Driver.class); DistributedCache.addCacheFile(new Path("DCache/Orders.txt").toUri(), cng); where DCache/Orders.txt is the file in HDFS. When I try to retrieve this file from the cache in c...

Security in distributed web applications system

I have a set of three web application systems - A, B & C that are used to service my application. The A system has the core business logic and also stores user/account data for the entire application. The systems B & C are required to provide additional functionality to the application. I was thinking of a security mechanism where a us...

why is Ricart-Agrawala algorithm deadlock free?

Can someone explain why this algorithm is free from deadlock specifically? thanks ...

Web client acting as a server and client.

Is it possible a web client (java-script, flash, etc) act like server too? Is there some protocol? ...