[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

how to partition data between rmi servers?

Posted on 2004-03-20
3
Medium Priority
?
192 Views
Last Modified: 2010-03-31
Hi!

Basically the rmiClient has a list of unsorted integers
say...
3
56
1
2
4
3

This is then sent to 1 to 4 RmiServers depending on the size of data where these rservers take care of both partitioning the data and the merge sorting of the integers and send it back to the rmiClient....
The problem is I dont want to do the patitioning on the client as that would be easy.....so how do I partition the data
on the Rmiservers correctly using the parallel processing...I should maybe mention that the rmiServers are each running on a seperate thread.
I think I should use some sort of recursion just by instinct....but not sure... can somebody help me with this...

Cheers
0
Comment
Question by:scream_18m
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10645426
I just need some guidence on the actual approch no code...required
cheers
0
 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10645431
Is that what you mean?..
0
 
LVL 2

Accepted Solution

by:
Thunder_scream earned 200 total points
ID: 10645458
Try the following...

   send your data to one Rmiserver and let him decide weather he needs to partition or not ...if the data is big then recursivly extract
  a partiton and open another rmiserver....sort on both servers..and recursively close the servers...

e.g.   you have say
3
56
1
2
4
3

the first Rmiserver takes the data , all of it..
and suppose it knows that it can not handle more than 3 numbers
it takes the first three numbers and opens another server
they both mergesort ..and merge their result
and the first rmiserver sends back the result .

try this though its not quite parallel processing...
cheers
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question