CASPIAN JOURNAL
MANAGEMENT AND HIGH TECHNOLOGIES
MULTI-THREADED FRONTEND IMAGE PROCESSING USING WEB-WORKERS API
Read | Borodin Oleg V., Egunov Vitaly A. MULTI-THREADED FRONTEND IMAGE PROCESSING USING WEB-WORKERS API // Caspian journal : management and high technologies. — 2021. — №3. — pp. 33-46. |
Borodin Oleg V. - Volgograd State Technical University, oleg.borodin.1998@mail.ru
Egunov Vitaly A. - Volgograd State Technical University, vegunov@mail.ru
The paper considers the WebWorkers API, a tool that allows you to run user scripts in the background stream of the browser using the JavaScript language. Using the WebWorkers API brings multithreading to client web development that JavaScript does not support natively. The problems of asynchronous execution that can be encountered on the client side are considered. The main attention is paid to one of the types of workers - Dedicated Workers, their compatibility and applicability of use. As an example, there are several situations that demonstrate the advantages of using the technology. A computational experiment is considered in which several images are processed in parallel. The solution to this problem is analyzed both in a multithreaded implementation and without using the WebWorkers API, and the resulting acceleration is analyzed. An overview of existing solutions is provided, where, as an alternative to the WebWorkers API.