Tagged Questions
1
vote
2answers
41 views
Compress file with zip algorithm in Java on multiple hosts
My problem is zip compression. I have to split file in parts and parallely compress them, then connect the parts in correct order and save as zip archive with one file. Splitting file and sending ...
0
votes
0answers
33 views
Arrays sort vs parallelSort performance comparision
I've downloaded java8-ea release and did a fast comparison between Array.sort and Arrays.parallelSort.
And this was the result:
I can understand that the praralleSort should perform at least as ...
0
votes
2answers
34 views
Java multiple processes running in parallel causing open file pointer exceptions
I have two Java programs that are scheduled to run one after the other. When they run in sequence without an overlap, there are no issues. But sometimes one of them gets prolonged a little while more ...
1
vote
4answers
70 views
How to add two arrays in Java in parallel manner?
For example, there are two huge (length 2-3 million) of the array float [] or double []. Need them very quickly add up. How to do it? Are there any libraries for this?
1
vote
0answers
39 views
non parallelizable loop in jomp and openmp
i have a next loop
for(int i=1;i<n;i++){
a[i]=(a[i]+a[i-1])/2;
}
obviously that this loop isn't parallelizable
because the result of each element depends on the element that before it
anyway
i ...
1
vote
1answer
43 views
Parallel webservices access in a Weld CDI environment
We're developing a Web Frontend using JSF 2 and Weld Cdi on Tomcat.
Now I've a problem executing multiple webservices in parallel to optimize the request time.
The user may select mutliple items form ...
-1
votes
0answers
33 views
parallel downloading in java android from two servers [duplicate]
I am working on an Android app which purpose is to download chunks(parts of a video file) from 2 servers, append them in order(into a main video file) after each one is downloaded and finally play ...
3
votes
2answers
173 views
Little hardcore: Do you know any parallel modified moving average algorithm?
Do you know any parallel modified moving average algorithm?
I want quickly calculate moving average but not with sequential algorithms. I want use parallel algorithms but I have still not found ...
0
votes
2answers
38 views
I hava five threads in java server, how should I do to make them run one task concurrently?
I write a web server in java, and need a task class to upload data to anther server, so I do this as below:
ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(5)
...
1
vote
1answer
48 views
Is it possible to implement efficiently a parallel mathematic computation in a 4 core Android device? (This has nothing to do with interfaces)
I know that for keeping a responsive interface in Android the heavy work must be completed in an independent thread. I understand well how to accomplish this (by using AsynTask..., etc), and this is ...
0
votes
0answers
21 views
Eclipse plugin to run test cases on a cluster of computers?
I want to run a eclipse program on multiple machines in a network in parallel.
Basically I have a test case which performs reconciliation of data. I want to perform this reconciliation over a huge set ...
1
vote
2answers
45 views
How to do a general reduce for all key/value pairs in hadoop
I am new to hadoop and I try to execute some map/reduce tasks in Java . I was wondering how can we execute a reduce operation for all the key/value pairs .
For example imagine we have for each day ...
-4
votes
0answers
45 views
Difference in time between parallel program vs sequential program? [closed]
I need a program to run in parallel and the same program but run sequential to see the difference in time between them
1
vote
1answer
63 views
Design of parallel computing application with java web/Java EE
My question is related to my other question from here.
I would like to know what will be the best approach (or any) to deal with very complicated calculation problems that can be run parallely in ...
0
votes
2answers
70 views
how to present a 2d array in an 1d array with a size of height or width
I have the problem that I want to do parallelization with Android Renderscript. For this I have to allocate my input data to renderscript and allocate them back. I want to do big matrix ...