Session

Computer Science and Communication Engineering

Description

A comparison of an application’s performance, when a program is executed through multiple threads and only a thread to complete a specified task by using Java techniques. In this paper will be expounded how a Java programmer can profit by technology facilities. How to create a program that executes in a parallel way, that solves independent tasks not one after the other, but all at the same time. The application that is developed(the environment used is Eclipse) aims to speed up the time needed to download images from a specific website, but it is flexible for downloading images also from different sites. We have generate downloading of 15 images from a website.It will count the time needed in the two cases, will compare them and lead to the conclusion of the increasement of time performance. It will reflect to a faster application for end user. It’s quite obvious that the multithread version of the application is faster. The timing performance is increased nearly by a factor of 6. This means, that building a nearly parallel functional application, is very important and will have a great feedback from the user. Saying all that, must be accepted that programming with threads is necessary, sometimes inevitable, but it needs caution, because complexity increases and new problems should be prevented.

Keywords:

Timing performance, process, recourse management, Java, single-threaded, multiple-threaded

Session Chair

Felix Breitenecker

Session Co-Chair

Edmond Jajaga

Proceedings Editor

Edmond Hajrizi

ISBN

978-9951-437-69-1

Location

Pristina, Kosovo

Start Date

27-10-2018 3:15 PM

End Date

27-10-2018 4:45 PM

DOI

10.33107/ubt-ic.2018.98

Share

COinS
 
Oct 27th, 3:15 PM Oct 27th, 4:45 PM

Multithreading technique improvement in processing Client Server communication by utilizing object oriented language

Pristina, Kosovo

A comparison of an application’s performance, when a program is executed through multiple threads and only a thread to complete a specified task by using Java techniques. In this paper will be expounded how a Java programmer can profit by technology facilities. How to create a program that executes in a parallel way, that solves independent tasks not one after the other, but all at the same time. The application that is developed(the environment used is Eclipse) aims to speed up the time needed to download images from a specific website, but it is flexible for downloading images also from different sites. We have generate downloading of 15 images from a website.It will count the time needed in the two cases, will compare them and lead to the conclusion of the increasement of time performance. It will reflect to a faster application for end user. It’s quite obvious that the multithread version of the application is faster. The timing performance is increased nearly by a factor of 6. This means, that building a nearly parallel functional application, is very important and will have a great feedback from the user. Saying all that, must be accepted that programming with threads is necessary, sometimes inevitable, but it needs caution, because complexity increases and new problems should be prevented.