Java Script Data Transformation Library using Fork Join Pool and Web Workers Technology
Transforming large amounts of data takes a lot of processing time so that the optimization technique is required. One way that can be used to perform optimization is multithreading. Nowadays, processor is proliferating. The average processor in community is multi-core processor that can do parallel processing. Prior to the emergence of Web Workers, JavaScript is a poor programming language for parallel programming. The emergence of Web Workers allows JavaScript to do a better job in parallel programming. Fork Join Pool is a method that implements the Divide and Conquers algorithm, so it is suitable for the use in multithreading. This data transformation library was created by implementing the ForkJoinPool method using Web Workers technology in JavaScript. This program is written in JavaScript and HTML language. Based on results of testing phase that has been done, it is proven that ForkJoinPool method can be implemented using Web Workers technology in JavaScript as a data transformation library. In addition, it can be concluded that the data transformation library usage affects the speed of data transformation which depends on the data transformation complexity. The higher the complexity of data transformation performed, the effectiveness in the use of data transformation libraries will increase.